@sentio/api 1.0.2-rc.8 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -13
- package/dist/src/client.gen.d.ts +12 -0
- package/dist/src/client.gen.js +9 -0
- package/dist/src/client.gen.js.map +1 -0
- package/dist/src/index.d.ts +3 -3
- package/dist/src/index.js +20 -5
- package/dist/src/index.js.map +1 -1
- package/dist/src/sdk.gen.d.ts +305 -0
- package/dist/src/sdk.gen.js +1281 -0
- package/dist/src/sdk.gen.js.map +1 -0
- package/dist/src/types.gen.d.ts +2990 -0
- package/dist/src/types.gen.js +4 -0
- package/dist/src/types.gen.js.map +1 -0
- package/package.json +4 -2
- package/src/client.gen.ts +18 -0
- package/src/index.ts +4 -5
- package/src/sdk.gen.ts +1351 -0
- package/src/types.gen.ts +3458 -0
- package/dist/src/apis/DataApi.d.ts +0 -197
- package/dist/src/apis/DataApi.js +0 -478
- package/dist/src/apis/DataApi.js.map +0 -1
- package/dist/src/apis/DebugAndSimulationApi.d.ts +0 -130
- package/dist/src/apis/DebugAndSimulationApi.js +0 -310
- package/dist/src/apis/DebugAndSimulationApi.js.map +0 -1
- package/dist/src/apis/WebApi.d.ts +0 -134
- package/dist/src/apis/WebApi.js +0 -317
- package/dist/src/apis/WebApi.js.map +0 -1
- package/dist/src/apis/index.d.ts +0 -3
- package/dist/src/apis/index.js +0 -6
- package/dist/src/apis/index.js.map +0 -1
- package/dist/src/models/AnalyticServiceAnalyticServiceExecuteSQLBody.d.ts +0 -63
- package/dist/src/models/AnalyticServiceAnalyticServiceExecuteSQLBody.js +0 -51
- package/dist/src/models/AnalyticServiceAnalyticServiceExecuteSQLBody.js.map +0 -1
- package/dist/src/models/AnalyticServiceLogQueryRequestFilter.d.ts +0 -43
- package/dist/src/models/AnalyticServiceLogQueryRequestFilter.js +0 -43
- package/dist/src/models/AnalyticServiceLogQueryRequestFilter.js.map +0 -1
- package/dist/src/models/AnalyticServiceLogQueryRequestSort.d.ts +0 -37
- package/dist/src/models/AnalyticServiceLogQueryRequestSort.js +0 -41
- package/dist/src/models/AnalyticServiceLogQueryRequestSort.js.map +0 -1
- package/dist/src/models/AnalyticServiceLogQueryResponse.d.ts +0 -45
- package/dist/src/models/AnalyticServiceLogQueryResponse.js +0 -45
- package/dist/src/models/AnalyticServiceLogQueryResponse.js.map +0 -1
- package/dist/src/models/AnalyticServiceSQLQuery.d.ts +0 -37
- package/dist/src/models/AnalyticServiceSQLQuery.js +0 -41
- package/dist/src/models/AnalyticServiceSQLQuery.js.map +0 -1
- package/dist/src/models/AnalyticServiceSearchServiceQueryLogBody.d.ts +0 -83
- package/dist/src/models/AnalyticServiceSearchServiceQueryLogBody.js +0 -59
- package/dist/src/models/AnalyticServiceSearchServiceQueryLogBody.js.map +0 -1
- package/dist/src/models/AnalyticServiceSyncExecuteSQLResponse.d.ts +0 -51
- package/dist/src/models/AnalyticServiceSyncExecuteSQLResponse.js +0 -47
- package/dist/src/models/AnalyticServiceSyncExecuteSQLResponse.js.map +0 -1
- package/dist/src/models/CommonAggregate.d.ts +0 -38
- package/dist/src/models/CommonAggregate.js +0 -42
- package/dist/src/models/CommonAggregate.js.map +0 -1
- package/dist/src/models/CommonAggregateAggregateOps.d.ts +0 -27
- package/dist/src/models/CommonAggregateAggregateOps.js +0 -37
- package/dist/src/models/CommonAggregateAggregateOps.js.map +0 -1
- package/dist/src/models/CommonAny.d.ts +0 -68
- package/dist/src/models/CommonAny.js +0 -52
- package/dist/src/models/CommonAny.js.map +0 -1
- package/dist/src/models/CommonArgument.d.ts +0 -56
- package/dist/src/models/CommonArgument.js +0 -48
- package/dist/src/models/CommonArgument.js.map +0 -1
- package/dist/src/models/CommonCachePolicy.d.ts +0 -49
- package/dist/src/models/CommonCachePolicy.js +0 -45
- package/dist/src/models/CommonCachePolicy.js.map +0 -1
- package/dist/src/models/CommonChannel.d.ts +0 -106
- package/dist/src/models/CommonChannel.js +0 -64
- package/dist/src/models/CommonChannel.js.map +0 -1
- package/dist/src/models/CommonChannelType.d.ts +0 -29
- package/dist/src/models/CommonChannelType.js +0 -39
- package/dist/src/models/CommonChannelType.js.map +0 -1
- package/dist/src/models/CommonCohortsFilter.d.ts +0 -58
- package/dist/src/models/CommonCohortsFilter.js +0 -50
- package/dist/src/models/CommonCohortsFilter.js.map +0 -1
- package/dist/src/models/CommonCohortsFilterAggregation.d.ts +0 -52
- package/dist/src/models/CommonCohortsFilterAggregation.js +0 -48
- package/dist/src/models/CommonCohortsFilterAggregation.js.map +0 -1
- package/dist/src/models/CommonCohortsFilterAggregationAggregateProperties.d.ts +0 -38
- package/dist/src/models/CommonCohortsFilterAggregationAggregateProperties.js +0 -42
- package/dist/src/models/CommonCohortsFilterAggregationAggregateProperties.js.map +0 -1
- package/dist/src/models/CommonCohortsFilterAggregationAggregatePropertiesAggregationType.d.ts +0 -30
- package/dist/src/models/CommonCohortsFilterAggregationAggregatePropertiesAggregationType.js +0 -40
- package/dist/src/models/CommonCohortsFilterAggregationAggregatePropertiesAggregationType.js.map +0 -1
- package/dist/src/models/CommonCohortsFilterAggregationOperatorType.d.ts +0 -30
- package/dist/src/models/CommonCohortsFilterAggregationOperatorType.js +0 -40
- package/dist/src/models/CommonCohortsFilterAggregationOperatorType.js.map +0 -1
- package/dist/src/models/CommonCohortsGroup.d.ts +0 -39
- package/dist/src/models/CommonCohortsGroup.js +0 -43
- package/dist/src/models/CommonCohortsGroup.js.map +0 -1
- package/dist/src/models/CommonCohortsQuery.d.ts +0 -51
- package/dist/src/models/CommonCohortsQuery.js +0 -47
- package/dist/src/models/CommonCohortsQuery.js.map +0 -1
- package/dist/src/models/CommonCoinID.d.ts +0 -38
- package/dist/src/models/CommonCoinID.js +0 -42
- package/dist/src/models/CommonCoinID.js.map +0 -1
- package/dist/src/models/CommonCoinIDAddressIdentifier.d.ts +0 -37
- package/dist/src/models/CommonCoinIDAddressIdentifier.js +0 -41
- package/dist/src/models/CommonCoinIDAddressIdentifier.js.map +0 -1
- package/dist/src/models/CommonColumnState.d.ts +0 -54
- package/dist/src/models/CommonColumnState.js +0 -46
- package/dist/src/models/CommonColumnState.js.map +0 -1
- package/dist/src/models/CommonColumnStateSort.d.ts +0 -37
- package/dist/src/models/CommonColumnStateSort.js +0 -41
- package/dist/src/models/CommonColumnStateSort.js.map +0 -1
- package/dist/src/models/CommonComputeStats.d.ts +0 -61
- package/dist/src/models/CommonComputeStats.js +0 -49
- package/dist/src/models/CommonComputeStats.js.map +0 -1
- package/dist/src/models/CommonDuration.d.ts +0 -37
- package/dist/src/models/CommonDuration.js +0 -41
- package/dist/src/models/CommonDuration.js.map +0 -1
- package/dist/src/models/CommonEventLogColumn.d.ts +0 -67
- package/dist/src/models/CommonEventLogColumn.js +0 -51
- package/dist/src/models/CommonEventLogColumn.js.map +0 -1
- package/dist/src/models/CommonEventLogConfig.d.ts +0 -39
- package/dist/src/models/CommonEventLogConfig.js +0 -43
- package/dist/src/models/CommonEventLogConfig.js.map +0 -1
- package/dist/src/models/CommonEventLogEntry.d.ts +0 -121
- package/dist/src/models/CommonEventLogEntry.js +0 -69
- package/dist/src/models/CommonEventLogEntry.js.map +0 -1
- package/dist/src/models/CommonFormula.d.ts +0 -56
- package/dist/src/models/CommonFormula.js +0 -48
- package/dist/src/models/CommonFormula.js.map +0 -1
- package/dist/src/models/CommonFunction.d.ts +0 -38
- package/dist/src/models/CommonFunction.js +0 -42
- package/dist/src/models/CommonFunction.js.map +0 -1
- package/dist/src/models/CommonJoinOperator.d.ts +0 -25
- package/dist/src/models/CommonJoinOperator.js +0 -35
- package/dist/src/models/CommonJoinOperator.js.map +0 -1
- package/dist/src/models/CommonMatrix.d.ts +0 -38
- package/dist/src/models/CommonMatrix.js +0 -42
- package/dist/src/models/CommonMatrix.js.map +0 -1
- package/dist/src/models/CommonMatrixMetric.d.ts +0 -45
- package/dist/src/models/CommonMatrixMetric.js +0 -43
- package/dist/src/models/CommonMatrixMetric.js.map +0 -1
- package/dist/src/models/CommonMatrixSample.d.ts +0 -39
- package/dist/src/models/CommonMatrixSample.js +0 -43
- package/dist/src/models/CommonMatrixSample.js.map +0 -1
- package/dist/src/models/CommonMatrixValue.d.ts +0 -37
- package/dist/src/models/CommonMatrixValue.js +0 -41
- package/dist/src/models/CommonMatrixValue.js.map +0 -1
- package/dist/src/models/CommonOrganization.d.ts +0 -88
- package/dist/src/models/CommonOrganization.js +0 -60
- package/dist/src/models/CommonOrganization.js.map +0 -1
- package/dist/src/models/CommonOrganizationMember.d.ts +0 -39
- package/dist/src/models/CommonOrganizationMember.js +0 -43
- package/dist/src/models/CommonOrganizationMember.js.map +0 -1
- package/dist/src/models/CommonOrganizationRole.d.ts +0 -24
- package/dist/src/models/CommonOrganizationRole.js +0 -34
- package/dist/src/models/CommonOrganizationRole.js.map +0 -1
- package/dist/src/models/CommonOwner.d.ts +0 -46
- package/dist/src/models/CommonOwner.js +0 -46
- package/dist/src/models/CommonOwner.js.map +0 -1
- package/dist/src/models/CommonPermission.d.ts +0 -25
- package/dist/src/models/CommonPermission.js +0 -35
- package/dist/src/models/CommonPermission.js.map +0 -1
- package/dist/src/models/CommonPriceSegmentationQuery.d.ts +0 -50
- package/dist/src/models/CommonPriceSegmentationQuery.js +0 -46
- package/dist/src/models/CommonPriceSegmentationQuery.js.map +0 -1
- package/dist/src/models/CommonProject.d.ts +0 -146
- package/dist/src/models/CommonProject.js +0 -82
- package/dist/src/models/CommonProject.js.map +0 -1
- package/dist/src/models/CommonProjectInfo.d.ts +0 -112
- package/dist/src/models/CommonProjectInfo.js +0 -68
- package/dist/src/models/CommonProjectInfo.js.map +0 -1
- package/dist/src/models/CommonProjectProjectMember.d.ts +0 -38
- package/dist/src/models/CommonProjectProjectMember.js +0 -42
- package/dist/src/models/CommonProjectProjectMember.js.map +0 -1
- package/dist/src/models/CommonProjectSuperset.d.ts +0 -43
- package/dist/src/models/CommonProjectSuperset.js +0 -43
- package/dist/src/models/CommonProjectSuperset.js.map +0 -1
- package/dist/src/models/CommonProjectType.d.ts +0 -24
- package/dist/src/models/CommonProjectType.js +0 -34
- package/dist/src/models/CommonProjectType.js.map +0 -1
- package/dist/src/models/CommonProjectView.d.ts +0 -50
- package/dist/src/models/CommonProjectView.js +0 -46
- package/dist/src/models/CommonProjectView.js.map +0 -1
- package/dist/src/models/CommonProjectViewProjectViewConfig.d.ts +0 -32
- package/dist/src/models/CommonProjectViewProjectViewConfig.js +0 -40
- package/dist/src/models/CommonProjectViewProjectViewConfig.js.map +0 -1
- package/dist/src/models/CommonProjectVisibility.d.ts +0 -24
- package/dist/src/models/CommonProjectVisibility.js +0 -34
- package/dist/src/models/CommonProjectVisibility.js.map +0 -1
- package/dist/src/models/CommonQuery.d.ts +0 -71
- package/dist/src/models/CommonQuery.js +0 -53
- package/dist/src/models/CommonQuery.js.map +0 -1
- package/dist/src/models/CommonRetentionMatrix.d.ts +0 -32
- package/dist/src/models/CommonRetentionMatrix.js +0 -40
- package/dist/src/models/CommonRetentionMatrix.js.map +0 -1
- package/dist/src/models/CommonRetentionMatrixSample.d.ts +0 -64
- package/dist/src/models/CommonRetentionMatrixSample.js +0 -50
- package/dist/src/models/CommonRetentionMatrixSample.js.map +0 -1
- package/dist/src/models/CommonRetentionQuery.d.ts +0 -72
- package/dist/src/models/CommonRetentionQuery.js +0 -56
- package/dist/src/models/CommonRetentionQuery.js.map +0 -1
- package/dist/src/models/CommonRetentionQueryCriteria.d.ts +0 -24
- package/dist/src/models/CommonRetentionQueryCriteria.js +0 -34
- package/dist/src/models/CommonRetentionQueryCriteria.js.map +0 -1
- package/dist/src/models/CommonRetentionQueryFilter.d.ts +0 -39
- package/dist/src/models/CommonRetentionQueryFilter.js +0 -43
- package/dist/src/models/CommonRetentionQueryFilter.js.map +0 -1
- package/dist/src/models/CommonRetentionQueryFilterTimeFilter.d.ts +0 -32
- package/dist/src/models/CommonRetentionQueryFilterTimeFilter.js +0 -40
- package/dist/src/models/CommonRetentionQueryFilterTimeFilter.js.map +0 -1
- package/dist/src/models/CommonRetentionQueryFilterTimeFilterType.d.ts +0 -25
- package/dist/src/models/CommonRetentionQueryFilterTimeFilterType.js +0 -35
- package/dist/src/models/CommonRetentionQueryFilterTimeFilterType.js.map +0 -1
- package/dist/src/models/CommonRetentionQueryInterval.d.ts +0 -38
- package/dist/src/models/CommonRetentionQueryInterval.js +0 -42
- package/dist/src/models/CommonRetentionQueryInterval.js.map +0 -1
- package/dist/src/models/CommonRetentionQueryIntervalUnit.d.ts +0 -25
- package/dist/src/models/CommonRetentionQueryIntervalUnit.js +0 -35
- package/dist/src/models/CommonRetentionQueryIntervalUnit.js.map +0 -1
- package/dist/src/models/CommonRetentionQueryResource.d.ts +0 -38
- package/dist/src/models/CommonRetentionQueryResource.js +0 -42
- package/dist/src/models/CommonRetentionQueryResource.js.map +0 -1
- package/dist/src/models/CommonSegmentParameter.d.ts +0 -37
- package/dist/src/models/CommonSegmentParameter.js +0 -41
- package/dist/src/models/CommonSegmentParameter.js.map +0 -1
- package/dist/src/models/CommonSegmentationQuery.d.ts +0 -83
- package/dist/src/models/CommonSegmentationQuery.js +0 -59
- package/dist/src/models/CommonSegmentationQuery.js.map +0 -1
- package/dist/src/models/CommonSegmentationQueryAggregation.d.ts +0 -51
- package/dist/src/models/CommonSegmentationQueryAggregation.js +0 -47
- package/dist/src/models/CommonSegmentationQueryAggregation.js.map +0 -1
- package/dist/src/models/CommonSegmentationQueryAggregationAggregateProperties.d.ts +0 -38
- package/dist/src/models/CommonSegmentationQueryAggregationAggregateProperties.js +0 -42
- package/dist/src/models/CommonSegmentationQueryAggregationAggregateProperties.js.map +0 -1
- package/dist/src/models/CommonSegmentationQueryAggregationAggregatePropertiesAggregationType.d.ts +0 -40
- package/dist/src/models/CommonSegmentationQueryAggregationAggregatePropertiesAggregationType.js +0 -50
- package/dist/src/models/CommonSegmentationQueryAggregationAggregatePropertiesAggregationType.js.map +0 -1
- package/dist/src/models/CommonSegmentationQueryAggregationCountUnique.d.ts +0 -32
- package/dist/src/models/CommonSegmentationQueryAggregationCountUnique.js +0 -40
- package/dist/src/models/CommonSegmentationQueryAggregationCountUnique.js.map +0 -1
- package/dist/src/models/CommonSegmentationQueryResource.d.ts +0 -51
- package/dist/src/models/CommonSegmentationQueryResource.js +0 -47
- package/dist/src/models/CommonSegmentationQueryResource.js.map +0 -1
- package/dist/src/models/CommonSegmentationQueryResourceType.d.ts +0 -24
- package/dist/src/models/CommonSegmentationQueryResourceType.js +0 -34
- package/dist/src/models/CommonSegmentationQueryResourceType.js.map +0 -1
- package/dist/src/models/CommonSegmentationQuerySelectorExpr.d.ts +0 -39
- package/dist/src/models/CommonSegmentationQuerySelectorExpr.js +0 -43
- package/dist/src/models/CommonSegmentationQuerySelectorExpr.js.map +0 -1
- package/dist/src/models/CommonSegmentationQuerySelectorExprLogicExpr.d.ts +0 -39
- package/dist/src/models/CommonSegmentationQuerySelectorExprLogicExpr.js +0 -43
- package/dist/src/models/CommonSegmentationQuerySelectorExprLogicExpr.js.map +0 -1
- package/dist/src/models/CommonSelector.d.ts +0 -45
- package/dist/src/models/CommonSelector.js +0 -45
- package/dist/src/models/CommonSelector.js.map +0 -1
- package/dist/src/models/CommonSelectorExpr.d.ts +0 -39
- package/dist/src/models/CommonSelectorExpr.js +0 -43
- package/dist/src/models/CommonSelectorExpr.js.map +0 -1
- package/dist/src/models/CommonSelectorExprLogicExpr.d.ts +0 -39
- package/dist/src/models/CommonSelectorExprLogicExpr.js +0 -43
- package/dist/src/models/CommonSelectorExprLogicExpr.js.map +0 -1
- package/dist/src/models/CommonSelectorOperatorType.d.ts +0 -37
- package/dist/src/models/CommonSelectorOperatorType.js +0 -47
- package/dist/src/models/CommonSelectorOperatorType.js.map +0 -1
- package/dist/src/models/CommonStringList.d.ts +0 -31
- package/dist/src/models/CommonStringList.js +0 -39
- package/dist/src/models/CommonStringList.js.map +0 -1
- package/dist/src/models/CommonTabularData.d.ts +0 -58
- package/dist/src/models/CommonTabularData.js +0 -49
- package/dist/src/models/CommonTabularData.js.map +0 -1
- package/dist/src/models/CommonTabularDataColumnType.d.ts +0 -27
- package/dist/src/models/CommonTabularDataColumnType.js +0 -37
- package/dist/src/models/CommonTabularDataColumnType.js.map +0 -1
- package/dist/src/models/CommonTier.d.ts +0 -27
- package/dist/src/models/CommonTier.js +0 -37
- package/dist/src/models/CommonTier.js.map +0 -1
- package/dist/src/models/CommonTimeRange.d.ts +0 -57
- package/dist/src/models/CommonTimeRange.js +0 -49
- package/dist/src/models/CommonTimeRange.js.map +0 -1
- package/dist/src/models/CommonTimeRangeLite.d.ts +0 -49
- package/dist/src/models/CommonTimeRangeLite.js +0 -51
- package/dist/src/models/CommonTimeRangeLite.js.map +0 -1
- package/dist/src/models/CommonTimeRangeRelativeTime.d.ts +0 -43
- package/dist/src/models/CommonTimeRangeRelativeTime.js +0 -43
- package/dist/src/models/CommonTimeRangeRelativeTime.js.map +0 -1
- package/dist/src/models/CommonTimeRangeTimeLike.d.ts +0 -38
- package/dist/src/models/CommonTimeRangeTimeLike.js +0 -42
- package/dist/src/models/CommonTimeRangeTimeLike.js.map +0 -1
- package/dist/src/models/CommonUser.d.ts +0 -111
- package/dist/src/models/CommonUser.js +0 -67
- package/dist/src/models/CommonUser.js.map +0 -1
- package/dist/src/models/CommonUserAccountStatus.d.ts +0 -26
- package/dist/src/models/CommonUserAccountStatus.js +0 -36
- package/dist/src/models/CommonUserAccountStatus.js.map +0 -1
- package/dist/src/models/CommonUserInfo.d.ts +0 -61
- package/dist/src/models/CommonUserInfo.js +0 -49
- package/dist/src/models/CommonUserInfo.js.map +0 -1
- package/dist/src/models/EvmAccessListItem.d.ts +0 -37
- package/dist/src/models/EvmAccessListItem.js +0 -41
- package/dist/src/models/EvmAccessListItem.js.map +0 -1
- package/dist/src/models/EvmTransaction.d.ts +0 -122
- package/dist/src/models/EvmTransaction.js +0 -70
- package/dist/src/models/EvmTransaction.js.map +0 -1
- package/dist/src/models/EvmTransactionReceipt.d.ts +0 -67
- package/dist/src/models/EvmTransactionReceipt.js +0 -51
- package/dist/src/models/EvmTransactionReceipt.js.map +0 -1
- package/dist/src/models/GoogleApiHttpBody.d.ts +0 -87
- package/dist/src/models/GoogleApiHttpBody.js +0 -44
- package/dist/src/models/GoogleApiHttpBody.js.map +0 -1
- package/dist/src/models/GoogleProtobufAny.d.ts +0 -142
- package/dist/src/models/GoogleProtobufAny.js +0 -41
- package/dist/src/models/GoogleProtobufAny.js.map +0 -1
- package/dist/src/models/GoogleProtobufNullValue.d.ts +0 -28
- package/dist/src/models/GoogleProtobufNullValue.js +0 -38
- package/dist/src/models/GoogleProtobufNullValue.js.map +0 -1
- package/dist/src/models/InsightsServiceDataSource.d.ts +0 -28
- package/dist/src/models/InsightsServiceDataSource.js +0 -38
- package/dist/src/models/InsightsServiceDataSource.js.map +0 -1
- package/dist/src/models/InsightsServiceInsightsServiceQueryBody.d.ts +0 -83
- package/dist/src/models/InsightsServiceInsightsServiceQueryBody.js +0 -59
- package/dist/src/models/InsightsServiceInsightsServiceQueryBody.js.map +0 -1
- package/dist/src/models/InsightsServiceInsightsServiceRetentionBody.d.ts +0 -51
- package/dist/src/models/InsightsServiceInsightsServiceRetentionBody.js +0 -47
- package/dist/src/models/InsightsServiceInsightsServiceRetentionBody.js.map +0 -1
- package/dist/src/models/InsightsServiceListCoinsResponse.d.ts +0 -39
- package/dist/src/models/InsightsServiceListCoinsResponse.js +0 -43
- package/dist/src/models/InsightsServiceListCoinsResponse.js.map +0 -1
- package/dist/src/models/InsightsServiceQueryRequestQuery.d.ts +0 -59
- package/dist/src/models/InsightsServiceQueryRequestQuery.js +0 -51
- package/dist/src/models/InsightsServiceQueryRequestQuery.js.map +0 -1
- package/dist/src/models/InsightsServiceQueryResponse.d.ts +0 -32
- package/dist/src/models/InsightsServiceQueryResponse.js +0 -40
- package/dist/src/models/InsightsServiceQueryResponse.js.map +0 -1
- package/dist/src/models/InsightsServiceQueryResponseResult.d.ts +0 -64
- package/dist/src/models/InsightsServiceQueryResponseResult.js +0 -52
- package/dist/src/models/InsightsServiceQueryResponseResult.js.map +0 -1
- package/dist/src/models/InsightsServiceRetentionRequest.d.ts +0 -63
- package/dist/src/models/InsightsServiceRetentionRequest.js +0 -51
- package/dist/src/models/InsightsServiceRetentionRequest.js.map +0 -1
- package/dist/src/models/InsightsServiceRetentionResponse.d.ts +0 -45
- package/dist/src/models/InsightsServiceRetentionResponse.js +0 -45
- package/dist/src/models/InsightsServiceRetentionResponse.js.map +0 -1
- package/dist/src/models/MetricsServiceGetMetricsResponse.d.ts +0 -32
- package/dist/src/models/MetricsServiceGetMetricsResponse.js +0 -40
- package/dist/src/models/MetricsServiceGetMetricsResponse.js.map +0 -1
- package/dist/src/models/MetricsServiceMetricInfo.d.ts +0 -77
- package/dist/src/models/MetricsServiceMetricInfo.js +0 -56
- package/dist/src/models/MetricsServiceMetricInfo.js.map +0 -1
- package/dist/src/models/MetricsServiceMetricInfoLabelValues.d.ts +0 -31
- package/dist/src/models/MetricsServiceMetricInfoLabelValues.js +0 -39
- package/dist/src/models/MetricsServiceMetricInfoLabelValues.js.map +0 -1
- package/dist/src/models/MetricsServiceMetricMetadata.d.ts +0 -49
- package/dist/src/models/MetricsServiceMetricMetadata.js +0 -45
- package/dist/src/models/MetricsServiceMetricMetadata.js.map +0 -1
- package/dist/src/models/MetricsServiceMetricsQueryResponse.d.ts +0 -32
- package/dist/src/models/MetricsServiceMetricsQueryResponse.js +0 -40
- package/dist/src/models/MetricsServiceMetricsQueryResponse.js.map +0 -1
- package/dist/src/models/MetricsServiceMetricsQueryResponseMatrix.d.ts +0 -38
- package/dist/src/models/MetricsServiceMetricsQueryResponseMatrix.js +0 -42
- package/dist/src/models/MetricsServiceMetricsQueryResponseMatrix.js.map +0 -1
- package/dist/src/models/MetricsServiceMetricsQueryResponseMetric.d.ts +0 -45
- package/dist/src/models/MetricsServiceMetricsQueryResponseMetric.js +0 -43
- package/dist/src/models/MetricsServiceMetricsQueryResponseMetric.js.map +0 -1
- package/dist/src/models/MetricsServiceMetricsQueryResponseResult.d.ts +0 -57
- package/dist/src/models/MetricsServiceMetricsQueryResponseResult.js +0 -49
- package/dist/src/models/MetricsServiceMetricsQueryResponseResult.js.map +0 -1
- package/dist/src/models/MetricsServiceMetricsQueryResponseSample.d.ts +0 -39
- package/dist/src/models/MetricsServiceMetricsQueryResponseSample.js +0 -43
- package/dist/src/models/MetricsServiceMetricsQueryResponseSample.js.map +0 -1
- package/dist/src/models/MetricsServiceMetricsQueryResponseValue.d.ts +0 -37
- package/dist/src/models/MetricsServiceMetricsQueryResponseValue.js +0 -41
- package/dist/src/models/MetricsServiceMetricsQueryResponseValue.js.map +0 -1
- package/dist/src/models/MetricsServiceObservabilityServiceQueryBody.d.ts +0 -69
- package/dist/src/models/MetricsServiceObservabilityServiceQueryBody.js +0 -53
- package/dist/src/models/MetricsServiceObservabilityServiceQueryBody.js.map +0 -1
- package/dist/src/models/MetricsServiceObservabilityServiceQueryRangeBody.d.ts +0 -70
- package/dist/src/models/MetricsServiceObservabilityServiceQueryRangeBody.js +0 -56
- package/dist/src/models/MetricsServiceObservabilityServiceQueryRangeBody.js.map +0 -1
- package/dist/src/models/MetricsServiceQueryValueResponse.d.ts +0 -32
- package/dist/src/models/MetricsServiceQueryValueResponse.js +0 -40
- package/dist/src/models/MetricsServiceQueryValueResponse.js.map +0 -1
- package/dist/src/models/MetricsServiceQueryValueResponseResult.d.ts +0 -50
- package/dist/src/models/MetricsServiceQueryValueResponseResult.js +0 -46
- package/dist/src/models/MetricsServiceQueryValueResponseResult.js.map +0 -1
- package/dist/src/models/SolidityServiceBlockOverrides.d.ts +0 -63
- package/dist/src/models/SolidityServiceBlockOverrides.js +0 -49
- package/dist/src/models/SolidityServiceBlockOverrides.js.map +0 -1
- package/dist/src/models/SolidityServiceCompileSourceInternalResponse.d.ts +0 -32
- package/dist/src/models/SolidityServiceCompileSourceInternalResponse.js +0 -40
- package/dist/src/models/SolidityServiceCompileSourceInternalResponse.js.map +0 -1
- package/dist/src/models/SolidityServiceCompilerOptions.d.ts +0 -51
- package/dist/src/models/SolidityServiceCompilerOptions.js +0 -47
- package/dist/src/models/SolidityServiceCompilerOptions.js.map +0 -1
- package/dist/src/models/SolidityServiceContractKeyInfo.d.ts +0 -37
- package/dist/src/models/SolidityServiceContractKeyInfo.js +0 -41
- package/dist/src/models/SolidityServiceContractKeyInfo.js.map +0 -1
- package/dist/src/models/SolidityServiceDecodeStateDiffResponse.d.ts +0 -31
- package/dist/src/models/SolidityServiceDecodeStateDiffResponse.js +0 -39
- package/dist/src/models/SolidityServiceDecodeStateDiffResponse.js.map +0 -1
- package/dist/src/models/SolidityServiceFailure.d.ts +0 -37
- package/dist/src/models/SolidityServiceFailure.js +0 -41
- package/dist/src/models/SolidityServiceFailure.js.map +0 -1
- package/dist/src/models/SolidityServiceFetchAndCompileInternalResponse.d.ts +0 -40
- package/dist/src/models/SolidityServiceFetchAndCompileInternalResponse.js +0 -43
- package/dist/src/models/SolidityServiceFetchAndCompileInternalResponse.js.map +0 -1
- package/dist/src/models/SolidityServiceGetSimulationBundleResponse.d.ts +0 -38
- package/dist/src/models/SolidityServiceGetSimulationBundleResponse.js +0 -42
- package/dist/src/models/SolidityServiceGetSimulationBundleResponse.js.map +0 -1
- package/dist/src/models/SolidityServiceGetSimulationResponse.d.ts +0 -32
- package/dist/src/models/SolidityServiceGetSimulationResponse.js +0 -40
- package/dist/src/models/SolidityServiceGetSimulationResponse.js.map +0 -1
- package/dist/src/models/SolidityServiceGetSimulationsResponse.d.ts +0 -50
- package/dist/src/models/SolidityServiceGetSimulationsResponse.js +0 -46
- package/dist/src/models/SolidityServiceGetSimulationsResponse.js.map +0 -1
- package/dist/src/models/SolidityServiceGetStorageSummaryInternalResponse.d.ts +0 -32
- package/dist/src/models/SolidityServiceGetStorageSummaryInternalResponse.js +0 -40
- package/dist/src/models/SolidityServiceGetStorageSummaryInternalResponse.js.map +0 -1
- package/dist/src/models/SolidityServiceGetTraceCallInternalRequestBundle.d.ts +0 -38
- package/dist/src/models/SolidityServiceGetTraceCallInternalRequestBundle.js +0 -42
- package/dist/src/models/SolidityServiceGetTraceCallInternalRequestBundle.js.map +0 -1
- package/dist/src/models/SolidityServiceGetTraceCallInternalRequestStateContext.d.ts +0 -37
- package/dist/src/models/SolidityServiceGetTraceCallInternalRequestStateContext.js +0 -41
- package/dist/src/models/SolidityServiceGetTraceCallInternalRequestStateContext.js.map +0 -1
- package/dist/src/models/SolidityServiceGetTraceCallInternalResponse.d.ts +0 -43
- package/dist/src/models/SolidityServiceGetTraceCallInternalResponse.js +0 -43
- package/dist/src/models/SolidityServiceGetTraceCallInternalResponse.js.map +0 -1
- package/dist/src/models/SolidityServiceGetTraceTransactionInternalResponse.d.ts +0 -31
- package/dist/src/models/SolidityServiceGetTraceTransactionInternalResponse.js +0 -39
- package/dist/src/models/SolidityServiceGetTraceTransactionInternalResponse.js.map +0 -1
- package/dist/src/models/SolidityServiceMetadata.d.ts +0 -43
- package/dist/src/models/SolidityServiceMetadata.js +0 -43
- package/dist/src/models/SolidityServiceMetadata.js.map +0 -1
- package/dist/src/models/SolidityServiceOptimizer.d.ts +0 -44
- package/dist/src/models/SolidityServiceOptimizer.js +0 -44
- package/dist/src/models/SolidityServiceOptimizer.js.map +0 -1
- package/dist/src/models/SolidityServiceOptimizerDetails.d.ts +0 -50
- package/dist/src/models/SolidityServiceOptimizerDetails.js +0 -46
- package/dist/src/models/SolidityServiceOptimizerDetails.js.map +0 -1
- package/dist/src/models/SolidityServiceOptimizerDetailsYulDetails.d.ts +0 -37
- package/dist/src/models/SolidityServiceOptimizerDetailsYulDetails.js +0 -41
- package/dist/src/models/SolidityServiceOptimizerDetailsYulDetails.js.map +0 -1
- package/dist/src/models/SolidityServicePreProcessCompilationInternalResponse.d.ts +0 -31
- package/dist/src/models/SolidityServicePreProcessCompilationInternalResponse.js +0 -39
- package/dist/src/models/SolidityServicePreProcessCompilationInternalResponse.js.map +0 -1
- package/dist/src/models/SolidityServiceSettings.d.ts +0 -65
- package/dist/src/models/SolidityServiceSettings.js +0 -51
- package/dist/src/models/SolidityServiceSettings.js.map +0 -1
- package/dist/src/models/SolidityServiceSimulateTransactionBundleRequest.d.ts +0 -44
- package/dist/src/models/SolidityServiceSimulateTransactionBundleRequest.js +0 -50
- package/dist/src/models/SolidityServiceSimulateTransactionBundleRequest.js.map +0 -1
- package/dist/src/models/SolidityServiceSimulateTransactionBundleResponse.d.ts +0 -44
- package/dist/src/models/SolidityServiceSimulateTransactionBundleResponse.js +0 -44
- package/dist/src/models/SolidityServiceSimulateTransactionBundleResponse.js.map +0 -1
- package/dist/src/models/SolidityServiceSimulateTransactionRequest.d.ts +0 -44
- package/dist/src/models/SolidityServiceSimulateTransactionRequest.js +0 -50
- package/dist/src/models/SolidityServiceSimulateTransactionRequest.js.map +0 -1
- package/dist/src/models/SolidityServiceSimulateTransactionResponse.d.ts +0 -32
- package/dist/src/models/SolidityServiceSimulateTransactionResponse.js +0 -40
- package/dist/src/models/SolidityServiceSimulateTransactionResponse.js.map +0 -1
- package/dist/src/models/SolidityServiceSimulation.d.ts +0 -171
- package/dist/src/models/SolidityServiceSimulation.js +0 -88
- package/dist/src/models/SolidityServiceSimulation.js.map +0 -1
- package/dist/src/models/SolidityServiceSimulationResult.d.ts +0 -39
- package/dist/src/models/SolidityServiceSimulationResult.js +0 -43
- package/dist/src/models/SolidityServiceSimulationResult.js.map +0 -1
- package/dist/src/models/SolidityServiceSourceInfo.d.ts +0 -38
- package/dist/src/models/SolidityServiceSourceInfo.js +0 -42
- package/dist/src/models/SolidityServiceSourceInfo.js.map +0 -1
- package/dist/src/models/SolidityServiceSourceMultiFile.d.ts +0 -39
- package/dist/src/models/SolidityServiceSourceMultiFile.js +0 -41
- package/dist/src/models/SolidityServiceSourceMultiFile.js.map +0 -1
- package/dist/src/models/SolidityServiceSourceSpec.d.ts +0 -68
- package/dist/src/models/SolidityServiceSourceSpec.js +0 -52
- package/dist/src/models/SolidityServiceSourceSpec.js.map +0 -1
- package/dist/src/models/SolidityServiceSpecializations.d.ts +0 -31
- package/dist/src/models/SolidityServiceSpecializations.js +0 -39
- package/dist/src/models/SolidityServiceSpecializations.js.map +0 -1
- package/dist/src/models/SolidityServiceStateOverride.d.ts +0 -45
- package/dist/src/models/SolidityServiceStateOverride.js +0 -43
- package/dist/src/models/SolidityServiceStateOverride.js.map +0 -1
- package/dist/src/models/SolidityServiceStorageSummaryResult.d.ts +0 -43
- package/dist/src/models/SolidityServiceStorageSummaryResult.js +0 -43
- package/dist/src/models/SolidityServiceStorageSummaryResult.js.map +0 -1
- package/dist/src/models/SolidityServiceTxIdentifier.d.ts +0 -43
- package/dist/src/models/SolidityServiceTxIdentifier.js +0 -43
- package/dist/src/models/SolidityServiceTxIdentifier.js.map +0 -1
- package/dist/src/models/TxindexEvmRawTransaction.d.ts +0 -92
- package/dist/src/models/TxindexEvmRawTransaction.js +0 -60
- package/dist/src/models/TxindexEvmRawTransaction.js.map +0 -1
- package/dist/src/models/TxindexEvmSearchTransactionsResponse.d.ts +0 -38
- package/dist/src/models/TxindexEvmSearchTransactionsResponse.js +0 -42
- package/dist/src/models/TxindexEvmSearchTransactionsResponse.js.map +0 -1
- package/dist/src/models/WebServiceChart.d.ts +0 -101
- package/dist/src/models/WebServiceChart.js +0 -69
- package/dist/src/models/WebServiceChart.js.map +0 -1
- package/dist/src/models/WebServiceChartChartType.d.ts +0 -30
- package/dist/src/models/WebServiceChartChartType.js +0 -40
- package/dist/src/models/WebServiceChartChartType.js.map +0 -1
- package/dist/src/models/WebServiceChartConfig.d.ts +0 -81
- package/dist/src/models/WebServiceChartConfig.js +0 -61
- package/dist/src/models/WebServiceChartConfig.js.map +0 -1
- package/dist/src/models/WebServiceChartConfigBarGaugeConfig.d.ts +0 -46
- package/dist/src/models/WebServiceChartConfigBarGaugeConfig.js +0 -46
- package/dist/src/models/WebServiceChartConfigBarGaugeConfig.js.map +0 -1
- package/dist/src/models/WebServiceChartConfigCalculation.d.ts +0 -29
- package/dist/src/models/WebServiceChartConfigCalculation.js +0 -39
- package/dist/src/models/WebServiceChartConfigCalculation.js.map +0 -1
- package/dist/src/models/WebServiceChartConfigColorTheme.d.ts +0 -43
- package/dist/src/models/WebServiceChartConfigColorTheme.js +0 -43
- package/dist/src/models/WebServiceChartConfigColorTheme.js.map +0 -1
- package/dist/src/models/WebServiceChartConfigColumnSort.d.ts +0 -37
- package/dist/src/models/WebServiceChartConfigColumnSort.js +0 -41
- package/dist/src/models/WebServiceChartConfigColumnSort.js.map +0 -1
- package/dist/src/models/WebServiceChartConfigCompareTime.d.ts +0 -32
- package/dist/src/models/WebServiceChartConfigCompareTime.js +0 -40
- package/dist/src/models/WebServiceChartConfigCompareTime.js.map +0 -1
- package/dist/src/models/WebServiceChartConfigDirection.d.ts +0 -24
- package/dist/src/models/WebServiceChartConfigDirection.js +0 -34
- package/dist/src/models/WebServiceChartConfigDirection.js.map +0 -1
- package/dist/src/models/WebServiceChartConfigMappingRule.d.ts +0 -50
- package/dist/src/models/WebServiceChartConfigMappingRule.js +0 -46
- package/dist/src/models/WebServiceChartConfigMappingRule.js.map +0 -1
- package/dist/src/models/WebServiceChartConfigMarker.d.ts +0 -56
- package/dist/src/models/WebServiceChartConfigMarker.js +0 -48
- package/dist/src/models/WebServiceChartConfigMarker.js.map +0 -1
- package/dist/src/models/WebServiceChartConfigMarkerType.d.ts +0 -25
- package/dist/src/models/WebServiceChartConfigMarkerType.js +0 -35
- package/dist/src/models/WebServiceChartConfigMarkerType.js.map +0 -1
- package/dist/src/models/WebServiceChartConfigPieConfig.d.ts +0 -51
- package/dist/src/models/WebServiceChartConfigPieConfig.js +0 -47
- package/dist/src/models/WebServiceChartConfigPieConfig.js.map +0 -1
- package/dist/src/models/WebServiceChartConfigPieConfigPieType.d.ts +0 -24
- package/dist/src/models/WebServiceChartConfigPieConfigPieType.js +0 -34
- package/dist/src/models/WebServiceChartConfigPieConfigPieType.js.map +0 -1
- package/dist/src/models/WebServiceChartConfigQueryValueConfig.d.ts +0 -51
- package/dist/src/models/WebServiceChartConfigQueryValueConfig.js +0 -47
- package/dist/src/models/WebServiceChartConfigQueryValueConfig.js.map +0 -1
- package/dist/src/models/WebServiceChartConfigSort.d.ts +0 -38
- package/dist/src/models/WebServiceChartConfigSort.js +0 -42
- package/dist/src/models/WebServiceChartConfigSort.js.map +0 -1
- package/dist/src/models/WebServiceChartConfigSortBy.d.ts +0 -24
- package/dist/src/models/WebServiceChartConfigSortBy.js +0 -34
- package/dist/src/models/WebServiceChartConfigSortBy.js.map +0 -1
- package/dist/src/models/WebServiceChartConfigTableConfig.d.ts +0 -90
- package/dist/src/models/WebServiceChartConfigTableConfig.js +0 -59
- package/dist/src/models/WebServiceChartConfigTableConfig.js.map +0 -1
- package/dist/src/models/WebServiceChartConfigTimeRangeOverride.d.ts +0 -45
- package/dist/src/models/WebServiceChartConfigTimeRangeOverride.js +0 -45
- package/dist/src/models/WebServiceChartConfigTimeRangeOverride.js.map +0 -1
- package/dist/src/models/WebServiceChartConfigValueConfig.d.ts +0 -82
- package/dist/src/models/WebServiceChartConfigValueConfig.js +0 -58
- package/dist/src/models/WebServiceChartConfigValueConfig.js.map +0 -1
- package/dist/src/models/WebServiceChartConfigValueConfigStyle.d.ts +0 -28
- package/dist/src/models/WebServiceChartConfigValueConfigStyle.js +0 -38
- package/dist/src/models/WebServiceChartConfigValueConfigStyle.js.map +0 -1
- package/dist/src/models/WebServiceChartConfigValueFormatter.d.ts +0 -25
- package/dist/src/models/WebServiceChartConfigValueFormatter.js +0 -35
- package/dist/src/models/WebServiceChartConfigValueFormatter.js.map +0 -1
- package/dist/src/models/WebServiceChartConfigYAxisConfig.d.ts +0 -49
- package/dist/src/models/WebServiceChartConfigYAxisConfig.js +0 -45
- package/dist/src/models/WebServiceChartConfigYAxisConfig.js.map +0 -1
- package/dist/src/models/WebServiceChartDataSourceType.d.ts +0 -29
- package/dist/src/models/WebServiceChartDataSourceType.js +0 -39
- package/dist/src/models/WebServiceChartDataSourceType.js.map +0 -1
- package/dist/src/models/WebServiceDashboard.d.ts +0 -122
- package/dist/src/models/WebServiceDashboard.js +0 -73
- package/dist/src/models/WebServiceDashboard.js.map +0 -1
- package/dist/src/models/WebServiceDashboardDashboardVisibility.d.ts +0 -25
- package/dist/src/models/WebServiceDashboardDashboardVisibility.js +0 -35
- package/dist/src/models/WebServiceDashboardDashboardVisibility.js.map +0 -1
- package/dist/src/models/WebServiceDashboardExtra.d.ts +0 -41
- package/dist/src/models/WebServiceDashboardExtra.js +0 -44
- package/dist/src/models/WebServiceDashboardExtra.js.map +0 -1
- package/dist/src/models/WebServiceDashboardExtraTemplateVariable.d.ts +0 -49
- package/dist/src/models/WebServiceDashboardExtraTemplateVariable.js +0 -45
- package/dist/src/models/WebServiceDashboardExtraTemplateVariable.js.map +0 -1
- package/dist/src/models/WebServiceDashboardExtraTemplateView.d.ts +0 -33
- package/dist/src/models/WebServiceDashboardExtraTemplateView.js +0 -39
- package/dist/src/models/WebServiceDashboardExtraTemplateView.js.map +0 -1
- package/dist/src/models/WebServiceDashboardLayouts.d.ts +0 -32
- package/dist/src/models/WebServiceDashboardLayouts.js +0 -40
- package/dist/src/models/WebServiceDashboardLayouts.js.map +0 -1
- package/dist/src/models/WebServiceDashboardLayoutsLayout.d.ts +0 -55
- package/dist/src/models/WebServiceDashboardLayoutsLayout.js +0 -47
- package/dist/src/models/WebServiceDashboardLayoutsLayout.js.map +0 -1
- package/dist/src/models/WebServiceDashboardResponsiveLayouts.d.ts +0 -34
- package/dist/src/models/WebServiceDashboardResponsiveLayouts.js +0 -41
- package/dist/src/models/WebServiceDashboardResponsiveLayouts.js.map +0 -1
- package/dist/src/models/WebServiceDashboardSharing.d.ts +0 -49
- package/dist/src/models/WebServiceDashboardSharing.js +0 -45
- package/dist/src/models/WebServiceDashboardSharing.js.map +0 -1
- package/dist/src/models/WebServiceEventLogsConfig.d.ts +0 -51
- package/dist/src/models/WebServiceEventLogsConfig.js +0 -47
- package/dist/src/models/WebServiceEventLogsConfig.js.map +0 -1
- package/dist/src/models/WebServiceEventLogsConfigTimeRangeOverride.d.ts +0 -38
- package/dist/src/models/WebServiceEventLogsConfigTimeRangeOverride.js +0 -42
- package/dist/src/models/WebServiceEventLogsConfigTimeRangeOverride.js.map +0 -1
- package/dist/src/models/WebServiceExportDashboardResponse.d.ts +0 -31
- package/dist/src/models/WebServiceExportDashboardResponse.js +0 -39
- package/dist/src/models/WebServiceExportDashboardResponse.js.map +0 -1
- package/dist/src/models/WebServiceGetDashboardResponse.d.ts +0 -39
- package/dist/src/models/WebServiceGetDashboardResponse.js +0 -43
- package/dist/src/models/WebServiceGetDashboardResponse.js.map +0 -1
- package/dist/src/models/WebServiceGetProjectListResponse.d.ts +0 -44
- package/dist/src/models/WebServiceGetProjectListResponse.js +0 -44
- package/dist/src/models/WebServiceGetProjectListResponse.js.map +0 -1
- package/dist/src/models/WebServiceGetProjectResponse.d.ts +0 -39
- package/dist/src/models/WebServiceGetProjectResponse.js +0 -43
- package/dist/src/models/WebServiceGetProjectResponse.js.map +0 -1
- package/dist/src/models/WebServiceImportDashboardRequest.d.ts +0 -43
- package/dist/src/models/WebServiceImportDashboardRequest.js +0 -47
- package/dist/src/models/WebServiceImportDashboardRequest.js.map +0 -1
- package/dist/src/models/WebServiceImportDashboardResponse.d.ts +0 -32
- package/dist/src/models/WebServiceImportDashboardResponse.js +0 -40
- package/dist/src/models/WebServiceImportDashboardResponse.js.map +0 -1
- package/dist/src/models/WebServiceNote.d.ts +0 -64
- package/dist/src/models/WebServiceNote.js +0 -52
- package/dist/src/models/WebServiceNote.js.map +0 -1
- package/dist/src/models/WebServiceNoteAlignment.d.ts +0 -25
- package/dist/src/models/WebServiceNoteAlignment.js +0 -35
- package/dist/src/models/WebServiceNoteAlignment.js.map +0 -1
- package/dist/src/models/WebServiceNoteFontSize.d.ts +0 -27
- package/dist/src/models/WebServiceNoteFontSize.js +0 -37
- package/dist/src/models/WebServiceNoteFontSize.js.map +0 -1
- package/dist/src/models/WebServiceNoteVerticalAlignment.d.ts +0 -25
- package/dist/src/models/WebServiceNoteVerticalAlignment.js +0 -35
- package/dist/src/models/WebServiceNoteVerticalAlignment.js.map +0 -1
- package/dist/src/models/WebServicePanel.d.ts +0 -50
- package/dist/src/models/WebServicePanel.js +0 -46
- package/dist/src/models/WebServicePanel.js.map +0 -1
- package/dist/src/models/index.d.ts +0 -198
- package/dist/src/models/index.js +0 -201
- package/dist/src/models/index.js.map +0 -1
- package/dist/src/runtime.d.ts +0 -181
- package/dist/src/runtime.js +0 -326
- package/dist/src/runtime.js.map +0 -1
- package/src/apis/DataApi.ts +0 -814
- package/src/apis/DebugAndSimulationApi.ts +0 -496
- package/src/apis/WebApi.ts +0 -511
- package/src/apis/index.ts +0 -5
- package/src/models/AnalyticServiceAnalyticServiceExecuteSQLBody.ts +0 -113
- package/src/models/AnalyticServiceLogQueryRequestFilter.ts +0 -76
- package/src/models/AnalyticServiceLogQueryRequestSort.ts +0 -68
- package/src/models/AnalyticServiceLogQueryResponse.ts +0 -89
- package/src/models/AnalyticServiceSQLQuery.ts +0 -68
- package/src/models/AnalyticServiceSearchServiceQueryLogBody.ts +0 -149
- package/src/models/AnalyticServiceSyncExecuteSQLResponse.ts +0 -97
- package/src/models/CommonAggregate.ts +0 -75
- package/src/models/CommonAggregateAggregateOps.ts +0 -45
- package/src/models/CommonAny.ts +0 -115
- package/src/models/CommonArgument.ts +0 -99
- package/src/models/CommonCachePolicy.ts +0 -84
- package/src/models/CommonChannel.ts +0 -163
- package/src/models/CommonChannelType.ts +0 -47
- package/src/models/CommonCohortsFilter.ts +0 -111
- package/src/models/CommonCohortsFilterAggregation.ts +0 -103
- package/src/models/CommonCohortsFilterAggregationAggregateProperties.ts +0 -75
- package/src/models/CommonCohortsFilterAggregationAggregatePropertiesAggregationType.ts +0 -48
- package/src/models/CommonCohortsFilterAggregationOperatorType.ts +0 -48
- package/src/models/CommonCohortsGroup.ts +0 -81
- package/src/models/CommonCohortsQuery.ts +0 -97
- package/src/models/CommonCoinID.ts +0 -75
- package/src/models/CommonCoinIDAddressIdentifier.ts +0 -68
- package/src/models/CommonColumnState.ts +0 -91
- package/src/models/CommonColumnStateSort.ts +0 -68
- package/src/models/CommonComputeStats.ts +0 -100
- package/src/models/CommonDuration.ts +0 -68
- package/src/models/CommonEventLogColumn.ts +0 -108
- package/src/models/CommonEventLogConfig.ts +0 -81
- package/src/models/CommonEventLogEntry.ts +0 -180
- package/src/models/CommonFormula.ts +0 -99
- package/src/models/CommonFunction.ts +0 -75
- package/src/models/CommonJoinOperator.ts +0 -43
- package/src/models/CommonMatrix.ts +0 -75
- package/src/models/CommonMatrixMetric.ts +0 -76
- package/src/models/CommonMatrixSample.ts +0 -81
- package/src/models/CommonMatrixValue.ts +0 -68
- package/src/models/CommonOrganization.ts +0 -151
- package/src/models/CommonOrganizationMember.ts +0 -81
- package/src/models/CommonOrganizationRole.ts +0 -42
- package/src/models/CommonOwner.ts +0 -95
- package/src/models/CommonPermission.ts +0 -43
- package/src/models/CommonPriceSegmentationQuery.ts +0 -91
- package/src/models/CommonProject.ts +0 -247
- package/src/models/CommonProjectInfo.ts +0 -183
- package/src/models/CommonProjectProjectMember.ts +0 -75
- package/src/models/CommonProjectSuperset.ts +0 -76
- package/src/models/CommonProjectType.ts +0 -42
- package/src/models/CommonProjectView.ts +0 -91
- package/src/models/CommonProjectViewProjectViewConfig.ts +0 -67
- package/src/models/CommonProjectVisibility.ts +0 -42
- package/src/models/CommonQuery.ts +0 -121
- package/src/models/CommonRetentionMatrix.ts +0 -67
- package/src/models/CommonRetentionMatrixSample.ts +0 -107
- package/src/models/CommonRetentionQuery.ts +0 -139
- package/src/models/CommonRetentionQueryCriteria.ts +0 -42
- package/src/models/CommonRetentionQueryFilter.ts +0 -81
- package/src/models/CommonRetentionQueryFilterTimeFilter.ts +0 -67
- package/src/models/CommonRetentionQueryFilterTimeFilterType.ts +0 -43
- package/src/models/CommonRetentionQueryInterval.ts +0 -75
- package/src/models/CommonRetentionQueryIntervalUnit.ts +0 -43
- package/src/models/CommonRetentionQueryResource.ts +0 -75
- package/src/models/CommonSegmentParameter.ts +0 -68
- package/src/models/CommonSegmentationQuery.ts +0 -149
- package/src/models/CommonSegmentationQueryAggregation.ts +0 -97
- package/src/models/CommonSegmentationQueryAggregationAggregateProperties.ts +0 -75
- package/src/models/CommonSegmentationQueryAggregationAggregatePropertiesAggregationType.ts +0 -58
- package/src/models/CommonSegmentationQueryAggregationCountUnique.ts +0 -67
- package/src/models/CommonSegmentationQueryResource.ts +0 -97
- package/src/models/CommonSegmentationQueryResourceType.ts +0 -42
- package/src/models/CommonSegmentationQuerySelectorExpr.ts +0 -81
- package/src/models/CommonSegmentationQuerySelectorExprLogicExpr.ts +0 -81
- package/src/models/CommonSelector.ts +0 -89
- package/src/models/CommonSelectorExpr.ts +0 -81
- package/src/models/CommonSelectorExprLogicExpr.ts +0 -81
- package/src/models/CommonSelectorOperatorType.ts +0 -55
- package/src/models/CommonStringList.ts +0 -60
- package/src/models/CommonTabularData.ts +0 -99
- package/src/models/CommonTabularDataColumnType.ts +0 -45
- package/src/models/CommonTier.ts +0 -45
- package/src/models/CommonTimeRange.ts +0 -105
- package/src/models/CommonTimeRangeLite.ts +0 -87
- package/src/models/CommonTimeRangeRelativeTime.ts +0 -76
- package/src/models/CommonTimeRangeTimeLike.ts +0 -75
- package/src/models/CommonUser.ts +0 -177
- package/src/models/CommonUserAccountStatus.ts +0 -44
- package/src/models/CommonUserInfo.ts +0 -100
- package/src/models/EvmAccessListItem.ts +0 -68
- package/src/models/EvmTransaction.ts +0 -187
- package/src/models/EvmTransactionReceipt.ts +0 -108
- package/src/models/GoogleApiHttpBody.ts +0 -126
- package/src/models/GoogleProtobufAny.ts +0 -173
- package/src/models/GoogleProtobufNullValue.ts +0 -46
- package/src/models/InsightsServiceDataSource.ts +0 -46
- package/src/models/InsightsServiceInsightsServiceQueryBody.ts +0 -149
- package/src/models/InsightsServiceInsightsServiceRetentionBody.ts +0 -97
- package/src/models/InsightsServiceListCoinsResponse.ts +0 -81
- package/src/models/InsightsServiceQueryRequestQuery.ts +0 -117
- package/src/models/InsightsServiceQueryResponse.ts +0 -67
- package/src/models/InsightsServiceQueryResponseResult.ts +0 -119
- package/src/models/InsightsServiceRetentionRequest.ts +0 -113
- package/src/models/InsightsServiceRetentionResponse.ts +0 -89
- package/src/models/MetricsServiceGetMetricsResponse.ts +0 -67
- package/src/models/MetricsServiceMetricInfo.ts +0 -129
- package/src/models/MetricsServiceMetricInfoLabelValues.ts +0 -60
- package/src/models/MetricsServiceMetricMetadata.ts +0 -84
- package/src/models/MetricsServiceMetricsQueryResponse.ts +0 -67
- package/src/models/MetricsServiceMetricsQueryResponseMatrix.ts +0 -75
- package/src/models/MetricsServiceMetricsQueryResponseMetric.ts +0 -76
- package/src/models/MetricsServiceMetricsQueryResponseResult.ts +0 -105
- package/src/models/MetricsServiceMetricsQueryResponseSample.ts +0 -81
- package/src/models/MetricsServiceMetricsQueryResponseValue.ts +0 -68
- package/src/models/MetricsServiceObservabilityServiceQueryBody.ts +0 -121
- package/src/models/MetricsServiceObservabilityServiceQueryRangeBody.ts +0 -128
- package/src/models/MetricsServiceQueryValueResponse.ts +0 -67
- package/src/models/MetricsServiceQueryValueResponseResult.ts +0 -91
- package/src/models/SolidityServiceBlockOverrides.ts +0 -100
- package/src/models/SolidityServiceCompileSourceInternalResponse.ts +0 -67
- package/src/models/SolidityServiceCompilerOptions.ts +0 -97
- package/src/models/SolidityServiceContractKeyInfo.ts +0 -68
- package/src/models/SolidityServiceDecodeStateDiffResponse.ts +0 -60
- package/src/models/SolidityServiceFailure.ts +0 -68
- package/src/models/SolidityServiceFetchAndCompileInternalResponse.ts +0 -75
- package/src/models/SolidityServiceGetSimulationBundleResponse.ts +0 -75
- package/src/models/SolidityServiceGetSimulationResponse.ts +0 -67
- package/src/models/SolidityServiceGetSimulationsResponse.ts +0 -91
- package/src/models/SolidityServiceGetStorageSummaryInternalResponse.ts +0 -67
- package/src/models/SolidityServiceGetTraceCallInternalRequestBundle.ts +0 -75
- package/src/models/SolidityServiceGetTraceCallInternalRequestStateContext.ts +0 -68
- package/src/models/SolidityServiceGetTraceCallInternalResponse.ts +0 -76
- package/src/models/SolidityServiceGetTraceTransactionInternalResponse.ts +0 -60
- package/src/models/SolidityServiceMetadata.ts +0 -76
- package/src/models/SolidityServiceOptimizer.ts +0 -83
- package/src/models/SolidityServiceOptimizerDetails.ts +0 -91
- package/src/models/SolidityServiceOptimizerDetailsYulDetails.ts +0 -68
- package/src/models/SolidityServicePreProcessCompilationInternalResponse.ts +0 -60
- package/src/models/SolidityServiceSettings.ts +0 -113
- package/src/models/SolidityServiceSimulateTransactionBundleRequest.ts +0 -86
- package/src/models/SolidityServiceSimulateTransactionBundleResponse.ts +0 -83
- package/src/models/SolidityServiceSimulateTransactionRequest.ts +0 -86
- package/src/models/SolidityServiceSimulateTransactionResponse.ts +0 -67
- package/src/models/SolidityServiceSimulation.ts +0 -261
- package/src/models/SolidityServiceSimulationResult.ts +0 -81
- package/src/models/SolidityServiceSourceInfo.ts +0 -75
- package/src/models/SolidityServiceSourceMultiFile.ts +0 -68
- package/src/models/SolidityServiceSourceSpec.ts +0 -115
- package/src/models/SolidityServiceSpecializations.ts +0 -60
- package/src/models/SolidityServiceStateOverride.ts +0 -76
- package/src/models/SolidityServiceStorageSummaryResult.ts +0 -76
- package/src/models/SolidityServiceTxIdentifier.ts +0 -76
- package/src/models/TxindexEvmRawTransaction.ts +0 -147
- package/src/models/TxindexEvmSearchTransactionsResponse.ts +0 -75
- package/src/models/WebServiceChart.ts +0 -201
- package/src/models/WebServiceChartChartType.ts +0 -48
- package/src/models/WebServiceChartConfig.ts +0 -165
- package/src/models/WebServiceChartConfigBarGaugeConfig.ts +0 -95
- package/src/models/WebServiceChartConfigCalculation.ts +0 -47
- package/src/models/WebServiceChartConfigColorTheme.ts +0 -76
- package/src/models/WebServiceChartConfigColumnSort.ts +0 -68
- package/src/models/WebServiceChartConfigCompareTime.ts +0 -67
- package/src/models/WebServiceChartConfigDirection.ts +0 -42
- package/src/models/WebServiceChartConfigMappingRule.ts +0 -91
- package/src/models/WebServiceChartConfigMarker.ts +0 -99
- package/src/models/WebServiceChartConfigMarkerType.ts +0 -43
- package/src/models/WebServiceChartConfigPieConfig.ts +0 -97
- package/src/models/WebServiceChartConfigPieConfigPieType.ts +0 -42
- package/src/models/WebServiceChartConfigQueryValueConfig.ts +0 -97
- package/src/models/WebServiceChartConfigSort.ts +0 -75
- package/src/models/WebServiceChartConfigSortBy.ts +0 -42
- package/src/models/WebServiceChartConfigTableConfig.ts +0 -143
- package/src/models/WebServiceChartConfigTimeRangeOverride.ts +0 -89
- package/src/models/WebServiceChartConfigValueConfig.ts +0 -143
- package/src/models/WebServiceChartConfigValueConfigStyle.ts +0 -46
- package/src/models/WebServiceChartConfigValueFormatter.ts +0 -43
- package/src/models/WebServiceChartConfigYAxisConfig.ts +0 -84
- package/src/models/WebServiceChartDataSourceType.ts +0 -47
- package/src/models/WebServiceDashboard.ts +0 -203
- package/src/models/WebServiceDashboardDashboardVisibility.ts +0 -43
- package/src/models/WebServiceDashboardExtra.ts +0 -81
- package/src/models/WebServiceDashboardExtraTemplateVariable.ts +0 -84
- package/src/models/WebServiceDashboardExtraTemplateView.ts +0 -60
- package/src/models/WebServiceDashboardLayouts.ts +0 -67
- package/src/models/WebServiceDashboardLayoutsLayout.ts +0 -92
- package/src/models/WebServiceDashboardResponsiveLayouts.ts +0 -67
- package/src/models/WebServiceDashboardSharing.ts +0 -84
- package/src/models/WebServiceEventLogsConfig.ts +0 -97
- package/src/models/WebServiceEventLogsConfigTimeRangeOverride.ts +0 -75
- package/src/models/WebServiceExportDashboardResponse.ts +0 -60
- package/src/models/WebServiceGetDashboardResponse.ts +0 -81
- package/src/models/WebServiceGetProjectListResponse.ts +0 -83
- package/src/models/WebServiceGetProjectResponse.ts +0 -81
- package/src/models/WebServiceImportDashboardRequest.ts +0 -78
- package/src/models/WebServiceImportDashboardResponse.ts +0 -67
- package/src/models/WebServiceNote.ts +0 -119
- package/src/models/WebServiceNoteAlignment.ts +0 -43
- package/src/models/WebServiceNoteFontSize.ts +0 -45
- package/src/models/WebServiceNoteVerticalAlignment.ts +0 -43
- package/src/models/WebServicePanel.ts +0 -91
- package/src/models/index.ts +0 -200
- package/src/runtime.ts +0 -426
package/src/sdk.gen.ts
ADDED
|
@@ -0,0 +1,1351 @@
|
|
|
1
|
+
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
+
|
|
3
|
+
import type { Options as ClientOptions, TDataShape, Client } from '@hey-api/client-fetch';
|
|
4
|
+
import type { SaveAlertRuleData, SaveAlertRuleResponse, GetAlertRulesData, GetAlertRulesResponse, DeleteAlertRuleData, DeleteAlertRuleResponse, SaveAlertRule2Data, SaveAlertRule2Response, GetAlertData, GetAlertResponse, CancelSqlQueryData, CancelSqlQueryResponse, ExecuteSqlData, ExecuteSqlResponse, ExecuteSqlAsyncData, ExecuteSqlAsyncResponse, QuerySqlExecutionDetailData, QuerySqlExecutionDetailResponse, QuerySqlResultData, QuerySqlResultResponse, SaveSqlData, SaveSqlResponse, SaveSql2Data, SaveSql2Response, ListDashboardsData, ListDashboardsResponse, ImportDashboardData, ImportDashboardResponse, DeleteDashboardData, DeleteDashboardResponse, GetDashboardData, GetDashboardResponse, ExportDashboardData, ExportDashboardResponse, QueryLogData, QueryLogResponse, QueryLog2Data, QueryLog2Response, ListCoins2Data, ListCoins2Response, ListCoinsData, ListCoinsResponse, QueryData, QueryResponse, GetMetricsData, GetMetricsResponse, QueryInstantData, QueryInstantResponse, QueryRangeData, QueryRangeResponse, GetPriceData, GetPriceResponse, AddCoinByGeckoData, AddCoinByGeckoResponse, BatchGetPricesData, BatchGetPricesResponse, CheckLatestPriceData, CheckLatestPriceResponse, PriceListCoinsData, PriceListCoinsResponse, GetProcessorStatusV2Data, GetProcessorStatusV2Response, GetProjectData, GetProjectResponse, GetProjectByIdData, GetProjectByIdResponse, GetProjectListData, GetProjectListResponse, ListDashboards2Data, ListDashboards2Response, GetDashboard2Data, GetDashboard2Response, GetEstimatedGasPriceData, GetEstimatedGasPriceResponse, ListForksData, ListForksResponse, CreateForkData, CreateForkResponse, GetCallTraceOnForkBundleData, GetCallTraceOnForkBundleResponse, SimulateTransactionOnForkData, SimulateTransactionOnForkResponse, GetCallTraceOnForkSimulationData, GetCallTraceOnForkSimulationResponse, SimulateTransactionBundleOnForkData, SimulateTransactionBundleOnForkResponse, GetCallTraceOnForkTransactionData, GetCallTraceOnForkTransactionResponse, DeleteForkData, DeleteForkResponse, GetForkData, GetForkResponse, UpdateForkData, UpdateForkResponse, GetForkInfoData, GetForkInfoResponse, SearchTransactionsData, SearchTransactionsResponse, GetSimulationsData, GetSimulationsResponse, GetSimulationData, GetSimulationResponse, GetSimulationBundleInProjectData, GetSimulationBundleInProjectResponse, GetCallTraceByBundleData, GetCallTraceByBundleResponse, SimulateTransactionData, SimulateTransactionResponse, GetCallTraceBySimulationData, GetCallTraceBySimulationResponse, SimulateTransactionBundleData, SimulateTransactionBundleResponse, GetCallTraceByTransactionData, GetCallTraceByTransactionResponse } from './types.gen';
|
|
5
|
+
import { client as _heyApiClient } from './client.gen';
|
|
6
|
+
|
|
7
|
+
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = ClientOptions<TData, ThrowOnError> & {
|
|
8
|
+
/**
|
|
9
|
+
* You can provide a client instance returned by `createClient()` instead of
|
|
10
|
+
* individual options. This might be also useful if you want to implement a
|
|
11
|
+
* custom client.
|
|
12
|
+
*/
|
|
13
|
+
client?: Client;
|
|
14
|
+
/**
|
|
15
|
+
* You can pass arbitrary values through the `meta` object. This can be
|
|
16
|
+
* used to access values that aren't defined as part of the SDK function.
|
|
17
|
+
*/
|
|
18
|
+
meta?: Record<string, unknown>;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export class AlertsService {
|
|
22
|
+
/**
|
|
23
|
+
* Save an alert rule
|
|
24
|
+
*/
|
|
25
|
+
public static saveAlertRule<ThrowOnError extends boolean = false>(options: Options<SaveAlertRuleData, ThrowOnError>) {
|
|
26
|
+
return (options.client ?? _heyApiClient).post<SaveAlertRuleResponse, unknown, ThrowOnError>({
|
|
27
|
+
security: [
|
|
28
|
+
{
|
|
29
|
+
name: 'api-key',
|
|
30
|
+
type: 'apiKey'
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
in: 'query',
|
|
34
|
+
name: 'api-key',
|
|
35
|
+
type: 'apiKey'
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
url: '/api/v1/alerts/rule',
|
|
39
|
+
...options,
|
|
40
|
+
headers: {
|
|
41
|
+
'Content-Type': 'application/json',
|
|
42
|
+
...options?.headers
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* List all alert rules for a project
|
|
49
|
+
*/
|
|
50
|
+
public static getAlertRules<ThrowOnError extends boolean = false>(options: Options<GetAlertRulesData, ThrowOnError>) {
|
|
51
|
+
return (options.client ?? _heyApiClient).get<GetAlertRulesResponse, unknown, ThrowOnError>({
|
|
52
|
+
security: [
|
|
53
|
+
{
|
|
54
|
+
name: 'api-key',
|
|
55
|
+
type: 'apiKey'
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
in: 'query',
|
|
59
|
+
name: 'api-key',
|
|
60
|
+
type: 'apiKey'
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
url: '/api/v1/alerts/rule/project/{projectId}',
|
|
64
|
+
...options
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Delete an alert rule
|
|
70
|
+
*/
|
|
71
|
+
public static deleteAlertRule<ThrowOnError extends boolean = false>(options: Options<DeleteAlertRuleData, ThrowOnError>) {
|
|
72
|
+
return (options.client ?? _heyApiClient).delete<DeleteAlertRuleResponse, unknown, ThrowOnError>({
|
|
73
|
+
security: [
|
|
74
|
+
{
|
|
75
|
+
name: 'api-key',
|
|
76
|
+
type: 'apiKey'
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
in: 'query',
|
|
80
|
+
name: 'api-key',
|
|
81
|
+
type: 'apiKey'
|
|
82
|
+
}
|
|
83
|
+
],
|
|
84
|
+
url: '/api/v1/alerts/rule/{id}',
|
|
85
|
+
...options
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Save an alert rule
|
|
91
|
+
*/
|
|
92
|
+
public static saveAlertRule2<ThrowOnError extends boolean = false>(options: Options<SaveAlertRule2Data, ThrowOnError>) {
|
|
93
|
+
return (options.client ?? _heyApiClient).put<SaveAlertRule2Response, unknown, ThrowOnError>({
|
|
94
|
+
security: [
|
|
95
|
+
{
|
|
96
|
+
name: 'api-key',
|
|
97
|
+
type: 'apiKey'
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
in: 'query',
|
|
101
|
+
name: 'api-key',
|
|
102
|
+
type: 'apiKey'
|
|
103
|
+
}
|
|
104
|
+
],
|
|
105
|
+
url: '/api/v1/alerts/rule/{id}',
|
|
106
|
+
...options,
|
|
107
|
+
headers: {
|
|
108
|
+
'Content-Type': 'application/json',
|
|
109
|
+
...options?.headers
|
|
110
|
+
}
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Find an alert rule by id, and list all alerts for this rule
|
|
116
|
+
*/
|
|
117
|
+
public static getAlert<ThrowOnError extends boolean = false>(options: Options<GetAlertData, ThrowOnError>) {
|
|
118
|
+
return (options.client ?? _heyApiClient).get<GetAlertResponse, unknown, ThrowOnError>({
|
|
119
|
+
security: [
|
|
120
|
+
{
|
|
121
|
+
name: 'api-key',
|
|
122
|
+
type: 'apiKey'
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
in: 'query',
|
|
126
|
+
name: 'api-key',
|
|
127
|
+
type: 'apiKey'
|
|
128
|
+
}
|
|
129
|
+
],
|
|
130
|
+
url: '/api/v1/alerts/{ruleId}',
|
|
131
|
+
...options
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
export class DataService {
|
|
138
|
+
/**
|
|
139
|
+
* Cancel SQL Query
|
|
140
|
+
* Cancel a SQL query by execution_id.
|
|
141
|
+
*/
|
|
142
|
+
public static cancelSqlQuery<ThrowOnError extends boolean = false>(options: Options<CancelSqlQueryData, ThrowOnError>) {
|
|
143
|
+
return (options.client ?? _heyApiClient).put<CancelSqlQueryResponse, unknown, ThrowOnError>({
|
|
144
|
+
security: [
|
|
145
|
+
{
|
|
146
|
+
name: 'api-key',
|
|
147
|
+
type: 'apiKey'
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
in: 'query',
|
|
151
|
+
name: 'api-key',
|
|
152
|
+
type: 'apiKey'
|
|
153
|
+
}
|
|
154
|
+
],
|
|
155
|
+
url: '/api/v1/analytics/{owner}/{slug}/sql/cancel_query/{executionId}',
|
|
156
|
+
...options
|
|
157
|
+
});
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* Execute SQL
|
|
162
|
+
* Execute SQL in a project. Go to "Data Studio" -> "SQL Editor", write your query and then click "Export as cURL"
|
|
163
|
+
*
|
|
164
|
+
* .png)
|
|
165
|
+
*
|
|
166
|
+
* Find more: https://docs.sentio.xyz/reference/data#sql-api
|
|
167
|
+
*/
|
|
168
|
+
public static executeSql<ThrowOnError extends boolean = false>(options: Options<ExecuteSqlData, ThrowOnError>) {
|
|
169
|
+
return (options.client ?? _heyApiClient).post<ExecuteSqlResponse, unknown, ThrowOnError>({
|
|
170
|
+
security: [
|
|
171
|
+
{
|
|
172
|
+
name: 'api-key',
|
|
173
|
+
type: 'apiKey'
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
in: 'query',
|
|
177
|
+
name: 'api-key',
|
|
178
|
+
type: 'apiKey'
|
|
179
|
+
}
|
|
180
|
+
],
|
|
181
|
+
url: '/api/v1/analytics/{owner}/{slug}/sql/execute',
|
|
182
|
+
...options,
|
|
183
|
+
headers: {
|
|
184
|
+
'Content-Type': 'application/json',
|
|
185
|
+
...options?.headers
|
|
186
|
+
}
|
|
187
|
+
});
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* Execute SQL by Async
|
|
192
|
+
* Execute SQL in a project asynchronously.
|
|
193
|
+
*/
|
|
194
|
+
public static executeSqlAsync<ThrowOnError extends boolean = false>(options: Options<ExecuteSqlAsyncData, ThrowOnError>) {
|
|
195
|
+
return (options.client ?? _heyApiClient).post<ExecuteSqlAsyncResponse, unknown, ThrowOnError>({
|
|
196
|
+
security: [
|
|
197
|
+
{
|
|
198
|
+
name: 'api-key',
|
|
199
|
+
type: 'apiKey'
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
in: 'query',
|
|
203
|
+
name: 'api-key',
|
|
204
|
+
type: 'apiKey'
|
|
205
|
+
}
|
|
206
|
+
],
|
|
207
|
+
url: '/api/v1/analytics/{owner}/{slug}/sql/execute/async',
|
|
208
|
+
...options,
|
|
209
|
+
headers: {
|
|
210
|
+
'Content-Type': 'application/json',
|
|
211
|
+
...options?.headers
|
|
212
|
+
}
|
|
213
|
+
});
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* Query SQL Execution Detail
|
|
218
|
+
* Query the execution detail of a SQL query by execution_id.
|
|
219
|
+
*/
|
|
220
|
+
public static querySqlExecutionDetail<ThrowOnError extends boolean = false>(options: Options<QuerySqlExecutionDetailData, ThrowOnError>) {
|
|
221
|
+
return (options.client ?? _heyApiClient).get<QuerySqlExecutionDetailResponse, unknown, ThrowOnError>({
|
|
222
|
+
security: [
|
|
223
|
+
{
|
|
224
|
+
name: 'api-key',
|
|
225
|
+
type: 'apiKey'
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
in: 'query',
|
|
229
|
+
name: 'api-key',
|
|
230
|
+
type: 'apiKey'
|
|
231
|
+
}
|
|
232
|
+
],
|
|
233
|
+
url: '/api/v1/analytics/{owner}/{slug}/sql/query_execution_detail/{executionId}',
|
|
234
|
+
...options
|
|
235
|
+
});
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* Query SQL Result
|
|
240
|
+
* Query the result of a SQL query by execution_id.
|
|
241
|
+
*/
|
|
242
|
+
public static querySqlResult<ThrowOnError extends boolean = false>(options: Options<QuerySqlResultData, ThrowOnError>) {
|
|
243
|
+
return (options.client ?? _heyApiClient).get<QuerySqlResultResponse, unknown, ThrowOnError>({
|
|
244
|
+
security: [
|
|
245
|
+
{
|
|
246
|
+
name: 'api-key',
|
|
247
|
+
type: 'apiKey'
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
in: 'query',
|
|
251
|
+
name: 'api-key',
|
|
252
|
+
type: 'apiKey'
|
|
253
|
+
}
|
|
254
|
+
],
|
|
255
|
+
url: '/api/v1/analytics/{owner}/{slug}/sql/query_result/{executionId}',
|
|
256
|
+
...options
|
|
257
|
+
});
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* Save SQL
|
|
262
|
+
* Save or update a SQL query in a project.
|
|
263
|
+
*/
|
|
264
|
+
public static saveSql<ThrowOnError extends boolean = false>(options: Options<SaveSqlData, ThrowOnError>) {
|
|
265
|
+
return (options.client ?? _heyApiClient).post<SaveSqlResponse, unknown, ThrowOnError>({
|
|
266
|
+
security: [
|
|
267
|
+
{
|
|
268
|
+
name: 'api-key',
|
|
269
|
+
type: 'apiKey'
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
in: 'query',
|
|
273
|
+
name: 'api-key',
|
|
274
|
+
type: 'apiKey'
|
|
275
|
+
}
|
|
276
|
+
],
|
|
277
|
+
url: '/api/v1/analytics/{owner}/{slug}/sql/save',
|
|
278
|
+
...options,
|
|
279
|
+
headers: {
|
|
280
|
+
'Content-Type': 'application/json',
|
|
281
|
+
...options?.headers
|
|
282
|
+
}
|
|
283
|
+
});
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* Save SQL
|
|
288
|
+
* Save or update a SQL query in a project.
|
|
289
|
+
*/
|
|
290
|
+
public static saveSql2<ThrowOnError extends boolean = false>(options: Options<SaveSql2Data, ThrowOnError>) {
|
|
291
|
+
return (options.client ?? _heyApiClient).put<SaveSql2Response, unknown, ThrowOnError>({
|
|
292
|
+
security: [
|
|
293
|
+
{
|
|
294
|
+
name: 'api-key',
|
|
295
|
+
type: 'apiKey'
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
in: 'query',
|
|
299
|
+
name: 'api-key',
|
|
300
|
+
type: 'apiKey'
|
|
301
|
+
}
|
|
302
|
+
],
|
|
303
|
+
url: '/api/v1/analytics/{owner}/{slug}/sql/save',
|
|
304
|
+
...options,
|
|
305
|
+
headers: {
|
|
306
|
+
'Content-Type': 'application/json',
|
|
307
|
+
...options?.headers
|
|
308
|
+
}
|
|
309
|
+
});
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* Query event logs
|
|
314
|
+
*/
|
|
315
|
+
public static queryLog<ThrowOnError extends boolean = false>(options: Options<QueryLogData, ThrowOnError>) {
|
|
316
|
+
return (options.client ?? _heyApiClient).post<QueryLogResponse, unknown, ThrowOnError>({
|
|
317
|
+
security: [
|
|
318
|
+
{
|
|
319
|
+
name: 'api-key',
|
|
320
|
+
type: 'apiKey'
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
in: 'query',
|
|
324
|
+
name: 'api-key',
|
|
325
|
+
type: 'apiKey'
|
|
326
|
+
}
|
|
327
|
+
],
|
|
328
|
+
url: '/api/v1/eventlogs/{owner}/{slug}',
|
|
329
|
+
...options,
|
|
330
|
+
headers: {
|
|
331
|
+
'Content-Type': 'application/json',
|
|
332
|
+
...options?.headers
|
|
333
|
+
}
|
|
334
|
+
});
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
* Query event logs
|
|
339
|
+
*/
|
|
340
|
+
public static queryLog2<ThrowOnError extends boolean = false>(options: Options<QueryLog2Data, ThrowOnError>) {
|
|
341
|
+
return (options.client ?? _heyApiClient).get<QueryLog2Response, unknown, ThrowOnError>({
|
|
342
|
+
security: [
|
|
343
|
+
{
|
|
344
|
+
name: 'api-key',
|
|
345
|
+
type: 'apiKey'
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
in: 'query',
|
|
349
|
+
name: 'api-key',
|
|
350
|
+
type: 'apiKey'
|
|
351
|
+
}
|
|
352
|
+
],
|
|
353
|
+
url: '/api/v1/eventlogs/{owner}/{slug}/query',
|
|
354
|
+
...options
|
|
355
|
+
});
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
/**
|
|
359
|
+
* List coins
|
|
360
|
+
* Get a list of coins in a project.
|
|
361
|
+
*/
|
|
362
|
+
public static listCoins2<ThrowOnError extends boolean = false>(options?: Options<ListCoins2Data, ThrowOnError>) {
|
|
363
|
+
return (options?.client ?? _heyApiClient).get<ListCoins2Response, unknown, ThrowOnError>({
|
|
364
|
+
security: [
|
|
365
|
+
{
|
|
366
|
+
name: 'api-key',
|
|
367
|
+
type: 'apiKey'
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
in: 'query',
|
|
371
|
+
name: 'api-key',
|
|
372
|
+
type: 'apiKey'
|
|
373
|
+
}
|
|
374
|
+
],
|
|
375
|
+
url: '/api/v1/insights/coins',
|
|
376
|
+
...options
|
|
377
|
+
});
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
/**
|
|
381
|
+
* List coins
|
|
382
|
+
* Get a list of coins in a project.
|
|
383
|
+
*/
|
|
384
|
+
public static listCoins<ThrowOnError extends boolean = false>(options: Options<ListCoinsData, ThrowOnError>) {
|
|
385
|
+
return (options.client ?? _heyApiClient).get<ListCoinsResponse, unknown, ThrowOnError>({
|
|
386
|
+
security: [
|
|
387
|
+
{
|
|
388
|
+
name: 'api-key',
|
|
389
|
+
type: 'apiKey'
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
in: 'query',
|
|
393
|
+
name: 'api-key',
|
|
394
|
+
type: 'apiKey'
|
|
395
|
+
}
|
|
396
|
+
],
|
|
397
|
+
url: '/api/v1/insights/{owner}/{slug}/coins',
|
|
398
|
+
...options
|
|
399
|
+
});
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
/**
|
|
403
|
+
* Insight Query
|
|
404
|
+
* Query for metrics,event logs and coin prices in a project.
|
|
405
|
+
*/
|
|
406
|
+
public static query<ThrowOnError extends boolean = false>(options: Options<QueryData, ThrowOnError>) {
|
|
407
|
+
return (options.client ?? _heyApiClient).post<QueryResponse, unknown, ThrowOnError>({
|
|
408
|
+
security: [
|
|
409
|
+
{
|
|
410
|
+
name: 'api-key',
|
|
411
|
+
type: 'apiKey'
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
in: 'query',
|
|
415
|
+
name: 'api-key',
|
|
416
|
+
type: 'apiKey'
|
|
417
|
+
}
|
|
418
|
+
],
|
|
419
|
+
url: '/api/v1/insights/{owner}/{slug}/query',
|
|
420
|
+
...options,
|
|
421
|
+
headers: {
|
|
422
|
+
'Content-Type': 'application/json',
|
|
423
|
+
...options?.headers
|
|
424
|
+
}
|
|
425
|
+
});
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
/**
|
|
429
|
+
* Get a list of metrics in a project
|
|
430
|
+
*/
|
|
431
|
+
public static getMetrics<ThrowOnError extends boolean = false>(options?: Options<GetMetricsData, ThrowOnError>) {
|
|
432
|
+
return (options?.client ?? _heyApiClient).get<GetMetricsResponse, unknown, ThrowOnError>({
|
|
433
|
+
security: [
|
|
434
|
+
{
|
|
435
|
+
name: 'api-key',
|
|
436
|
+
type: 'apiKey'
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
in: 'query',
|
|
440
|
+
name: 'api-key',
|
|
441
|
+
type: 'apiKey'
|
|
442
|
+
}
|
|
443
|
+
],
|
|
444
|
+
url: '/api/v1/metrics',
|
|
445
|
+
...options
|
|
446
|
+
});
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
/**
|
|
450
|
+
* Metric instant queries
|
|
451
|
+
*/
|
|
452
|
+
public static queryInstant<ThrowOnError extends boolean = false>(options: Options<QueryInstantData, ThrowOnError>) {
|
|
453
|
+
return (options.client ?? _heyApiClient).post<QueryInstantResponse, unknown, ThrowOnError>({
|
|
454
|
+
security: [
|
|
455
|
+
{
|
|
456
|
+
name: 'api-key',
|
|
457
|
+
type: 'apiKey'
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
in: 'query',
|
|
461
|
+
name: 'api-key',
|
|
462
|
+
type: 'apiKey'
|
|
463
|
+
}
|
|
464
|
+
],
|
|
465
|
+
url: '/api/v1/metrics/{owner}/{slug}/query',
|
|
466
|
+
...options,
|
|
467
|
+
headers: {
|
|
468
|
+
'Content-Type': 'application/json',
|
|
469
|
+
...options?.headers
|
|
470
|
+
}
|
|
471
|
+
});
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
/**
|
|
475
|
+
* Metric range queries
|
|
476
|
+
* The easiest way to build query is through UI, you could first create an insight chart, and then **Export as cURL**.
|
|
477
|
+
*
|
|
478
|
+
* .png)
|
|
479
|
+
*/
|
|
480
|
+
public static queryRange<ThrowOnError extends boolean = false>(options: Options<QueryRangeData, ThrowOnError>) {
|
|
481
|
+
return (options.client ?? _heyApiClient).post<QueryRangeResponse, unknown, ThrowOnError>({
|
|
482
|
+
security: [
|
|
483
|
+
{
|
|
484
|
+
name: 'api-key',
|
|
485
|
+
type: 'apiKey'
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
in: 'query',
|
|
489
|
+
name: 'api-key',
|
|
490
|
+
type: 'apiKey'
|
|
491
|
+
}
|
|
492
|
+
],
|
|
493
|
+
url: '/api/v1/metrics/{owner}/{slug}/query_range',
|
|
494
|
+
...options,
|
|
495
|
+
headers: {
|
|
496
|
+
'Content-Type': 'application/json',
|
|
497
|
+
...options?.headers
|
|
498
|
+
}
|
|
499
|
+
});
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
export class WebService {
|
|
505
|
+
/**
|
|
506
|
+
* List all dashboards in a project
|
|
507
|
+
*/
|
|
508
|
+
public static listDashboards<ThrowOnError extends boolean = false>(options?: Options<ListDashboardsData, ThrowOnError>) {
|
|
509
|
+
return (options?.client ?? _heyApiClient).get<ListDashboardsResponse, unknown, ThrowOnError>({
|
|
510
|
+
security: [
|
|
511
|
+
{
|
|
512
|
+
name: 'api-key',
|
|
513
|
+
type: 'apiKey'
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
in: 'query',
|
|
517
|
+
name: 'api-key',
|
|
518
|
+
type: 'apiKey'
|
|
519
|
+
}
|
|
520
|
+
],
|
|
521
|
+
url: '/api/v1/dashboards',
|
|
522
|
+
...options
|
|
523
|
+
});
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
/**
|
|
527
|
+
* Import a dashboard to another dashboard
|
|
528
|
+
*/
|
|
529
|
+
public static importDashboard<ThrowOnError extends boolean = false>(options: Options<ImportDashboardData, ThrowOnError>) {
|
|
530
|
+
return (options.client ?? _heyApiClient).post<ImportDashboardResponse, unknown, ThrowOnError>({
|
|
531
|
+
security: [
|
|
532
|
+
{
|
|
533
|
+
name: 'api-key',
|
|
534
|
+
type: 'apiKey'
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
in: 'query',
|
|
538
|
+
name: 'api-key',
|
|
539
|
+
type: 'apiKey'
|
|
540
|
+
}
|
|
541
|
+
],
|
|
542
|
+
url: '/api/v1/dashboards/json',
|
|
543
|
+
...options,
|
|
544
|
+
headers: {
|
|
545
|
+
'Content-Type': 'application/json',
|
|
546
|
+
...options?.headers
|
|
547
|
+
}
|
|
548
|
+
});
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
/**
|
|
552
|
+
* Delete a dashboard by id
|
|
553
|
+
*/
|
|
554
|
+
public static deleteDashboard<ThrowOnError extends boolean = false>(options: Options<DeleteDashboardData, ThrowOnError>) {
|
|
555
|
+
return (options.client ?? _heyApiClient).delete<DeleteDashboardResponse, unknown, ThrowOnError>({
|
|
556
|
+
security: [
|
|
557
|
+
{
|
|
558
|
+
name: 'api-key',
|
|
559
|
+
type: 'apiKey'
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
in: 'query',
|
|
563
|
+
name: 'api-key',
|
|
564
|
+
type: 'apiKey'
|
|
565
|
+
}
|
|
566
|
+
],
|
|
567
|
+
url: '/api/v1/dashboards/{dashboardId}',
|
|
568
|
+
...options
|
|
569
|
+
});
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
/**
|
|
573
|
+
* Get a dashboard by id
|
|
574
|
+
*/
|
|
575
|
+
public static getDashboard<ThrowOnError extends boolean = false>(options: Options<GetDashboardData, ThrowOnError>) {
|
|
576
|
+
return (options.client ?? _heyApiClient).get<GetDashboardResponse, unknown, ThrowOnError>({
|
|
577
|
+
security: [
|
|
578
|
+
{
|
|
579
|
+
name: 'api-key',
|
|
580
|
+
type: 'apiKey'
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
in: 'query',
|
|
584
|
+
name: 'api-key',
|
|
585
|
+
type: 'apiKey'
|
|
586
|
+
}
|
|
587
|
+
],
|
|
588
|
+
url: '/api/v1/dashboards/{dashboardId}',
|
|
589
|
+
...options
|
|
590
|
+
});
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
/**
|
|
594
|
+
* Export a dashboard to json
|
|
595
|
+
*/
|
|
596
|
+
public static exportDashboard<ThrowOnError extends boolean = false>(options: Options<ExportDashboardData, ThrowOnError>) {
|
|
597
|
+
return (options.client ?? _heyApiClient).get<ExportDashboardResponse, unknown, ThrowOnError>({
|
|
598
|
+
security: [
|
|
599
|
+
{
|
|
600
|
+
name: 'api-key',
|
|
601
|
+
type: 'apiKey'
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
in: 'query',
|
|
605
|
+
name: 'api-key',
|
|
606
|
+
type: 'apiKey'
|
|
607
|
+
}
|
|
608
|
+
],
|
|
609
|
+
url: '/api/v1/dashboards/{dashboardId}/json',
|
|
610
|
+
...options
|
|
611
|
+
});
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
/**
|
|
615
|
+
* Get project details
|
|
616
|
+
*/
|
|
617
|
+
public static getProject<ThrowOnError extends boolean = false>(options: Options<GetProjectData, ThrowOnError>) {
|
|
618
|
+
return (options.client ?? _heyApiClient).get<GetProjectResponse, unknown, ThrowOnError>({
|
|
619
|
+
security: [
|
|
620
|
+
{
|
|
621
|
+
name: 'api-key',
|
|
622
|
+
type: 'apiKey'
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
in: 'query',
|
|
626
|
+
name: 'api-key',
|
|
627
|
+
type: 'apiKey'
|
|
628
|
+
}
|
|
629
|
+
],
|
|
630
|
+
url: '/api/v1/project/{owner}/{slug}',
|
|
631
|
+
...options
|
|
632
|
+
});
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
/**
|
|
636
|
+
* Get project details
|
|
637
|
+
*/
|
|
638
|
+
public static getProjectById<ThrowOnError extends boolean = false>(options: Options<GetProjectByIdData, ThrowOnError>) {
|
|
639
|
+
return (options.client ?? _heyApiClient).get<GetProjectByIdResponse, unknown, ThrowOnError>({
|
|
640
|
+
security: [
|
|
641
|
+
{
|
|
642
|
+
name: 'api-key',
|
|
643
|
+
type: 'apiKey'
|
|
644
|
+
},
|
|
645
|
+
{
|
|
646
|
+
in: 'query',
|
|
647
|
+
name: 'api-key',
|
|
648
|
+
type: 'apiKey'
|
|
649
|
+
}
|
|
650
|
+
],
|
|
651
|
+
url: '/api/v1/project/{projectId}',
|
|
652
|
+
...options
|
|
653
|
+
});
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
/**
|
|
657
|
+
* Get project list
|
|
658
|
+
*/
|
|
659
|
+
public static getProjectList<ThrowOnError extends boolean = false>(options?: Options<GetProjectListData, ThrowOnError>) {
|
|
660
|
+
return (options?.client ?? _heyApiClient).get<GetProjectListResponse, unknown, ThrowOnError>({
|
|
661
|
+
security: [
|
|
662
|
+
{
|
|
663
|
+
name: 'api-key',
|
|
664
|
+
type: 'apiKey'
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
in: 'query',
|
|
668
|
+
name: 'api-key',
|
|
669
|
+
type: 'apiKey'
|
|
670
|
+
}
|
|
671
|
+
],
|
|
672
|
+
url: '/api/v1/projects',
|
|
673
|
+
...options
|
|
674
|
+
});
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
/**
|
|
678
|
+
* List all dashboards in a project
|
|
679
|
+
*/
|
|
680
|
+
public static listDashboards2<ThrowOnError extends boolean = false>(options: Options<ListDashboards2Data, ThrowOnError>) {
|
|
681
|
+
return (options.client ?? _heyApiClient).get<ListDashboards2Response, unknown, ThrowOnError>({
|
|
682
|
+
security: [
|
|
683
|
+
{
|
|
684
|
+
name: 'api-key',
|
|
685
|
+
type: 'apiKey'
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
in: 'query',
|
|
689
|
+
name: 'api-key',
|
|
690
|
+
type: 'apiKey'
|
|
691
|
+
}
|
|
692
|
+
],
|
|
693
|
+
url: '/api/v1/projects/{owner}/{slug}/dashboards',
|
|
694
|
+
...options
|
|
695
|
+
});
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
/**
|
|
699
|
+
* Get a dashboard by id
|
|
700
|
+
*/
|
|
701
|
+
public static getDashboard2<ThrowOnError extends boolean = false>(options: Options<GetDashboard2Data, ThrowOnError>) {
|
|
702
|
+
return (options.client ?? _heyApiClient).get<GetDashboard2Response, unknown, ThrowOnError>({
|
|
703
|
+
security: [
|
|
704
|
+
{
|
|
705
|
+
name: 'api-key',
|
|
706
|
+
type: 'apiKey'
|
|
707
|
+
},
|
|
708
|
+
{
|
|
709
|
+
in: 'query',
|
|
710
|
+
name: 'api-key',
|
|
711
|
+
type: 'apiKey'
|
|
712
|
+
}
|
|
713
|
+
],
|
|
714
|
+
url: '/api/v1/projects/{owner}/{slug}/dashboards/{dashboardId}',
|
|
715
|
+
...options
|
|
716
|
+
});
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
export class PriceService {
|
|
722
|
+
/**
|
|
723
|
+
* Get price
|
|
724
|
+
* GetPrice returns the price of a given coin identifier, in a best effort way.
|
|
725
|
+
* If we do not have any price data for the given coin, we will return NOT_FOUND error.
|
|
726
|
+
* If we have at least one price data for the given coin, we will return it with the actual timestamp.
|
|
727
|
+
* Client is responsible for checking the timestamp and decide whether to use the price or not.
|
|
728
|
+
*/
|
|
729
|
+
public static getPrice<ThrowOnError extends boolean = false>(options?: Options<GetPriceData, ThrowOnError>) {
|
|
730
|
+
return (options?.client ?? _heyApiClient).get<GetPriceResponse, unknown, ThrowOnError>({
|
|
731
|
+
security: [
|
|
732
|
+
{
|
|
733
|
+
name: 'api-key',
|
|
734
|
+
type: 'apiKey'
|
|
735
|
+
},
|
|
736
|
+
{
|
|
737
|
+
in: 'query',
|
|
738
|
+
name: 'api-key',
|
|
739
|
+
type: 'apiKey'
|
|
740
|
+
}
|
|
741
|
+
],
|
|
742
|
+
url: '/api/v1/prices',
|
|
743
|
+
...options
|
|
744
|
+
});
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
/**
|
|
748
|
+
* Add coin by Gecko
|
|
749
|
+
* adds a coin by its coingecko id.
|
|
750
|
+
*
|
|
751
|
+
* coingecko id the API ID of the coin in coingecko web page.
|
|
752
|
+
*
|
|
753
|
+
* please AWARE that the coingecko id is NOT the same as the symbol of the coin.
|
|
754
|
+
*
|
|
755
|
+
* 
|
|
756
|
+
*/
|
|
757
|
+
public static addCoinByGecko<ThrowOnError extends boolean = false>(options: Options<AddCoinByGeckoData, ThrowOnError>) {
|
|
758
|
+
return (options.client ?? _heyApiClient).post<AddCoinByGeckoResponse, unknown, ThrowOnError>({
|
|
759
|
+
security: [
|
|
760
|
+
{
|
|
761
|
+
name: 'api-key',
|
|
762
|
+
type: 'apiKey'
|
|
763
|
+
},
|
|
764
|
+
{
|
|
765
|
+
in: 'query',
|
|
766
|
+
name: 'api-key',
|
|
767
|
+
type: 'apiKey'
|
|
768
|
+
}
|
|
769
|
+
],
|
|
770
|
+
url: '/api/v1/prices/add_coin_by_gecko',
|
|
771
|
+
...options,
|
|
772
|
+
headers: {
|
|
773
|
+
'Content-Type': 'application/json',
|
|
774
|
+
...options?.headers
|
|
775
|
+
}
|
|
776
|
+
});
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
/**
|
|
780
|
+
* Batch get prices
|
|
781
|
+
*/
|
|
782
|
+
public static batchGetPrices<ThrowOnError extends boolean = false>(options: Options<BatchGetPricesData, ThrowOnError>) {
|
|
783
|
+
return (options.client ?? _heyApiClient).post<BatchGetPricesResponse, unknown, ThrowOnError>({
|
|
784
|
+
security: [
|
|
785
|
+
{
|
|
786
|
+
name: 'api-key',
|
|
787
|
+
type: 'apiKey'
|
|
788
|
+
},
|
|
789
|
+
{
|
|
790
|
+
in: 'query',
|
|
791
|
+
name: 'api-key',
|
|
792
|
+
type: 'apiKey'
|
|
793
|
+
}
|
|
794
|
+
],
|
|
795
|
+
url: '/api/v1/prices/batch',
|
|
796
|
+
...options,
|
|
797
|
+
headers: {
|
|
798
|
+
'Content-Type': 'application/json',
|
|
799
|
+
...options?.headers
|
|
800
|
+
}
|
|
801
|
+
});
|
|
802
|
+
}
|
|
803
|
+
|
|
804
|
+
/**
|
|
805
|
+
* Check latest price
|
|
806
|
+
*/
|
|
807
|
+
public static checkLatestPrice<ThrowOnError extends boolean = false>(options?: Options<CheckLatestPriceData, ThrowOnError>) {
|
|
808
|
+
return (options?.client ?? _heyApiClient).get<CheckLatestPriceResponse, unknown, ThrowOnError>({
|
|
809
|
+
security: [
|
|
810
|
+
{
|
|
811
|
+
name: 'api-key',
|
|
812
|
+
type: 'apiKey'
|
|
813
|
+
},
|
|
814
|
+
{
|
|
815
|
+
in: 'query',
|
|
816
|
+
name: 'api-key',
|
|
817
|
+
type: 'apiKey'
|
|
818
|
+
}
|
|
819
|
+
],
|
|
820
|
+
url: '/api/v1/prices/check_latest',
|
|
821
|
+
...options
|
|
822
|
+
});
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
/**
|
|
826
|
+
* List coins
|
|
827
|
+
*/
|
|
828
|
+
public static priceListCoins<ThrowOnError extends boolean = false>(options?: Options<PriceListCoinsData, ThrowOnError>) {
|
|
829
|
+
return (options?.client ?? _heyApiClient).get<PriceListCoinsResponse, unknown, ThrowOnError>({
|
|
830
|
+
security: [
|
|
831
|
+
{
|
|
832
|
+
name: 'api-key',
|
|
833
|
+
type: 'apiKey'
|
|
834
|
+
},
|
|
835
|
+
{
|
|
836
|
+
in: 'query',
|
|
837
|
+
name: 'api-key',
|
|
838
|
+
type: 'apiKey'
|
|
839
|
+
}
|
|
840
|
+
],
|
|
841
|
+
url: '/api/v1/prices/coins',
|
|
842
|
+
...options
|
|
843
|
+
});
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
export class ProcessorService {
|
|
849
|
+
/**
|
|
850
|
+
* Get processor status
|
|
851
|
+
*/
|
|
852
|
+
public static getProcessorStatusV2<ThrowOnError extends boolean = false>(options: Options<GetProcessorStatusV2Data, ThrowOnError>) {
|
|
853
|
+
return (options.client ?? _heyApiClient).get<GetProcessorStatusV2Response, unknown, ThrowOnError>({
|
|
854
|
+
security: [
|
|
855
|
+
{
|
|
856
|
+
name: 'api-key',
|
|
857
|
+
type: 'apiKey'
|
|
858
|
+
},
|
|
859
|
+
{
|
|
860
|
+
in: 'query',
|
|
861
|
+
name: 'api-key',
|
|
862
|
+
type: 'apiKey'
|
|
863
|
+
}
|
|
864
|
+
],
|
|
865
|
+
url: '/api/v1/processors/{owner}/{slug}/status',
|
|
866
|
+
...options
|
|
867
|
+
});
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
export class DebugAndSimulationService {
|
|
873
|
+
/**
|
|
874
|
+
* Estimate gas price
|
|
875
|
+
*/
|
|
876
|
+
public static getEstimatedGasPrice<ThrowOnError extends boolean = false>(options?: Options<GetEstimatedGasPriceData, ThrowOnError>) {
|
|
877
|
+
return (options?.client ?? _heyApiClient).get<GetEstimatedGasPriceResponse, unknown, ThrowOnError>({
|
|
878
|
+
security: [
|
|
879
|
+
{
|
|
880
|
+
name: 'api-key',
|
|
881
|
+
type: 'apiKey'
|
|
882
|
+
},
|
|
883
|
+
{
|
|
884
|
+
in: 'query',
|
|
885
|
+
name: 'api-key',
|
|
886
|
+
type: 'apiKey'
|
|
887
|
+
}
|
|
888
|
+
],
|
|
889
|
+
url: '/api/v1/solidity/estimated_gas_price',
|
|
890
|
+
...options
|
|
891
|
+
});
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
/**
|
|
895
|
+
* Search transactions
|
|
896
|
+
*/
|
|
897
|
+
public static searchTransactions<ThrowOnError extends boolean = false>(options: Options<SearchTransactionsData, ThrowOnError>) {
|
|
898
|
+
return (options.client ?? _heyApiClient).get<SearchTransactionsResponse, unknown, ThrowOnError>({
|
|
899
|
+
security: [
|
|
900
|
+
{
|
|
901
|
+
name: 'api-key',
|
|
902
|
+
type: 'apiKey'
|
|
903
|
+
},
|
|
904
|
+
{
|
|
905
|
+
in: 'query',
|
|
906
|
+
name: 'api-key',
|
|
907
|
+
type: 'apiKey'
|
|
908
|
+
}
|
|
909
|
+
],
|
|
910
|
+
url: '/api/v1/solidity/{owner}/{slug}/search_transactions',
|
|
911
|
+
...options
|
|
912
|
+
});
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
/**
|
|
916
|
+
* Get list of simulations
|
|
917
|
+
*/
|
|
918
|
+
public static getSimulations<ThrowOnError extends boolean = false>(options: Options<GetSimulationsData, ThrowOnError>) {
|
|
919
|
+
return (options.client ?? _heyApiClient).get<GetSimulationsResponse, unknown, ThrowOnError>({
|
|
920
|
+
security: [
|
|
921
|
+
{
|
|
922
|
+
name: 'api-key',
|
|
923
|
+
type: 'apiKey'
|
|
924
|
+
},
|
|
925
|
+
{
|
|
926
|
+
in: 'query',
|
|
927
|
+
name: 'api-key',
|
|
928
|
+
type: 'apiKey'
|
|
929
|
+
}
|
|
930
|
+
],
|
|
931
|
+
url: '/api/v1/solidity/{owner}/{slug}/simulation',
|
|
932
|
+
...options
|
|
933
|
+
});
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
/**
|
|
937
|
+
* Get simulation by ID
|
|
938
|
+
*/
|
|
939
|
+
public static getSimulation<ThrowOnError extends boolean = false>(options: Options<GetSimulationData, ThrowOnError>) {
|
|
940
|
+
return (options.client ?? _heyApiClient).get<GetSimulationResponse, unknown, ThrowOnError>({
|
|
941
|
+
security: [
|
|
942
|
+
{
|
|
943
|
+
name: 'api-key',
|
|
944
|
+
type: 'apiKey'
|
|
945
|
+
},
|
|
946
|
+
{
|
|
947
|
+
in: 'query',
|
|
948
|
+
name: 'api-key',
|
|
949
|
+
type: 'apiKey'
|
|
950
|
+
}
|
|
951
|
+
],
|
|
952
|
+
url: '/api/v1/solidity/{owner}/{slug}/simulation/{simulationId}',
|
|
953
|
+
...options
|
|
954
|
+
});
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
/**
|
|
958
|
+
* Get bundle simulation by ID
|
|
959
|
+
*/
|
|
960
|
+
public static getSimulationBundleInProject<ThrowOnError extends boolean = false>(options: Options<GetSimulationBundleInProjectData, ThrowOnError>) {
|
|
961
|
+
return (options.client ?? _heyApiClient).get<GetSimulationBundleInProjectResponse, unknown, ThrowOnError>({
|
|
962
|
+
security: [
|
|
963
|
+
{
|
|
964
|
+
name: 'api-key',
|
|
965
|
+
type: 'apiKey'
|
|
966
|
+
},
|
|
967
|
+
{
|
|
968
|
+
in: 'query',
|
|
969
|
+
name: 'api-key',
|
|
970
|
+
type: 'apiKey'
|
|
971
|
+
}
|
|
972
|
+
],
|
|
973
|
+
url: '/api/v1/solidity/{owner}/{slug}/simulation_bundle/{bundleId}',
|
|
974
|
+
...options
|
|
975
|
+
});
|
|
976
|
+
}
|
|
977
|
+
|
|
978
|
+
/**
|
|
979
|
+
* Get trace by bundle simulation
|
|
980
|
+
*/
|
|
981
|
+
public static getCallTraceByBundle<ThrowOnError extends boolean = false>(options: Options<GetCallTraceByBundleData, ThrowOnError>) {
|
|
982
|
+
return (options.client ?? _heyApiClient).get<GetCallTraceByBundleResponse, unknown, ThrowOnError>({
|
|
983
|
+
security: [
|
|
984
|
+
{
|
|
985
|
+
name: 'api-key',
|
|
986
|
+
type: 'apiKey'
|
|
987
|
+
},
|
|
988
|
+
{
|
|
989
|
+
in: 'query',
|
|
990
|
+
name: 'api-key',
|
|
991
|
+
type: 'apiKey'
|
|
992
|
+
}
|
|
993
|
+
],
|
|
994
|
+
url: '/api/v1/solidity/{owner}/{slug}/{chainId}/bundle/{bundleId}/call_trace',
|
|
995
|
+
...options
|
|
996
|
+
});
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
/**
|
|
1000
|
+
* Run simulation
|
|
1001
|
+
* Create a new transaction simulation. The simulation body should be included in the request body.
|
|
1002
|
+
* Your simulations will be saved, and a unique ID for each simulation is included in the response. It will be useful for fetching simulation details.
|
|
1003
|
+
*/
|
|
1004
|
+
public static simulateTransaction<ThrowOnError extends boolean = false>(options: Options<SimulateTransactionData, ThrowOnError>) {
|
|
1005
|
+
return (options.client ?? _heyApiClient).post<SimulateTransactionResponse, unknown, ThrowOnError>({
|
|
1006
|
+
security: [
|
|
1007
|
+
{
|
|
1008
|
+
name: 'api-key',
|
|
1009
|
+
type: 'apiKey'
|
|
1010
|
+
},
|
|
1011
|
+
{
|
|
1012
|
+
in: 'query',
|
|
1013
|
+
name: 'api-key',
|
|
1014
|
+
type: 'apiKey'
|
|
1015
|
+
}
|
|
1016
|
+
],
|
|
1017
|
+
url: '/api/v1/solidity/{owner}/{slug}/{chainId}/simulation',
|
|
1018
|
+
...options,
|
|
1019
|
+
headers: {
|
|
1020
|
+
'Content-Type': 'application/json',
|
|
1021
|
+
...options?.headers
|
|
1022
|
+
}
|
|
1023
|
+
});
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
/**
|
|
1027
|
+
* Get trace by simulation
|
|
1028
|
+
*/
|
|
1029
|
+
public static getCallTraceBySimulation<ThrowOnError extends boolean = false>(options: Options<GetCallTraceBySimulationData, ThrowOnError>) {
|
|
1030
|
+
return (options.client ?? _heyApiClient).get<GetCallTraceBySimulationResponse, unknown, ThrowOnError>({
|
|
1031
|
+
security: [
|
|
1032
|
+
{
|
|
1033
|
+
name: 'api-key',
|
|
1034
|
+
type: 'apiKey'
|
|
1035
|
+
},
|
|
1036
|
+
{
|
|
1037
|
+
in: 'query',
|
|
1038
|
+
name: 'api-key',
|
|
1039
|
+
type: 'apiKey'
|
|
1040
|
+
}
|
|
1041
|
+
],
|
|
1042
|
+
url: '/api/v1/solidity/{owner}/{slug}/{chainId}/simulation/{simulationId}/call_trace',
|
|
1043
|
+
...options
|
|
1044
|
+
});
|
|
1045
|
+
}
|
|
1046
|
+
|
|
1047
|
+
/**
|
|
1048
|
+
* Run bundle simulation
|
|
1049
|
+
* You could also create bundle simulations so that one transaction could be executed one after another. For `blockNumber` `transactionIndex` `networkId` `stateOverrides` and `blockOverrides` fields, only the first simulation takes effect.
|
|
1050
|
+
*/
|
|
1051
|
+
public static simulateTransactionBundle<ThrowOnError extends boolean = false>(options: Options<SimulateTransactionBundleData, ThrowOnError>) {
|
|
1052
|
+
return (options.client ?? _heyApiClient).post<SimulateTransactionBundleResponse, unknown, ThrowOnError>({
|
|
1053
|
+
security: [
|
|
1054
|
+
{
|
|
1055
|
+
name: 'api-key',
|
|
1056
|
+
type: 'apiKey'
|
|
1057
|
+
},
|
|
1058
|
+
{
|
|
1059
|
+
in: 'query',
|
|
1060
|
+
name: 'api-key',
|
|
1061
|
+
type: 'apiKey'
|
|
1062
|
+
}
|
|
1063
|
+
],
|
|
1064
|
+
url: '/api/v1/solidity/{owner}/{slug}/{chainId}/simulation_bundle',
|
|
1065
|
+
...options,
|
|
1066
|
+
headers: {
|
|
1067
|
+
'Content-Type': 'application/json',
|
|
1068
|
+
...options?.headers
|
|
1069
|
+
}
|
|
1070
|
+
});
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
/**
|
|
1074
|
+
* Get trace by transaction
|
|
1075
|
+
* API to get Sentio call trace. It takes `txId.txHash` and `chainSpec.chainId` arguments, where the first is transaction hash, and the second is the numeric ethereum chain ID.
|
|
1076
|
+
*
|
|
1077
|
+
* The results looks very similar to the normal [Ethereum call trace](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/image%20(2)%20(1)%20(1)%20(1).png). But we have an additional `startIndex` and `startIndex` on each trace entry even for the LOG, representing the execution order in the trace.
|
|
1078
|
+
*
|
|
1079
|
+
* This allows you to build chart that marks the order of fund flow.
|
|
1080
|
+
*
|
|
1081
|
+
* %20(1)%20(1)%20(1).png)
|
|
1082
|
+
*/
|
|
1083
|
+
public static getCallTraceByTransaction<ThrowOnError extends boolean = false>(options: Options<GetCallTraceByTransactionData, ThrowOnError>) {
|
|
1084
|
+
return (options.client ?? _heyApiClient).get<GetCallTraceByTransactionResponse, unknown, ThrowOnError>({
|
|
1085
|
+
security: [
|
|
1086
|
+
{
|
|
1087
|
+
name: 'api-key',
|
|
1088
|
+
type: 'apiKey'
|
|
1089
|
+
},
|
|
1090
|
+
{
|
|
1091
|
+
in: 'query',
|
|
1092
|
+
name: 'api-key',
|
|
1093
|
+
type: 'apiKey'
|
|
1094
|
+
}
|
|
1095
|
+
],
|
|
1096
|
+
url: '/api/v1/solidity/{owner}/{slug}/{chainId}/transaction/{txHash}/call_trace',
|
|
1097
|
+
...options
|
|
1098
|
+
});
|
|
1099
|
+
}
|
|
1100
|
+
|
|
1101
|
+
}
|
|
1102
|
+
|
|
1103
|
+
export class ForksService {
|
|
1104
|
+
/**
|
|
1105
|
+
* List all forks
|
|
1106
|
+
*/
|
|
1107
|
+
public static listForks<ThrowOnError extends boolean = false>(options: Options<ListForksData, ThrowOnError>) {
|
|
1108
|
+
return (options.client ?? _heyApiClient).get<ListForksResponse, unknown, ThrowOnError>({
|
|
1109
|
+
security: [
|
|
1110
|
+
{
|
|
1111
|
+
name: 'api-key',
|
|
1112
|
+
type: 'apiKey'
|
|
1113
|
+
},
|
|
1114
|
+
{
|
|
1115
|
+
in: 'query',
|
|
1116
|
+
name: 'api-key',
|
|
1117
|
+
type: 'apiKey'
|
|
1118
|
+
}
|
|
1119
|
+
],
|
|
1120
|
+
url: '/api/v1/solidity/{owner}/{slug}/fork',
|
|
1121
|
+
...options
|
|
1122
|
+
});
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1125
|
+
/**
|
|
1126
|
+
* Create a fork
|
|
1127
|
+
*/
|
|
1128
|
+
public static createFork<ThrowOnError extends boolean = false>(options: Options<CreateForkData, ThrowOnError>) {
|
|
1129
|
+
return (options.client ?? _heyApiClient).post<CreateForkResponse, unknown, ThrowOnError>({
|
|
1130
|
+
security: [
|
|
1131
|
+
{
|
|
1132
|
+
name: 'api-key',
|
|
1133
|
+
type: 'apiKey'
|
|
1134
|
+
},
|
|
1135
|
+
{
|
|
1136
|
+
in: 'query',
|
|
1137
|
+
name: 'api-key',
|
|
1138
|
+
type: 'apiKey'
|
|
1139
|
+
}
|
|
1140
|
+
],
|
|
1141
|
+
url: '/api/v1/solidity/{owner}/{slug}/fork',
|
|
1142
|
+
...options,
|
|
1143
|
+
headers: {
|
|
1144
|
+
'Content-Type': 'application/json',
|
|
1145
|
+
...options?.headers
|
|
1146
|
+
}
|
|
1147
|
+
});
|
|
1148
|
+
}
|
|
1149
|
+
|
|
1150
|
+
/**
|
|
1151
|
+
* Get trace by bundle simulation
|
|
1152
|
+
*/
|
|
1153
|
+
public static getCallTraceOnForkBundle<ThrowOnError extends boolean = false>(options: Options<GetCallTraceOnForkBundleData, ThrowOnError>) {
|
|
1154
|
+
return (options.client ?? _heyApiClient).get<GetCallTraceOnForkBundleResponse, unknown, ThrowOnError>({
|
|
1155
|
+
security: [
|
|
1156
|
+
{
|
|
1157
|
+
name: 'api-key',
|
|
1158
|
+
type: 'apiKey'
|
|
1159
|
+
},
|
|
1160
|
+
{
|
|
1161
|
+
in: 'query',
|
|
1162
|
+
name: 'api-key',
|
|
1163
|
+
type: 'apiKey'
|
|
1164
|
+
}
|
|
1165
|
+
],
|
|
1166
|
+
url: '/api/v1/solidity/{owner}/{slug}/fork/{forkId}/bundle/{bundleId}/call_trace',
|
|
1167
|
+
...options
|
|
1168
|
+
});
|
|
1169
|
+
}
|
|
1170
|
+
|
|
1171
|
+
/**
|
|
1172
|
+
* Run Simulation
|
|
1173
|
+
*/
|
|
1174
|
+
public static simulateTransactionOnFork<ThrowOnError extends boolean = false>(options: Options<SimulateTransactionOnForkData, ThrowOnError>) {
|
|
1175
|
+
return (options.client ?? _heyApiClient).post<SimulateTransactionOnForkResponse, unknown, ThrowOnError>({
|
|
1176
|
+
security: [
|
|
1177
|
+
{
|
|
1178
|
+
name: 'api-key',
|
|
1179
|
+
type: 'apiKey'
|
|
1180
|
+
},
|
|
1181
|
+
{
|
|
1182
|
+
in: 'query',
|
|
1183
|
+
name: 'api-key',
|
|
1184
|
+
type: 'apiKey'
|
|
1185
|
+
}
|
|
1186
|
+
],
|
|
1187
|
+
url: '/api/v1/solidity/{owner}/{slug}/fork/{forkId}/simulation',
|
|
1188
|
+
...options,
|
|
1189
|
+
headers: {
|
|
1190
|
+
'Content-Type': 'application/json',
|
|
1191
|
+
...options?.headers
|
|
1192
|
+
}
|
|
1193
|
+
});
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1196
|
+
/**
|
|
1197
|
+
* Get trace by simulation
|
|
1198
|
+
*/
|
|
1199
|
+
public static getCallTraceOnForkSimulation<ThrowOnError extends boolean = false>(options: Options<GetCallTraceOnForkSimulationData, ThrowOnError>) {
|
|
1200
|
+
return (options.client ?? _heyApiClient).get<GetCallTraceOnForkSimulationResponse, unknown, ThrowOnError>({
|
|
1201
|
+
security: [
|
|
1202
|
+
{
|
|
1203
|
+
name: 'api-key',
|
|
1204
|
+
type: 'apiKey'
|
|
1205
|
+
},
|
|
1206
|
+
{
|
|
1207
|
+
in: 'query',
|
|
1208
|
+
name: 'api-key',
|
|
1209
|
+
type: 'apiKey'
|
|
1210
|
+
}
|
|
1211
|
+
],
|
|
1212
|
+
url: '/api/v1/solidity/{owner}/{slug}/fork/{forkId}/simulation/{simulationId}/call_trace',
|
|
1213
|
+
...options
|
|
1214
|
+
});
|
|
1215
|
+
}
|
|
1216
|
+
|
|
1217
|
+
/**
|
|
1218
|
+
* Run bundle simulation
|
|
1219
|
+
*/
|
|
1220
|
+
public static simulateTransactionBundleOnFork<ThrowOnError extends boolean = false>(options: Options<SimulateTransactionBundleOnForkData, ThrowOnError>) {
|
|
1221
|
+
return (options.client ?? _heyApiClient).post<SimulateTransactionBundleOnForkResponse, unknown, ThrowOnError>({
|
|
1222
|
+
security: [
|
|
1223
|
+
{
|
|
1224
|
+
name: 'api-key',
|
|
1225
|
+
type: 'apiKey'
|
|
1226
|
+
},
|
|
1227
|
+
{
|
|
1228
|
+
in: 'query',
|
|
1229
|
+
name: 'api-key',
|
|
1230
|
+
type: 'apiKey'
|
|
1231
|
+
}
|
|
1232
|
+
],
|
|
1233
|
+
url: '/api/v1/solidity/{owner}/{slug}/fork/{forkId}/simulation_bundle',
|
|
1234
|
+
...options,
|
|
1235
|
+
headers: {
|
|
1236
|
+
'Content-Type': 'application/json',
|
|
1237
|
+
...options?.headers
|
|
1238
|
+
}
|
|
1239
|
+
});
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1242
|
+
/**
|
|
1243
|
+
* Get trace by transaction
|
|
1244
|
+
*/
|
|
1245
|
+
public static getCallTraceOnForkTransaction<ThrowOnError extends boolean = false>(options: Options<GetCallTraceOnForkTransactionData, ThrowOnError>) {
|
|
1246
|
+
return (options.client ?? _heyApiClient).get<GetCallTraceOnForkTransactionResponse, unknown, ThrowOnError>({
|
|
1247
|
+
security: [
|
|
1248
|
+
{
|
|
1249
|
+
name: 'api-key',
|
|
1250
|
+
type: 'apiKey'
|
|
1251
|
+
},
|
|
1252
|
+
{
|
|
1253
|
+
in: 'query',
|
|
1254
|
+
name: 'api-key',
|
|
1255
|
+
type: 'apiKey'
|
|
1256
|
+
}
|
|
1257
|
+
],
|
|
1258
|
+
url: '/api/v1/solidity/{owner}/{slug}/fork/{forkId}/transaction/{txHash}/call_trace',
|
|
1259
|
+
...options
|
|
1260
|
+
});
|
|
1261
|
+
}
|
|
1262
|
+
|
|
1263
|
+
/**
|
|
1264
|
+
* Delete fork by id
|
|
1265
|
+
*/
|
|
1266
|
+
public static deleteFork<ThrowOnError extends boolean = false>(options: Options<DeleteForkData, ThrowOnError>) {
|
|
1267
|
+
return (options.client ?? _heyApiClient).delete<DeleteForkResponse, unknown, ThrowOnError>({
|
|
1268
|
+
security: [
|
|
1269
|
+
{
|
|
1270
|
+
name: 'api-key',
|
|
1271
|
+
type: 'apiKey'
|
|
1272
|
+
},
|
|
1273
|
+
{
|
|
1274
|
+
in: 'query',
|
|
1275
|
+
name: 'api-key',
|
|
1276
|
+
type: 'apiKey'
|
|
1277
|
+
}
|
|
1278
|
+
],
|
|
1279
|
+
url: '/api/v1/solidity/{owner}/{slug}/fork/{id}',
|
|
1280
|
+
...options
|
|
1281
|
+
});
|
|
1282
|
+
}
|
|
1283
|
+
|
|
1284
|
+
/**
|
|
1285
|
+
* Get fork by id
|
|
1286
|
+
*/
|
|
1287
|
+
public static getFork<ThrowOnError extends boolean = false>(options: Options<GetForkData, ThrowOnError>) {
|
|
1288
|
+
return (options.client ?? _heyApiClient).get<GetForkResponse, unknown, ThrowOnError>({
|
|
1289
|
+
security: [
|
|
1290
|
+
{
|
|
1291
|
+
name: 'api-key',
|
|
1292
|
+
type: 'apiKey'
|
|
1293
|
+
},
|
|
1294
|
+
{
|
|
1295
|
+
in: 'query',
|
|
1296
|
+
name: 'api-key',
|
|
1297
|
+
type: 'apiKey'
|
|
1298
|
+
}
|
|
1299
|
+
],
|
|
1300
|
+
url: '/api/v1/solidity/{owner}/{slug}/fork/{id}',
|
|
1301
|
+
...options
|
|
1302
|
+
});
|
|
1303
|
+
}
|
|
1304
|
+
|
|
1305
|
+
/**
|
|
1306
|
+
* Update fork by id
|
|
1307
|
+
*/
|
|
1308
|
+
public static updateFork<ThrowOnError extends boolean = false>(options: Options<UpdateForkData, ThrowOnError>) {
|
|
1309
|
+
return (options.client ?? _heyApiClient).put<UpdateForkResponse, unknown, ThrowOnError>({
|
|
1310
|
+
security: [
|
|
1311
|
+
{
|
|
1312
|
+
name: 'api-key',
|
|
1313
|
+
type: 'apiKey'
|
|
1314
|
+
},
|
|
1315
|
+
{
|
|
1316
|
+
in: 'query',
|
|
1317
|
+
name: 'api-key',
|
|
1318
|
+
type: 'apiKey'
|
|
1319
|
+
}
|
|
1320
|
+
],
|
|
1321
|
+
url: '/api/v1/solidity/{owner}/{slug}/fork/{id}',
|
|
1322
|
+
...options,
|
|
1323
|
+
headers: {
|
|
1324
|
+
'Content-Type': 'application/json',
|
|
1325
|
+
...options?.headers
|
|
1326
|
+
}
|
|
1327
|
+
});
|
|
1328
|
+
}
|
|
1329
|
+
|
|
1330
|
+
/**
|
|
1331
|
+
* Get fork info by id
|
|
1332
|
+
*/
|
|
1333
|
+
public static getForkInfo<ThrowOnError extends boolean = false>(options: Options<GetForkInfoData, ThrowOnError>) {
|
|
1334
|
+
return (options.client ?? _heyApiClient).get<GetForkInfoResponse, unknown, ThrowOnError>({
|
|
1335
|
+
security: [
|
|
1336
|
+
{
|
|
1337
|
+
name: 'api-key',
|
|
1338
|
+
type: 'apiKey'
|
|
1339
|
+
},
|
|
1340
|
+
{
|
|
1341
|
+
in: 'query',
|
|
1342
|
+
name: 'api-key',
|
|
1343
|
+
type: 'apiKey'
|
|
1344
|
+
}
|
|
1345
|
+
],
|
|
1346
|
+
url: '/api/v1/solidity/{owner}/{slug}/fork/{id}/info',
|
|
1347
|
+
...options
|
|
1348
|
+
});
|
|
1349
|
+
}
|
|
1350
|
+
|
|
1351
|
+
}
|