@pikku/addon-security-scorecard 0.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 +12 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +67 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.js +78 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.js.map +1 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.ts +106 -0
- package/dist/.pikku/addon/pikku-package.gen.d.ts +2 -0
- package/dist/.pikku/addon/pikku-package.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/pikku-package.gen.js +10 -0
- package/dist/.pikku/addon/pikku-package.gen.js.map +1 -0
- package/dist/.pikku/addon/pikku-package.gen.ts +11 -0
- package/dist/.pikku/agent/pikku-agent-map.gen.d.ts +4 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +47 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts.map +1 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.js +18 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.js.map +1 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.ts +82 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +112 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.d.ts.map +1 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.js +60 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.js.map +1 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.ts +177 -0
- package/dist/.pikku/console/pikku-node-types.gen.d.ts +7 -0
- package/dist/.pikku/console/pikku-node-types.gen.d.ts.map +1 -0
- package/dist/.pikku/console/pikku-node-types.gen.js +2 -0
- package/dist/.pikku/console/pikku-node-types.gen.js.map +1 -0
- package/dist/.pikku/console/pikku-node-types.gen.ts +8 -0
- package/dist/.pikku/credentials/pikku-credentials-meta.gen.json +10 -0
- package/dist/.pikku/credentials/pikku-credentials.gen.d.ts +15 -0
- package/dist/.pikku/credentials/pikku-credentials.gen.d.ts.map +1 -0
- package/dist/.pikku/credentials/pikku-credentials.gen.js +13 -0
- package/dist/.pikku/credentials/pikku-credentials.gen.js.map +1 -0
- package/dist/.pikku/credentials/pikku-credentials.gen.ts +23 -0
- package/dist/.pikku/function/pikku-function-types.gen.d.ts +490 -0
- package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +1 -0
- package/dist/.pikku/function/pikku-function-types.gen.js +334 -0
- package/dist/.pikku/function/pikku-function-types.gen.js.map +1 -0
- package/dist/.pikku/function/pikku-function-types.gen.ts +754 -0
- package/dist/.pikku/function/pikku-functions-meta-verbose.gen.json +549 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.d.ts +2 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.d.ts.map +1 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.js +7 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.js.map +1 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.json +359 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.ts +7 -0
- package/dist/.pikku/function/pikku-functions.gen.d.ts +2 -0
- package/dist/.pikku/function/pikku-functions.gen.d.ts.map +1 -0
- package/dist/.pikku/function/pikku-functions.gen.js +44 -0
- package/dist/.pikku/function/pikku-functions.gen.js.map +1 -0
- package/dist/.pikku/function/pikku-functions.gen.ts +44 -0
- package/dist/.pikku/http/pikku-http-types.gen.d.ts +120 -0
- package/dist/.pikku/http/pikku-http-types.gen.d.ts.map +1 -0
- package/dist/.pikku/http/pikku-http-types.gen.js +72 -0
- package/dist/.pikku/http/pikku-http-types.gen.js.map +1 -0
- package/dist/.pikku/http/pikku-http-types.gen.ts +147 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +131 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts.map +1 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.js +38 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.js.map +1 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.ts +183 -0
- package/dist/.pikku/pikku-bootstrap.gen.d.ts +9 -0
- package/dist/.pikku/pikku-bootstrap.gen.d.ts.map +1 -0
- package/dist/.pikku/pikku-bootstrap.gen.js +9 -0
- package/dist/.pikku/pikku-bootstrap.gen.js.map +1 -0
- package/dist/.pikku/pikku-bootstrap.gen.ts +8 -0
- package/dist/.pikku/pikku-meta-service.gen.d.ts +8 -0
- package/dist/.pikku/pikku-meta-service.gen.d.ts.map +1 -0
- package/dist/.pikku/pikku-meta-service.gen.js +10 -0
- package/dist/.pikku/pikku-meta-service.gen.js.map +1 -0
- package/dist/.pikku/pikku-meta-service.gen.ts +10 -0
- package/dist/.pikku/pikku-services.gen.d.ts +35 -0
- package/dist/.pikku/pikku-services.gen.d.ts.map +1 -0
- package/dist/.pikku/pikku-services.gen.js +30 -0
- package/dist/.pikku/pikku-services.gen.js.map +1 -0
- package/dist/.pikku/pikku-services.gen.ts +42 -0
- package/dist/.pikku/pikku-types.gen.d.ts +12 -0
- package/dist/.pikku/pikku-types.gen.d.ts.map +1 -0
- package/dist/.pikku/pikku-types.gen.js +17 -0
- package/dist/.pikku/pikku-types.gen.js.map +1 -0
- package/dist/.pikku/pikku-types.gen.ts +21 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +24 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.d.ts.map +1 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.js +17 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.js.map +1 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.ts +27 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +227 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +246 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts +2 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts.map +1 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +7 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js.map +1 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +21 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts +6 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +22 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts.map +1 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +17 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js.map +1 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.ts +25 -0
- package/dist/.pikku/schemas/register.gen.d.ts +2 -0
- package/dist/.pikku/schemas/register.gen.d.ts.map +1 -0
- package/dist/.pikku/schemas/register.gen.js +81 -0
- package/dist/.pikku/schemas/register.gen.js.map +1 -0
- package/dist/.pikku/schemas/register.gen.ts +155 -0
- package/dist/.pikku/schemas/schemas/CompanyGetFactorHistoricalInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CompanyGetFactorHistoricalOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CompanyGetFactorInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CompanyGetFactorOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CompanyGetHistoricalScoreInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CompanyGetHistoricalScoreOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CompanyGetScorePlanInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CompanyGetScorePlanOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CompanyGetScorecardInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CompanyGetScorecardOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CredentialSchema_securityScorecard.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/IndustryGetFactorHistoricalInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/IndustryGetFactorHistoricalOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/IndustryGetFactorInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/IndustryGetFactorOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/IndustryGetScoreInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/IndustryGetScoreOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/InviteCreateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/InviteCreateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/PortfolioCompanyAddInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/PortfolioCompanyAddOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/PortfolioCompanyGetAllInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/PortfolioCompanyGetAllOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/PortfolioCompanyRemoveInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/PortfolioCompanyRemoveOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/PortfolioCreateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/PortfolioCreateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/PortfolioDeleteInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/PortfolioDeleteOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/PortfolioGetAllOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/PortfolioUpdateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/PortfolioUpdateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ReportDownloadInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ReportDownloadOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ReportGenerateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ReportGenerateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ReportGetAllOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/VariableSchema_SECURITY_SCORECARD_BASE_URL.schema.json +1 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +6 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts.map +1 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.js +5 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.js.map +1 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.ts +5 -0
- package/dist/.pikku/secrets/pikku-secrets-meta.gen.json +1 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +12 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts.map +1 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.js +11 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.js.map +1 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.ts +21 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +114 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts.map +1 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.js +34 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.js.map +1 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.ts +160 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +6 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.d.ts.map +1 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.js +5 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.js.map +1 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.ts +5 -0
- package/dist/.pikku/variables/pikku-variables-meta.gen.json +10 -0
- package/dist/.pikku/variables/pikku-variables.gen.d.ts +15 -0
- package/dist/.pikku/variables/pikku-variables.gen.d.ts.map +1 -0
- package/dist/.pikku/variables/pikku-variables.gen.js +13 -0
- package/dist/.pikku/variables/pikku-variables.gen.js.map +1 -0
- package/dist/.pikku/variables/pikku-variables.gen.ts +23 -0
- package/dist/.pikku/workflow/pikku-workflow-map.gen.d.ts +38 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +90 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js +18 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.ts +167 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.d.ts +2 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.d.ts.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +7 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.ts +9 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +5 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +5 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.ts +3 -0
- package/dist/src/functions/companyGetFactor.function.d.ts +13 -0
- package/dist/src/functions/companyGetFactor.function.d.ts.map +1 -0
- package/dist/src/functions/companyGetFactor.function.js +15 -0
- package/dist/src/functions/companyGetFactor.function.js.map +1 -0
- package/dist/src/functions/companyGetFactorHistorical.function.d.ts +21 -0
- package/dist/src/functions/companyGetFactorHistorical.function.d.ts.map +1 -0
- package/dist/src/functions/companyGetFactorHistorical.function.js +17 -0
- package/dist/src/functions/companyGetFactorHistorical.function.js.map +1 -0
- package/dist/src/functions/companyGetHistoricalScore.function.d.ts +21 -0
- package/dist/src/functions/companyGetHistoricalScore.function.d.ts.map +1 -0
- package/dist/src/functions/companyGetHistoricalScore.function.js +17 -0
- package/dist/src/functions/companyGetHistoricalScore.function.js.map +1 -0
- package/dist/src/functions/companyGetScorePlan.function.d.ts +17 -0
- package/dist/src/functions/companyGetScorePlan.function.d.ts.map +1 -0
- package/dist/src/functions/companyGetScorePlan.function.js +16 -0
- package/dist/src/functions/companyGetScorePlan.function.js.map +1 -0
- package/dist/src/functions/companyGetScorecard.function.d.ts +13 -0
- package/dist/src/functions/companyGetScorecard.function.d.ts.map +1 -0
- package/dist/src/functions/companyGetScorecard.function.js +15 -0
- package/dist/src/functions/companyGetScorecard.function.js.map +1 -0
- package/dist/src/functions/industryGetFactor.function.d.ts +13 -0
- package/dist/src/functions/industryGetFactor.function.d.ts.map +1 -0
- package/dist/src/functions/industryGetFactor.function.js +15 -0
- package/dist/src/functions/industryGetFactor.function.js.map +1 -0
- package/dist/src/functions/industryGetFactorHistorical.function.d.ts +21 -0
- package/dist/src/functions/industryGetFactorHistorical.function.d.ts.map +1 -0
- package/dist/src/functions/industryGetFactorHistorical.function.js +17 -0
- package/dist/src/functions/industryGetFactorHistorical.function.js.map +1 -0
- package/dist/src/functions/industryGetScore.function.d.ts +13 -0
- package/dist/src/functions/industryGetScore.function.d.ts.map +1 -0
- package/dist/src/functions/industryGetScore.function.js +15 -0
- package/dist/src/functions/industryGetScore.function.js.map +1 -0
- package/dist/src/functions/inviteCreate.function.d.ts +25 -0
- package/dist/src/functions/inviteCreate.function.d.ts.map +1 -0
- package/dist/src/functions/inviteCreate.function.js +18 -0
- package/dist/src/functions/inviteCreate.function.js.map +1 -0
- package/dist/src/functions/portfolioCompanyAdd.function.d.ts +17 -0
- package/dist/src/functions/portfolioCompanyAdd.function.d.ts.map +1 -0
- package/dist/src/functions/portfolioCompanyAdd.function.js +16 -0
- package/dist/src/functions/portfolioCompanyAdd.function.js.map +1 -0
- package/dist/src/functions/portfolioCompanyGetAll.function.d.ts +13 -0
- package/dist/src/functions/portfolioCompanyGetAll.function.d.ts.map +1 -0
- package/dist/src/functions/portfolioCompanyGetAll.function.js +15 -0
- package/dist/src/functions/portfolioCompanyGetAll.function.js.map +1 -0
- package/dist/src/functions/portfolioCompanyRemove.function.d.ts +17 -0
- package/dist/src/functions/portfolioCompanyRemove.function.d.ts.map +1 -0
- package/dist/src/functions/portfolioCompanyRemove.function.js +16 -0
- package/dist/src/functions/portfolioCompanyRemove.function.js.map +1 -0
- package/dist/src/functions/portfolioCreate.function.d.ts +21 -0
- package/dist/src/functions/portfolioCreate.function.d.ts.map +1 -0
- package/dist/src/functions/portfolioCreate.function.js +17 -0
- package/dist/src/functions/portfolioCreate.function.js.map +1 -0
- package/dist/src/functions/portfolioDelete.function.d.ts +13 -0
- package/dist/src/functions/portfolioDelete.function.d.ts.map +1 -0
- package/dist/src/functions/portfolioDelete.function.js +15 -0
- package/dist/src/functions/portfolioDelete.function.js.map +1 -0
- package/dist/src/functions/portfolioGetAll.function.d.ts +4 -0
- package/dist/src/functions/portfolioGetAll.function.d.ts.map +1 -0
- package/dist/src/functions/portfolioGetAll.function.js +11 -0
- package/dist/src/functions/portfolioGetAll.function.js.map +1 -0
- package/dist/src/functions/portfolioUpdate.function.d.ts +25 -0
- package/dist/src/functions/portfolioUpdate.function.d.ts.map +1 -0
- package/dist/src/functions/portfolioUpdate.function.js +18 -0
- package/dist/src/functions/portfolioUpdate.function.js.map +1 -0
- package/dist/src/functions/reportDownload.function.d.ts +13 -0
- package/dist/src/functions/reportDownload.function.d.ts.map +1 -0
- package/dist/src/functions/reportDownload.function.js +15 -0
- package/dist/src/functions/reportDownload.function.js.map +1 -0
- package/dist/src/functions/reportGenerate.function.d.ts +25 -0
- package/dist/src/functions/reportGenerate.function.d.ts.map +1 -0
- package/dist/src/functions/reportGenerate.function.js +18 -0
- package/dist/src/functions/reportGenerate.function.js.map +1 -0
- package/dist/src/functions/reportGetAll.function.d.ts +4 -0
- package/dist/src/functions/reportGetAll.function.d.ts.map +1 -0
- package/dist/src/functions/reportGetAll.function.js +11 -0
- package/dist/src/functions/reportGetAll.function.js.map +1 -0
- package/dist/src/index.d.ts +20 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +20 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/security-scorecard-api.service.d.ts +10 -0
- package/dist/src/security-scorecard-api.service.d.ts.map +1 -0
- package/dist/src/security-scorecard-api.service.js +212 -0
- package/dist/src/security-scorecard-api.service.js.map +1 -0
- package/dist/src/security-scorecard.credential.d.ts +5 -0
- package/dist/src/security-scorecard.credential.d.ts.map +1 -0
- package/dist/src/security-scorecard.credential.js +13 -0
- package/dist/src/security-scorecard.credential.js.map +1 -0
- package/dist/src/security-scorecard.types.d.ts +7 -0
- package/dist/src/security-scorecard.types.d.ts.map +1 -0
- package/dist/src/security-scorecard.types.js +8 -0
- package/dist/src/security-scorecard.types.js.map +1 -0
- package/dist/src/security-scorecard.variable.d.ts +5 -0
- package/dist/src/security-scorecard.variable.d.ts.map +1 -0
- package/dist/src/security-scorecard.variable.js +11 -0
- package/dist/src/security-scorecard.variable.js.map +1 -0
- package/dist/src/services.d.ts +2 -0
- package/dist/src/services.d.ts.map +1 -0
- package/dist/src/services.js +14 -0
- package/dist/src/services.js.map +1 -0
- package/package.json +39 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
import { LocalMetaService } from '@pikku/core/services/local-meta'
|
|
5
|
+
|
|
6
|
+
export class PikkuMetaService extends LocalMetaService {
|
|
7
|
+
constructor() {
|
|
8
|
+
super('/home/runner/work/addons/addons/packages/monitoring/security-scorecard/.pikku')
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
import type { SingletonServices } from '../types/application-types.d.js';
|
|
5
|
+
import type { Services } from '../types/application-types.d.js';
|
|
6
|
+
export declare const requiredSingletonServices: {
|
|
7
|
+
readonly agentRunService: false;
|
|
8
|
+
readonly aiAgentRunner: false;
|
|
9
|
+
readonly aiRunState: false;
|
|
10
|
+
readonly aiStorage: false;
|
|
11
|
+
readonly audit: false;
|
|
12
|
+
readonly auditLog: false;
|
|
13
|
+
readonly config: true;
|
|
14
|
+
readonly content: false;
|
|
15
|
+
readonly credentialService: false;
|
|
16
|
+
readonly deploymentService: false;
|
|
17
|
+
readonly emailService: false;
|
|
18
|
+
readonly eventHub: false;
|
|
19
|
+
readonly jwt: false;
|
|
20
|
+
readonly logger: true;
|
|
21
|
+
readonly metaService: false;
|
|
22
|
+
readonly queueService: false;
|
|
23
|
+
readonly schedulerService: false;
|
|
24
|
+
readonly schema: true;
|
|
25
|
+
readonly secrets: true;
|
|
26
|
+
readonly securityScorecard: false;
|
|
27
|
+
readonly sessionStore: false;
|
|
28
|
+
readonly variables: true;
|
|
29
|
+
readonly workflowRunService: false;
|
|
30
|
+
readonly workflowService: false;
|
|
31
|
+
};
|
|
32
|
+
export declare const requiredWireServices: {};
|
|
33
|
+
export type RequiredSingletonServices = Required<Pick<SingletonServices, 'config' | 'logger' | 'schema' | 'secrets' | 'variables'>> & Partial<Omit<SingletonServices, 'config' | 'logger' | 'schema' | 'secrets' | 'variables'>>;
|
|
34
|
+
export type RequiredWireServices = Partial<Services>;
|
|
35
|
+
//# sourceMappingURL=pikku-services.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-services.gen.d.ts","sourceRoot":"","sources":["../../.pikku/pikku-services.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAA;AACxE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAA;AAG/D,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;CAyB5B,CAAA;AAGV,eAAO,MAAM,oBAAoB,IACvB,CAAA;AAGV,MAAM,MAAM,yBAAyB,GAAG,QAAQ,CAAC,IAAI,CAAC,iBAAiB,EAAE,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,WAAW,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,WAAW,CAAC,CAAC,CAAA;AAEhO,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// Singleton services map: true if required, false if available but unused
|
|
2
|
+
export const requiredSingletonServices = {
|
|
3
|
+
'agentRunService': false,
|
|
4
|
+
'aiAgentRunner': false,
|
|
5
|
+
'aiRunState': false,
|
|
6
|
+
'aiStorage': false,
|
|
7
|
+
'audit': false,
|
|
8
|
+
'auditLog': false,
|
|
9
|
+
'config': true,
|
|
10
|
+
'content': false,
|
|
11
|
+
'credentialService': false,
|
|
12
|
+
'deploymentService': false,
|
|
13
|
+
'emailService': false,
|
|
14
|
+
'eventHub': false,
|
|
15
|
+
'jwt': false,
|
|
16
|
+
'logger': true,
|
|
17
|
+
'metaService': false,
|
|
18
|
+
'queueService': false,
|
|
19
|
+
'schedulerService': false,
|
|
20
|
+
'schema': true,
|
|
21
|
+
'secrets': true,
|
|
22
|
+
'securityScorecard': false,
|
|
23
|
+
'sessionStore': false,
|
|
24
|
+
'variables': true,
|
|
25
|
+
'workflowRunService': false,
|
|
26
|
+
'workflowService': false,
|
|
27
|
+
};
|
|
28
|
+
// Wire services map: true if required, false if available but unused
|
|
29
|
+
export const requiredWireServices = {};
|
|
30
|
+
//# sourceMappingURL=pikku-services.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-services.gen.js","sourceRoot":"","sources":["../../.pikku/pikku-services.gen.ts"],"names":[],"mappings":"AAMA,0EAA0E;AAC1E,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,iBAAiB,EAAE,KAAK;IACxB,eAAe,EAAE,KAAK;IACtB,YAAY,EAAE,KAAK;IACnB,WAAW,EAAE,KAAK;IAClB,OAAO,EAAE,KAAK;IACd,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,IAAI;IACd,SAAS,EAAE,KAAK;IAChB,mBAAmB,EAAE,KAAK;IAC1B,mBAAmB,EAAE,KAAK;IAC1B,cAAc,EAAE,KAAK;IACrB,UAAU,EAAE,KAAK;IACjB,KAAK,EAAE,KAAK;IACZ,QAAQ,EAAE,IAAI;IACd,aAAa,EAAE,KAAK;IACpB,cAAc,EAAE,KAAK;IACrB,kBAAkB,EAAE,KAAK;IACzB,QAAQ,EAAE,IAAI;IACd,SAAS,EAAE,IAAI;IACf,mBAAmB,EAAE,KAAK;IAC1B,cAAc,EAAE,KAAK;IACrB,WAAW,EAAE,IAAI;IACjB,oBAAoB,EAAE,KAAK;IAC3B,iBAAiB,EAAE,KAAK;CAChB,CAAA;AAEV,qEAAqE;AACrE,MAAM,CAAC,MAAM,oBAAoB,GAAG,EAC1B,CAAA"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
import type { SingletonServices } from '../types/application-types.d.js'
|
|
5
|
+
import type { Services } from '../types/application-types.d.js'
|
|
6
|
+
|
|
7
|
+
// Singleton services map: true if required, false if available but unused
|
|
8
|
+
export const requiredSingletonServices = {
|
|
9
|
+
'agentRunService': false,
|
|
10
|
+
'aiAgentRunner': false,
|
|
11
|
+
'aiRunState': false,
|
|
12
|
+
'aiStorage': false,
|
|
13
|
+
'audit': false,
|
|
14
|
+
'auditLog': false,
|
|
15
|
+
'config': true,
|
|
16
|
+
'content': false,
|
|
17
|
+
'credentialService': false,
|
|
18
|
+
'deploymentService': false,
|
|
19
|
+
'emailService': false,
|
|
20
|
+
'eventHub': false,
|
|
21
|
+
'jwt': false,
|
|
22
|
+
'logger': true,
|
|
23
|
+
'metaService': false,
|
|
24
|
+
'queueService': false,
|
|
25
|
+
'schedulerService': false,
|
|
26
|
+
'schema': true,
|
|
27
|
+
'secrets': true,
|
|
28
|
+
'securityScorecard': false,
|
|
29
|
+
'sessionStore': false,
|
|
30
|
+
'variables': true,
|
|
31
|
+
'workflowRunService': false,
|
|
32
|
+
'workflowService': false,
|
|
33
|
+
} as const
|
|
34
|
+
|
|
35
|
+
// Wire services map: true if required, false if available but unused
|
|
36
|
+
export const requiredWireServices = {
|
|
37
|
+
} as const
|
|
38
|
+
|
|
39
|
+
// Type exports
|
|
40
|
+
export type RequiredSingletonServices = Required<Pick<SingletonServices, 'config' | 'logger' | 'schema' | 'secrets' | 'variables'>> & Partial<Omit<SingletonServices, 'config' | 'logger' | 'schema' | 'secrets' | 'variables'>>
|
|
41
|
+
|
|
42
|
+
export type RequiredWireServices = Partial<Services>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Main type export hub - re-exports all wiring-specific types
|
|
6
|
+
*/
|
|
7
|
+
export * from './function/pikku-function-types.gen.js';
|
|
8
|
+
export * from './trigger/pikku-trigger-types.gen.js';
|
|
9
|
+
export * from './console/pikku-node-types.gen.js';
|
|
10
|
+
export * from './secrets/pikku-secret-types.gen.js';
|
|
11
|
+
export * from './addon/pikku-addon-types.gen.js';
|
|
12
|
+
//# sourceMappingURL=pikku-types.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-types.gen.d.ts","sourceRoot":"","sources":["../../.pikku/pikku-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAGH,cAAc,wCAAwC,CAAA;AAGtD,cAAc,sCAAsC,CAAA;AAGpD,cAAc,mCAAmC,CAAA;AAGjD,cAAc,qCAAqC,CAAA;AAGnD,cAAc,kCAAkC,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Main type export hub - re-exports all wiring-specific types
|
|
6
|
+
*/
|
|
7
|
+
// Core function, middleware, and permission types
|
|
8
|
+
export * from './function/pikku-function-types.gen.js';
|
|
9
|
+
// Trigger wiring types
|
|
10
|
+
export * from './trigger/pikku-trigger-types.gen.js';
|
|
11
|
+
// Node wiring types
|
|
12
|
+
export * from './console/pikku-node-types.gen.js';
|
|
13
|
+
// Secret definition types
|
|
14
|
+
export * from './secrets/pikku-secret-types.gen.js';
|
|
15
|
+
// Addon types
|
|
16
|
+
export * from './addon/pikku-addon-types.gen.js';
|
|
17
|
+
//# sourceMappingURL=pikku-types.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-types.gen.js","sourceRoot":"","sources":["../../.pikku/pikku-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,kDAAkD;AAClD,cAAc,wCAAwC,CAAA;AAEtD,uBAAuB;AACvB,cAAc,sCAAsC,CAAA;AAEpD,oBAAoB;AACpB,cAAc,mCAAmC,CAAA;AAEjD,0BAA0B;AAC1B,cAAc,qCAAqC,CAAA;AAEnD,cAAc;AACd,cAAc,kCAAkC,CAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Main type export hub - re-exports all wiring-specific types
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
// Core function, middleware, and permission types
|
|
9
|
+
export * from './function/pikku-function-types.gen.js'
|
|
10
|
+
|
|
11
|
+
// Trigger wiring types
|
|
12
|
+
export * from './trigger/pikku-trigger-types.gen.js'
|
|
13
|
+
|
|
14
|
+
// Node wiring types
|
|
15
|
+
export * from './console/pikku-node-types.gen.js'
|
|
16
|
+
|
|
17
|
+
// Secret definition types
|
|
18
|
+
export * from './secrets/pikku-secret-types.gen.js'
|
|
19
|
+
|
|
20
|
+
// Addon types
|
|
21
|
+
export * from './addon/pikku-addon-types.gen.js'
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Queue-specific type definitions for tree-shaking optimization
|
|
6
|
+
*/
|
|
7
|
+
import { CoreQueueWorker } from '@pikku/core/queue';
|
|
8
|
+
import type { PikkuFunctionConfig } from '../function/pikku-function-types.gen.js';
|
|
9
|
+
/**
|
|
10
|
+
* Type definition for queue workers that process background jobs.
|
|
11
|
+
*
|
|
12
|
+
* @template In - Input type for the queue job
|
|
13
|
+
* @template Out - Output type for the queue job
|
|
14
|
+
*/
|
|
15
|
+
type QueueWiring<In, Out> = CoreQueueWorker<PikkuFunctionConfig<In, Out, 'session' | 'rpc'>>;
|
|
16
|
+
/**
|
|
17
|
+
* Registers a queue worker with the Pikku framework.
|
|
18
|
+
* Workers process background jobs from queues.
|
|
19
|
+
*
|
|
20
|
+
* @param queueWorker - Queue worker definition with job handler
|
|
21
|
+
*/
|
|
22
|
+
export declare const wireQueueWorker: (queueWorker: QueueWiring<any, any>) => void;
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=pikku-queue-types.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-queue-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/queue/pikku-queue-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,EAAE,eAAe,EAA0C,MAAM,mBAAmB,CAAA;AAC3F,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAA;AAElF;;;;;GAKG;AACH,KAAK,WAAW,CAAC,EAAE,EAAE,GAAG,IAAI,eAAe,CAAC,mBAAmB,CAAC,EAAE,EAAE,GAAG,EAAE,SAAS,GAAG,KAAK,CAAC,CAAC,CAAA;AAE5F;;;;;GAKG;AACH,eAAO,MAAM,eAAe,GAAI,aAAa,WAAW,CAAC,GAAG,EAAE,GAAG,CAAC,SAEjE,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Queue-specific type definitions for tree-shaking optimization
|
|
6
|
+
*/
|
|
7
|
+
import { wireQueueWorker as wireQueueWorkerCore } from '@pikku/core/queue';
|
|
8
|
+
/**
|
|
9
|
+
* Registers a queue worker with the Pikku framework.
|
|
10
|
+
* Workers process background jobs from queues.
|
|
11
|
+
*
|
|
12
|
+
* @param queueWorker - Queue worker definition with job handler
|
|
13
|
+
*/
|
|
14
|
+
export const wireQueueWorker = (queueWorker) => {
|
|
15
|
+
wireQueueWorkerCore(queueWorker);
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=pikku-queue-types.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-queue-types.gen.js","sourceRoot":"","sources":["../../../.pikku/queue/pikku-queue-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,EAAmB,eAAe,IAAI,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAW3F;;;;;GAKG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,WAAkC,EAAE,EAAE;IACpE,mBAAmB,CAAC,WAAkB,CAAC,CAAA;AACzC,CAAC,CAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Queue-specific type definitions for tree-shaking optimization
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import { CoreQueueWorker, wireQueueWorker as wireQueueWorkerCore } from '@pikku/core/queue'
|
|
9
|
+
import type { PikkuFunctionConfig } from '../function/pikku-function-types.gen.js'
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Type definition for queue workers that process background jobs.
|
|
13
|
+
*
|
|
14
|
+
* @template In - Input type for the queue job
|
|
15
|
+
* @template Out - Output type for the queue job
|
|
16
|
+
*/
|
|
17
|
+
type QueueWiring<In, Out> = CoreQueueWorker<PikkuFunctionConfig<In, Out, 'session' | 'rpc'>>
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Registers a queue worker with the Pikku framework.
|
|
21
|
+
* Workers process background jobs from queues.
|
|
22
|
+
*
|
|
23
|
+
* @param queueWorker - Queue worker definition with job handler
|
|
24
|
+
*/
|
|
25
|
+
export const wireQueueWorker = (queueWorker: QueueWiring<any, any>) => {
|
|
26
|
+
wireQueueWorkerCore(queueWorker as any)
|
|
27
|
+
}
|
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* This provides the structure needed for typescript to be aware of RPCs and their return types
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
export type CompanyGetFactorHistoricalInput = {
|
|
13
|
+
scorecardIdentifier: string;
|
|
14
|
+
date_from?: string | undefined;
|
|
15
|
+
date_to?: string | undefined;
|
|
16
|
+
}
|
|
17
|
+
export type CompanyGetFactorHistoricalOutput = {
|
|
18
|
+
[key: string]: unknown;
|
|
19
|
+
}
|
|
20
|
+
export type CompanyGetFactorInput = {
|
|
21
|
+
scorecardIdentifier: string;
|
|
22
|
+
}
|
|
23
|
+
export type CompanyGetFactorOutput = {
|
|
24
|
+
[key: string]: unknown;
|
|
25
|
+
}
|
|
26
|
+
export type CompanyGetHistoricalScoreInput = {
|
|
27
|
+
scorecardIdentifier: string;
|
|
28
|
+
from?: string | undefined;
|
|
29
|
+
to?: string | undefined;
|
|
30
|
+
}
|
|
31
|
+
export type CompanyGetHistoricalScoreOutput = {
|
|
32
|
+
[key: string]: unknown;
|
|
33
|
+
}
|
|
34
|
+
export type CompanyGetScorecardInput = {
|
|
35
|
+
scorecardIdentifier: string;
|
|
36
|
+
}
|
|
37
|
+
export type CompanyGetScorecardOutput = {
|
|
38
|
+
[key: string]: unknown;
|
|
39
|
+
}
|
|
40
|
+
export type CompanyGetScorePlanInput = {
|
|
41
|
+
scorecardIdentifier: string;
|
|
42
|
+
score: string;
|
|
43
|
+
}
|
|
44
|
+
export type CompanyGetScorePlanOutput = {
|
|
45
|
+
[key: string]: unknown;
|
|
46
|
+
}
|
|
47
|
+
export type CredentialSchema_securityScorecard = {
|
|
48
|
+
/** SecurityScorecard API key */
|
|
49
|
+
apiKey: string;
|
|
50
|
+
}
|
|
51
|
+
export type IndustryGetFactorHistoricalInput = {
|
|
52
|
+
industry: string;
|
|
53
|
+
from?: string | undefined;
|
|
54
|
+
to?: string | undefined;
|
|
55
|
+
}
|
|
56
|
+
export type IndustryGetFactorHistoricalOutput = {
|
|
57
|
+
[key: string]: unknown;
|
|
58
|
+
}
|
|
59
|
+
export type IndustryGetFactorInput = {
|
|
60
|
+
industry: string;
|
|
61
|
+
}
|
|
62
|
+
export type IndustryGetFactorOutput = {
|
|
63
|
+
[key: string]: unknown;
|
|
64
|
+
}
|
|
65
|
+
export type IndustryGetScoreInput = {
|
|
66
|
+
industry: string;
|
|
67
|
+
}
|
|
68
|
+
export type IndustryGetScoreOutput = {
|
|
69
|
+
[key: string]: unknown;
|
|
70
|
+
}
|
|
71
|
+
export type InviteCreateInput = {
|
|
72
|
+
email?: string | undefined;
|
|
73
|
+
first_name?: string | undefined;
|
|
74
|
+
last_name?: string | undefined;
|
|
75
|
+
message?: string | undefined;
|
|
76
|
+
}
|
|
77
|
+
export type InviteCreateOutput = {
|
|
78
|
+
[key: string]: unknown;
|
|
79
|
+
}
|
|
80
|
+
export type PortfolioCompanyAddInput = {
|
|
81
|
+
portfolioId: string;
|
|
82
|
+
domain: string;
|
|
83
|
+
}
|
|
84
|
+
export type PortfolioCompanyAddOutput = {
|
|
85
|
+
[key: string]: unknown;
|
|
86
|
+
}
|
|
87
|
+
export type PortfolioCompanyGetAllInput = {
|
|
88
|
+
portfolioId: string;
|
|
89
|
+
}
|
|
90
|
+
export type PortfolioCompanyGetAllOutput = {
|
|
91
|
+
[key: string]: unknown;
|
|
92
|
+
}
|
|
93
|
+
export type PortfolioCompanyRemoveInput = {
|
|
94
|
+
portfolioId: string;
|
|
95
|
+
domain: string;
|
|
96
|
+
}
|
|
97
|
+
export type PortfolioCompanyRemoveOutput = {
|
|
98
|
+
[key: string]: unknown;
|
|
99
|
+
}
|
|
100
|
+
export type PortfolioCreateInput = {
|
|
101
|
+
name?: string | undefined;
|
|
102
|
+
description?: string | undefined;
|
|
103
|
+
privacy?: string | undefined;
|
|
104
|
+
}
|
|
105
|
+
export type PortfolioCreateOutput = {
|
|
106
|
+
[key: string]: unknown;
|
|
107
|
+
}
|
|
108
|
+
export type PortfolioDeleteInput = {
|
|
109
|
+
portfolioId: string;
|
|
110
|
+
}
|
|
111
|
+
export type PortfolioDeleteOutput = {
|
|
112
|
+
[key: string]: unknown;
|
|
113
|
+
}
|
|
114
|
+
export type PortfolioGetAllOutput = {
|
|
115
|
+
[key: string]: unknown;
|
|
116
|
+
}
|
|
117
|
+
export type PortfolioUpdateInput = {
|
|
118
|
+
portfolioId: string;
|
|
119
|
+
name?: string | undefined;
|
|
120
|
+
description?: string | undefined;
|
|
121
|
+
privacy?: string | undefined;
|
|
122
|
+
}
|
|
123
|
+
export type PortfolioUpdateOutput = {
|
|
124
|
+
[key: string]: unknown;
|
|
125
|
+
}
|
|
126
|
+
export type ReportDownloadInput = {
|
|
127
|
+
file: string;
|
|
128
|
+
}
|
|
129
|
+
export type ReportDownloadOutput = {
|
|
130
|
+
[key: string]: unknown;
|
|
131
|
+
}
|
|
132
|
+
export type ReportGenerateInput = {
|
|
133
|
+
reportType: string;
|
|
134
|
+
scorecard_identifier?: string | undefined;
|
|
135
|
+
portfolio_id?: string | undefined;
|
|
136
|
+
format?: string | undefined;
|
|
137
|
+
}
|
|
138
|
+
export type ReportGenerateOutput = {
|
|
139
|
+
[key: string]: unknown;
|
|
140
|
+
}
|
|
141
|
+
export type ReportGetAllOutput = {
|
|
142
|
+
[key: string]: unknown;
|
|
143
|
+
}
|
|
144
|
+
export type VariableSchema_SECURITY_SCORECARD_BASE_URL = "https://api.securityscorecard.io"
|
|
145
|
+
|
|
146
|
+
interface RPCHandler<I, O> {
|
|
147
|
+
input: I;
|
|
148
|
+
output: O;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
export type RPCMap = {
|
|
152
|
+
};
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
// No addon packages, use RPCMap directly
|
|
157
|
+
export type FlattenedRPCMap = RPCMap
|
|
158
|
+
|
|
159
|
+
type IsAny<T> = 0 extends (1 & T) ? true : false
|
|
160
|
+
type IsVoidishInput<T> = IsAny<T> extends true
|
|
161
|
+
? false
|
|
162
|
+
: [T] extends [void | null | undefined]
|
|
163
|
+
? true
|
|
164
|
+
: false
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
export type RPCInvoke = <Name extends keyof FlattenedRPCMap>(
|
|
168
|
+
...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
|
|
169
|
+
? [name: Name]
|
|
170
|
+
: [name: Name, data: FlattenedRPCMap[Name]['input']]
|
|
171
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
172
|
+
|
|
173
|
+
export type RPCRemote = <Name extends keyof FlattenedRPCMap>(
|
|
174
|
+
...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
|
|
175
|
+
? [name: Name]
|
|
176
|
+
: [name: Name, data: FlattenedRPCMap[Name]['input']]
|
|
177
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
178
|
+
|
|
179
|
+
import type { FlattenedWorkflowMap } from '../workflow/pikku-workflow-map.gen.d.js'
|
|
180
|
+
|
|
181
|
+
import type { AgentMap } from '../agent/pikku-agent-map.gen.d.js'
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
type FlattenedAgentMap = AgentMap
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
import type { PikkuRPC } from '@pikku/core/rpc'
|
|
188
|
+
|
|
189
|
+
interface AIAgentInput {
|
|
190
|
+
message: string
|
|
191
|
+
threadId: string
|
|
192
|
+
resourceId: string
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
export type TypedStartWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
196
|
+
name: Name,
|
|
197
|
+
input: FlattenedWorkflowMap[Name]['input'],
|
|
198
|
+
options?: { startNode?: string }
|
|
199
|
+
) => Promise<{ runId: string }>
|
|
200
|
+
|
|
201
|
+
export type TypedRunWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
202
|
+
name: Name,
|
|
203
|
+
input: FlattenedWorkflowMap[Name]['input']
|
|
204
|
+
) => Promise<FlattenedWorkflowMap[Name]['output']>
|
|
205
|
+
|
|
206
|
+
export type TypedWorkflowStatus = (
|
|
207
|
+
workflowName: string,
|
|
208
|
+
runId: string
|
|
209
|
+
) => Promise<{ id: string; status: 'running' | 'suspended' | 'completed' | 'failed' | 'cancelled'; output?: unknown; error?: { message?: string } }>
|
|
210
|
+
|
|
211
|
+
type TypedAgentRun = [keyof FlattenedAgentMap] extends [never]
|
|
212
|
+
? (name: string, input: AIAgentInput) => Promise<any>
|
|
213
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
214
|
+
name: Name,
|
|
215
|
+
input: AIAgentInput
|
|
216
|
+
) => Promise<{ runId: string; result: FlattenedAgentMap[Name]['output']; usage: { inputTokens: number; outputTokens: number } }>
|
|
217
|
+
|
|
218
|
+
type TypedAgentStream = [keyof FlattenedAgentMap] extends [never]
|
|
219
|
+
? (name: string, input: AIAgentInput, options?: { requiresToolApproval?: 'all' | 'explicit' | false }) => Promise<void>
|
|
220
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
221
|
+
name: Name,
|
|
222
|
+
input: AIAgentInput,
|
|
223
|
+
options?: { requiresToolApproval?: 'all' | 'explicit' | false }
|
|
224
|
+
) => Promise<void>
|
|
225
|
+
|
|
226
|
+
export type TypedPikkuRPC = PikkuRPC<RPCInvoke, RPCRemote, TypedStartWorkflow, TypedAgentRun, TypedAgentStream>
|
|
227
|
+
|