@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,359 @@
|
|
|
1
|
+
{
|
|
2
|
+
"companyGetScorecard": {
|
|
3
|
+
"pikkuFuncId": "companyGetScorecard",
|
|
4
|
+
"functionType": "user",
|
|
5
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
6
|
+
"sessionless": true,
|
|
7
|
+
"name": "companyGetScorecard",
|
|
8
|
+
"inputSchemaName": "CompanyGetScorecardInput",
|
|
9
|
+
"outputSchemaName": "CompanyGetScorecardOutput",
|
|
10
|
+
"inputs": [
|
|
11
|
+
"CompanyGetScorecardInput"
|
|
12
|
+
],
|
|
13
|
+
"outputs": [
|
|
14
|
+
"CompanyGetScorecardOutput"
|
|
15
|
+
],
|
|
16
|
+
"implementationHash": "e30bd416b9624f6d",
|
|
17
|
+
"contractHash": "d8218e337a5f1ed1",
|
|
18
|
+
"inputHash": "f3f2151e",
|
|
19
|
+
"outputHash": "37406dee"
|
|
20
|
+
},
|
|
21
|
+
"companyGetFactor": {
|
|
22
|
+
"pikkuFuncId": "companyGetFactor",
|
|
23
|
+
"functionType": "user",
|
|
24
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
25
|
+
"sessionless": true,
|
|
26
|
+
"name": "companyGetFactor",
|
|
27
|
+
"inputSchemaName": "CompanyGetFactorInput",
|
|
28
|
+
"outputSchemaName": "CompanyGetFactorOutput",
|
|
29
|
+
"inputs": [
|
|
30
|
+
"CompanyGetFactorInput"
|
|
31
|
+
],
|
|
32
|
+
"outputs": [
|
|
33
|
+
"CompanyGetFactorOutput"
|
|
34
|
+
],
|
|
35
|
+
"implementationHash": "381c3ea2c547adc8",
|
|
36
|
+
"contractHash": "61e895bbd85cdefe",
|
|
37
|
+
"inputHash": "6b321eb8",
|
|
38
|
+
"outputHash": "ed635d2b"
|
|
39
|
+
},
|
|
40
|
+
"companyGetFactorHistorical": {
|
|
41
|
+
"pikkuFuncId": "companyGetFactorHistorical",
|
|
42
|
+
"functionType": "user",
|
|
43
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
44
|
+
"sessionless": true,
|
|
45
|
+
"name": "companyGetFactorHistorical",
|
|
46
|
+
"inputSchemaName": "CompanyGetFactorHistoricalInput",
|
|
47
|
+
"outputSchemaName": "CompanyGetFactorHistoricalOutput",
|
|
48
|
+
"inputs": [
|
|
49
|
+
"CompanyGetFactorHistoricalInput"
|
|
50
|
+
],
|
|
51
|
+
"outputs": [
|
|
52
|
+
"CompanyGetFactorHistoricalOutput"
|
|
53
|
+
],
|
|
54
|
+
"implementationHash": "5e5237e13fd4487f",
|
|
55
|
+
"contractHash": "938c21c6f8f4bab1",
|
|
56
|
+
"inputHash": "8f58ce28",
|
|
57
|
+
"outputHash": "e71b1278"
|
|
58
|
+
},
|
|
59
|
+
"companyGetHistoricalScore": {
|
|
60
|
+
"pikkuFuncId": "companyGetHistoricalScore",
|
|
61
|
+
"functionType": "user",
|
|
62
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
63
|
+
"sessionless": true,
|
|
64
|
+
"name": "companyGetHistoricalScore",
|
|
65
|
+
"inputSchemaName": "CompanyGetHistoricalScoreInput",
|
|
66
|
+
"outputSchemaName": "CompanyGetHistoricalScoreOutput",
|
|
67
|
+
"inputs": [
|
|
68
|
+
"CompanyGetHistoricalScoreInput"
|
|
69
|
+
],
|
|
70
|
+
"outputs": [
|
|
71
|
+
"CompanyGetHistoricalScoreOutput"
|
|
72
|
+
],
|
|
73
|
+
"implementationHash": "ce7eb18d60db0a69",
|
|
74
|
+
"contractHash": "fde7c2d68768879a",
|
|
75
|
+
"inputHash": "0f8a089e",
|
|
76
|
+
"outputHash": "fbcfc744"
|
|
77
|
+
},
|
|
78
|
+
"companyGetScorePlan": {
|
|
79
|
+
"pikkuFuncId": "companyGetScorePlan",
|
|
80
|
+
"functionType": "user",
|
|
81
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
82
|
+
"sessionless": true,
|
|
83
|
+
"name": "companyGetScorePlan",
|
|
84
|
+
"inputSchemaName": "CompanyGetScorePlanInput",
|
|
85
|
+
"outputSchemaName": "CompanyGetScorePlanOutput",
|
|
86
|
+
"inputs": [
|
|
87
|
+
"CompanyGetScorePlanInput"
|
|
88
|
+
],
|
|
89
|
+
"outputs": [
|
|
90
|
+
"CompanyGetScorePlanOutput"
|
|
91
|
+
],
|
|
92
|
+
"implementationHash": "74413a17c7e5d0af",
|
|
93
|
+
"contractHash": "09523e7c052063bb",
|
|
94
|
+
"inputHash": "445da23f",
|
|
95
|
+
"outputHash": "33b9f22c"
|
|
96
|
+
},
|
|
97
|
+
"industryGetScore": {
|
|
98
|
+
"pikkuFuncId": "industryGetScore",
|
|
99
|
+
"functionType": "user",
|
|
100
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
101
|
+
"sessionless": true,
|
|
102
|
+
"name": "industryGetScore",
|
|
103
|
+
"inputSchemaName": "IndustryGetScoreInput",
|
|
104
|
+
"outputSchemaName": "IndustryGetScoreOutput",
|
|
105
|
+
"inputs": [
|
|
106
|
+
"IndustryGetScoreInput"
|
|
107
|
+
],
|
|
108
|
+
"outputs": [
|
|
109
|
+
"IndustryGetScoreOutput"
|
|
110
|
+
],
|
|
111
|
+
"implementationHash": "e8902cb7213e0b10",
|
|
112
|
+
"contractHash": "af6d523ce717dd65",
|
|
113
|
+
"inputHash": "299b8ef4",
|
|
114
|
+
"outputHash": "8207563c"
|
|
115
|
+
},
|
|
116
|
+
"industryGetFactor": {
|
|
117
|
+
"pikkuFuncId": "industryGetFactor",
|
|
118
|
+
"functionType": "user",
|
|
119
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
120
|
+
"sessionless": true,
|
|
121
|
+
"name": "industryGetFactor",
|
|
122
|
+
"inputSchemaName": "IndustryGetFactorInput",
|
|
123
|
+
"outputSchemaName": "IndustryGetFactorOutput",
|
|
124
|
+
"inputs": [
|
|
125
|
+
"IndustryGetFactorInput"
|
|
126
|
+
],
|
|
127
|
+
"outputs": [
|
|
128
|
+
"IndustryGetFactorOutput"
|
|
129
|
+
],
|
|
130
|
+
"implementationHash": "3586a662751cef67",
|
|
131
|
+
"contractHash": "544bf187f339ab7c",
|
|
132
|
+
"inputHash": "b1cac682",
|
|
133
|
+
"outputHash": "aae30945"
|
|
134
|
+
},
|
|
135
|
+
"industryGetFactorHistorical": {
|
|
136
|
+
"pikkuFuncId": "industryGetFactorHistorical",
|
|
137
|
+
"functionType": "user",
|
|
138
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
139
|
+
"sessionless": true,
|
|
140
|
+
"name": "industryGetFactorHistorical",
|
|
141
|
+
"inputSchemaName": "IndustryGetFactorHistoricalInput",
|
|
142
|
+
"outputSchemaName": "IndustryGetFactorHistoricalOutput",
|
|
143
|
+
"inputs": [
|
|
144
|
+
"IndustryGetFactorHistoricalInput"
|
|
145
|
+
],
|
|
146
|
+
"outputs": [
|
|
147
|
+
"IndustryGetFactorHistoricalOutput"
|
|
148
|
+
],
|
|
149
|
+
"implementationHash": "1f7330c68df4034f",
|
|
150
|
+
"contractHash": "5d4407a6c2c8886f",
|
|
151
|
+
"inputHash": "711836e3",
|
|
152
|
+
"outputHash": "b0cd4134"
|
|
153
|
+
},
|
|
154
|
+
"inviteCreate": {
|
|
155
|
+
"pikkuFuncId": "inviteCreate",
|
|
156
|
+
"functionType": "user",
|
|
157
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
158
|
+
"sessionless": true,
|
|
159
|
+
"name": "inviteCreate",
|
|
160
|
+
"inputSchemaName": "InviteCreateInput",
|
|
161
|
+
"outputSchemaName": "InviteCreateOutput",
|
|
162
|
+
"inputs": [
|
|
163
|
+
"InviteCreateInput"
|
|
164
|
+
],
|
|
165
|
+
"outputs": [
|
|
166
|
+
"InviteCreateOutput"
|
|
167
|
+
],
|
|
168
|
+
"implementationHash": "7acafa86cd68f6f0",
|
|
169
|
+
"contractHash": "79747121daf1d2b5",
|
|
170
|
+
"inputHash": "428e47ab",
|
|
171
|
+
"outputHash": "358fabf8"
|
|
172
|
+
},
|
|
173
|
+
"portfolioGetAll": {
|
|
174
|
+
"pikkuFuncId": "portfolioGetAll",
|
|
175
|
+
"functionType": "user",
|
|
176
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
177
|
+
"sessionless": true,
|
|
178
|
+
"name": "portfolioGetAll",
|
|
179
|
+
"inputSchemaName": null,
|
|
180
|
+
"outputSchemaName": "PortfolioGetAllOutput",
|
|
181
|
+
"inputs": [],
|
|
182
|
+
"outputs": [
|
|
183
|
+
"PortfolioGetAllOutput"
|
|
184
|
+
],
|
|
185
|
+
"implementationHash": "0c6cc57f5f8e0059",
|
|
186
|
+
"contractHash": "594b0509bec13c72",
|
|
187
|
+
"inputHash": "5987422e",
|
|
188
|
+
"outputHash": "1608961f"
|
|
189
|
+
},
|
|
190
|
+
"portfolioCreate": {
|
|
191
|
+
"pikkuFuncId": "portfolioCreate",
|
|
192
|
+
"functionType": "user",
|
|
193
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
194
|
+
"sessionless": true,
|
|
195
|
+
"name": "portfolioCreate",
|
|
196
|
+
"inputSchemaName": "PortfolioCreateInput",
|
|
197
|
+
"outputSchemaName": "PortfolioCreateOutput",
|
|
198
|
+
"inputs": [
|
|
199
|
+
"PortfolioCreateInput"
|
|
200
|
+
],
|
|
201
|
+
"outputs": [
|
|
202
|
+
"PortfolioCreateOutput"
|
|
203
|
+
],
|
|
204
|
+
"implementationHash": "d39a1486ba8a5b79",
|
|
205
|
+
"contractHash": "e15770ad409068d4",
|
|
206
|
+
"inputHash": "bca58f3b",
|
|
207
|
+
"outputHash": "7493b721"
|
|
208
|
+
},
|
|
209
|
+
"portfolioUpdate": {
|
|
210
|
+
"pikkuFuncId": "portfolioUpdate",
|
|
211
|
+
"functionType": "user",
|
|
212
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
213
|
+
"sessionless": true,
|
|
214
|
+
"name": "portfolioUpdate",
|
|
215
|
+
"inputSchemaName": "PortfolioUpdateInput",
|
|
216
|
+
"outputSchemaName": "PortfolioUpdateOutput",
|
|
217
|
+
"inputs": [
|
|
218
|
+
"PortfolioUpdateInput"
|
|
219
|
+
],
|
|
220
|
+
"outputs": [
|
|
221
|
+
"PortfolioUpdateOutput"
|
|
222
|
+
],
|
|
223
|
+
"implementationHash": "fec4e629612dc11d",
|
|
224
|
+
"contractHash": "f9895de1070d9150",
|
|
225
|
+
"inputHash": "0f3cf960",
|
|
226
|
+
"outputHash": "b4b4adf0"
|
|
227
|
+
},
|
|
228
|
+
"portfolioDelete": {
|
|
229
|
+
"pikkuFuncId": "portfolioDelete",
|
|
230
|
+
"functionType": "user",
|
|
231
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
232
|
+
"sessionless": true,
|
|
233
|
+
"name": "portfolioDelete",
|
|
234
|
+
"inputSchemaName": "PortfolioDeleteInput",
|
|
235
|
+
"outputSchemaName": "PortfolioDeleteOutput",
|
|
236
|
+
"inputs": [
|
|
237
|
+
"PortfolioDeleteInput"
|
|
238
|
+
],
|
|
239
|
+
"outputs": [
|
|
240
|
+
"PortfolioDeleteOutput"
|
|
241
|
+
],
|
|
242
|
+
"implementationHash": "387231d263bf3f8a",
|
|
243
|
+
"contractHash": "4b4d6f645d406f8d",
|
|
244
|
+
"inputHash": "164a178d",
|
|
245
|
+
"outputHash": "76d41ac6"
|
|
246
|
+
},
|
|
247
|
+
"portfolioCompanyGetAll": {
|
|
248
|
+
"pikkuFuncId": "portfolioCompanyGetAll",
|
|
249
|
+
"functionType": "user",
|
|
250
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
251
|
+
"sessionless": true,
|
|
252
|
+
"name": "portfolioCompanyGetAll",
|
|
253
|
+
"inputSchemaName": "PortfolioCompanyGetAllInput",
|
|
254
|
+
"outputSchemaName": "PortfolioCompanyGetAllOutput",
|
|
255
|
+
"inputs": [
|
|
256
|
+
"PortfolioCompanyGetAllInput"
|
|
257
|
+
],
|
|
258
|
+
"outputs": [
|
|
259
|
+
"PortfolioCompanyGetAllOutput"
|
|
260
|
+
],
|
|
261
|
+
"implementationHash": "103eb85276a161fa",
|
|
262
|
+
"contractHash": "98c60c6dc553aa12",
|
|
263
|
+
"inputHash": "bb6389c5",
|
|
264
|
+
"outputHash": "074279c0"
|
|
265
|
+
},
|
|
266
|
+
"portfolioCompanyAdd": {
|
|
267
|
+
"pikkuFuncId": "portfolioCompanyAdd",
|
|
268
|
+
"functionType": "user",
|
|
269
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
270
|
+
"sessionless": true,
|
|
271
|
+
"name": "portfolioCompanyAdd",
|
|
272
|
+
"inputSchemaName": "PortfolioCompanyAddInput",
|
|
273
|
+
"outputSchemaName": "PortfolioCompanyAddOutput",
|
|
274
|
+
"inputs": [
|
|
275
|
+
"PortfolioCompanyAddInput"
|
|
276
|
+
],
|
|
277
|
+
"outputs": [
|
|
278
|
+
"PortfolioCompanyAddOutput"
|
|
279
|
+
],
|
|
280
|
+
"implementationHash": "b07335ac91d66279",
|
|
281
|
+
"contractHash": "ff08c1d523dda690",
|
|
282
|
+
"inputHash": "92a2e9e7",
|
|
283
|
+
"outputHash": "35a6aafd"
|
|
284
|
+
},
|
|
285
|
+
"portfolioCompanyRemove": {
|
|
286
|
+
"pikkuFuncId": "portfolioCompanyRemove",
|
|
287
|
+
"functionType": "user",
|
|
288
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
289
|
+
"sessionless": true,
|
|
290
|
+
"name": "portfolioCompanyRemove",
|
|
291
|
+
"inputSchemaName": "PortfolioCompanyRemoveInput",
|
|
292
|
+
"outputSchemaName": "PortfolioCompanyRemoveOutput",
|
|
293
|
+
"inputs": [
|
|
294
|
+
"PortfolioCompanyRemoveInput"
|
|
295
|
+
],
|
|
296
|
+
"outputs": [
|
|
297
|
+
"PortfolioCompanyRemoveOutput"
|
|
298
|
+
],
|
|
299
|
+
"implementationHash": "a6bf93057416615c",
|
|
300
|
+
"contractHash": "9c47cf1a11824576",
|
|
301
|
+
"inputHash": "e45d3968",
|
|
302
|
+
"outputHash": "4aca9c32"
|
|
303
|
+
},
|
|
304
|
+
"reportGetAll": {
|
|
305
|
+
"pikkuFuncId": "reportGetAll",
|
|
306
|
+
"functionType": "user",
|
|
307
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
308
|
+
"sessionless": true,
|
|
309
|
+
"name": "reportGetAll",
|
|
310
|
+
"inputSchemaName": null,
|
|
311
|
+
"outputSchemaName": "ReportGetAllOutput",
|
|
312
|
+
"inputs": [],
|
|
313
|
+
"outputs": [
|
|
314
|
+
"ReportGetAllOutput"
|
|
315
|
+
],
|
|
316
|
+
"implementationHash": "8895936f07f65c4f",
|
|
317
|
+
"contractHash": "ccabcf293aa52316",
|
|
318
|
+
"inputHash": "dfe58fd1",
|
|
319
|
+
"outputHash": "5e615749"
|
|
320
|
+
},
|
|
321
|
+
"reportGenerate": {
|
|
322
|
+
"pikkuFuncId": "reportGenerate",
|
|
323
|
+
"functionType": "user",
|
|
324
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
325
|
+
"sessionless": true,
|
|
326
|
+
"name": "reportGenerate",
|
|
327
|
+
"inputSchemaName": "ReportGenerateInput",
|
|
328
|
+
"outputSchemaName": "ReportGenerateOutput",
|
|
329
|
+
"inputs": [
|
|
330
|
+
"ReportGenerateInput"
|
|
331
|
+
],
|
|
332
|
+
"outputs": [
|
|
333
|
+
"ReportGenerateOutput"
|
|
334
|
+
],
|
|
335
|
+
"implementationHash": "d459bcf1ff32e833",
|
|
336
|
+
"contractHash": "b0fca8c5c2881386",
|
|
337
|
+
"inputHash": "5c590345",
|
|
338
|
+
"outputHash": "38765b49"
|
|
339
|
+
},
|
|
340
|
+
"reportDownload": {
|
|
341
|
+
"pikkuFuncId": "reportDownload",
|
|
342
|
+
"functionType": "user",
|
|
343
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
344
|
+
"sessionless": true,
|
|
345
|
+
"name": "reportDownload",
|
|
346
|
+
"inputSchemaName": "ReportDownloadInput",
|
|
347
|
+
"outputSchemaName": "ReportDownloadOutput",
|
|
348
|
+
"inputs": [
|
|
349
|
+
"ReportDownloadInput"
|
|
350
|
+
],
|
|
351
|
+
"outputs": [
|
|
352
|
+
"ReportDownloadOutput"
|
|
353
|
+
],
|
|
354
|
+
"implementationHash": "02dc5cfac42075ab",
|
|
355
|
+
"contractHash": "734d3f1dab919695",
|
|
356
|
+
"inputHash": "656fd081",
|
|
357
|
+
"outputHash": "49ffaeb3"
|
|
358
|
+
}
|
|
359
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
import { pikkuState } from '@pikku/core/internal'
|
|
5
|
+
import type { FunctionsMeta } from '@pikku/core'
|
|
6
|
+
import metaData from './pikku-functions-meta.gen.json' with { type: 'json' }
|
|
7
|
+
pikkuState('@pikku/addon-security-scorecard', 'function', 'meta', metaData as FunctionsMeta)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-functions.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/function/pikku-functions.gen.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/* Import and register functions used by RPCs */
|
|
5
|
+
import { addFunction } from '@pikku/core/function';
|
|
6
|
+
import { companyGetFactor } from '../../src/functions/companyGetFactor.function.js';
|
|
7
|
+
import { companyGetFactorHistorical } from '../../src/functions/companyGetFactorHistorical.function.js';
|
|
8
|
+
import { companyGetHistoricalScore } from '../../src/functions/companyGetHistoricalScore.function.js';
|
|
9
|
+
import { companyGetScorecard } from '../../src/functions/companyGetScorecard.function.js';
|
|
10
|
+
import { companyGetScorePlan } from '../../src/functions/companyGetScorePlan.function.js';
|
|
11
|
+
import { industryGetFactor } from '../../src/functions/industryGetFactor.function.js';
|
|
12
|
+
import { industryGetFactorHistorical } from '../../src/functions/industryGetFactorHistorical.function.js';
|
|
13
|
+
import { industryGetScore } from '../../src/functions/industryGetScore.function.js';
|
|
14
|
+
import { inviteCreate } from '../../src/functions/inviteCreate.function.js';
|
|
15
|
+
import { portfolioCompanyAdd } from '../../src/functions/portfolioCompanyAdd.function.js';
|
|
16
|
+
import { portfolioCompanyGetAll } from '../../src/functions/portfolioCompanyGetAll.function.js';
|
|
17
|
+
import { portfolioCompanyRemove } from '../../src/functions/portfolioCompanyRemove.function.js';
|
|
18
|
+
import { portfolioCreate } from '../../src/functions/portfolioCreate.function.js';
|
|
19
|
+
import { portfolioDelete } from '../../src/functions/portfolioDelete.function.js';
|
|
20
|
+
import { portfolioGetAll } from '../../src/functions/portfolioGetAll.function.js';
|
|
21
|
+
import { portfolioUpdate } from '../../src/functions/portfolioUpdate.function.js';
|
|
22
|
+
import { reportDownload } from '../../src/functions/reportDownload.function.js';
|
|
23
|
+
import { reportGenerate } from '../../src/functions/reportGenerate.function.js';
|
|
24
|
+
import { reportGetAll } from '../../src/functions/reportGetAll.function.js';
|
|
25
|
+
addFunction('companyGetFactor', companyGetFactor, '@pikku/addon-security-scorecard');
|
|
26
|
+
addFunction('companyGetFactorHistorical', companyGetFactorHistorical, '@pikku/addon-security-scorecard');
|
|
27
|
+
addFunction('companyGetHistoricalScore', companyGetHistoricalScore, '@pikku/addon-security-scorecard');
|
|
28
|
+
addFunction('companyGetScorecard', companyGetScorecard, '@pikku/addon-security-scorecard');
|
|
29
|
+
addFunction('companyGetScorePlan', companyGetScorePlan, '@pikku/addon-security-scorecard');
|
|
30
|
+
addFunction('industryGetFactor', industryGetFactor, '@pikku/addon-security-scorecard');
|
|
31
|
+
addFunction('industryGetFactorHistorical', industryGetFactorHistorical, '@pikku/addon-security-scorecard');
|
|
32
|
+
addFunction('industryGetScore', industryGetScore, '@pikku/addon-security-scorecard');
|
|
33
|
+
addFunction('inviteCreate', inviteCreate, '@pikku/addon-security-scorecard');
|
|
34
|
+
addFunction('portfolioCompanyAdd', portfolioCompanyAdd, '@pikku/addon-security-scorecard');
|
|
35
|
+
addFunction('portfolioCompanyGetAll', portfolioCompanyGetAll, '@pikku/addon-security-scorecard');
|
|
36
|
+
addFunction('portfolioCompanyRemove', portfolioCompanyRemove, '@pikku/addon-security-scorecard');
|
|
37
|
+
addFunction('portfolioCreate', portfolioCreate, '@pikku/addon-security-scorecard');
|
|
38
|
+
addFunction('portfolioDelete', portfolioDelete, '@pikku/addon-security-scorecard');
|
|
39
|
+
addFunction('portfolioGetAll', portfolioGetAll, '@pikku/addon-security-scorecard');
|
|
40
|
+
addFunction('portfolioUpdate', portfolioUpdate, '@pikku/addon-security-scorecard');
|
|
41
|
+
addFunction('reportDownload', reportDownload, '@pikku/addon-security-scorecard');
|
|
42
|
+
addFunction('reportGenerate', reportGenerate, '@pikku/addon-security-scorecard');
|
|
43
|
+
addFunction('reportGetAll', reportGetAll, '@pikku/addon-security-scorecard');
|
|
44
|
+
//# sourceMappingURL=pikku-functions.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-functions.gen.js","sourceRoot":"","sources":["../../../.pikku/function/pikku-functions.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,gDAAgD;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,kDAAkD,CAAA;AACnF,OAAO,EAAE,0BAA0B,EAAE,MAAM,4DAA4D,CAAA;AACvG,OAAO,EAAE,yBAAyB,EAAE,MAAM,2DAA2D,CAAA;AACrG,OAAO,EAAE,mBAAmB,EAAE,MAAM,qDAAqD,CAAA;AACzF,OAAO,EAAE,mBAAmB,EAAE,MAAM,qDAAqD,CAAA;AACzF,OAAO,EAAE,iBAAiB,EAAE,MAAM,mDAAmD,CAAA;AACrF,OAAO,EAAE,2BAA2B,EAAE,MAAM,6DAA6D,CAAA;AACzG,OAAO,EAAE,gBAAgB,EAAE,MAAM,kDAAkD,CAAA;AACnF,OAAO,EAAE,YAAY,EAAE,MAAM,8CAA8C,CAAA;AAC3E,OAAO,EAAE,mBAAmB,EAAE,MAAM,qDAAqD,CAAA;AACzF,OAAO,EAAE,sBAAsB,EAAE,MAAM,wDAAwD,CAAA;AAC/F,OAAO,EAAE,sBAAsB,EAAE,MAAM,wDAAwD,CAAA;AAC/F,OAAO,EAAE,eAAe,EAAE,MAAM,iDAAiD,CAAA;AACjF,OAAO,EAAE,eAAe,EAAE,MAAM,iDAAiD,CAAA;AACjF,OAAO,EAAE,eAAe,EAAE,MAAM,iDAAiD,CAAA;AACjF,OAAO,EAAE,eAAe,EAAE,MAAM,iDAAiD,CAAA;AACjF,OAAO,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAA;AAC/E,OAAO,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAA;AAC/E,OAAO,EAAE,YAAY,EAAE,MAAM,8CAA8C,CAAA;AAE3E,WAAW,CAAC,kBAAkB,EAAE,gBAAgB,EAAE,iCAAiC,CAAC,CAAA;AACpF,WAAW,CAAC,4BAA4B,EAAE,0BAA0B,EAAE,iCAAiC,CAAC,CAAA;AACxG,WAAW,CAAC,2BAA2B,EAAE,yBAAyB,EAAE,iCAAiC,CAAC,CAAA;AACtG,WAAW,CAAC,qBAAqB,EAAE,mBAAmB,EAAE,iCAAiC,CAAC,CAAA;AAC1F,WAAW,CAAC,qBAAqB,EAAE,mBAAmB,EAAE,iCAAiC,CAAC,CAAA;AAC1F,WAAW,CAAC,mBAAmB,EAAE,iBAAiB,EAAE,iCAAiC,CAAC,CAAA;AACtF,WAAW,CAAC,6BAA6B,EAAE,2BAA2B,EAAE,iCAAiC,CAAC,CAAA;AAC1G,WAAW,CAAC,kBAAkB,EAAE,gBAAgB,EAAE,iCAAiC,CAAC,CAAA;AACpF,WAAW,CAAC,cAAc,EAAE,YAAY,EAAE,iCAAiC,CAAC,CAAA;AAC5E,WAAW,CAAC,qBAAqB,EAAE,mBAAmB,EAAE,iCAAiC,CAAC,CAAA;AAC1F,WAAW,CAAC,wBAAwB,EAAE,sBAAsB,EAAE,iCAAiC,CAAC,CAAA;AAChG,WAAW,CAAC,wBAAwB,EAAE,sBAAsB,EAAE,iCAAiC,CAAC,CAAA;AAChG,WAAW,CAAC,iBAAiB,EAAE,eAAe,EAAE,iCAAiC,CAAC,CAAA;AAClF,WAAW,CAAC,iBAAiB,EAAE,eAAe,EAAE,iCAAiC,CAAC,CAAA;AAClF,WAAW,CAAC,iBAAiB,EAAE,eAAe,EAAE,iCAAiC,CAAC,CAAA;AAClF,WAAW,CAAC,iBAAiB,EAAE,eAAe,EAAE,iCAAiC,CAAC,CAAA;AAClF,WAAW,CAAC,gBAAgB,EAAE,cAAc,EAAE,iCAAiC,CAAC,CAAA;AAChF,WAAW,CAAC,gBAAgB,EAAE,cAAc,EAAE,iCAAiC,CAAC,CAAA;AAChF,WAAW,CAAC,cAAc,EAAE,YAAY,EAAE,iCAAiC,CAAC,CAAA"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/* Import and register functions used by RPCs */
|
|
5
|
+
import { addFunction } from '@pikku/core/function'
|
|
6
|
+
import { companyGetFactor } from '../../src/functions/companyGetFactor.function.js'
|
|
7
|
+
import { companyGetFactorHistorical } from '../../src/functions/companyGetFactorHistorical.function.js'
|
|
8
|
+
import { companyGetHistoricalScore } from '../../src/functions/companyGetHistoricalScore.function.js'
|
|
9
|
+
import { companyGetScorecard } from '../../src/functions/companyGetScorecard.function.js'
|
|
10
|
+
import { companyGetScorePlan } from '../../src/functions/companyGetScorePlan.function.js'
|
|
11
|
+
import { industryGetFactor } from '../../src/functions/industryGetFactor.function.js'
|
|
12
|
+
import { industryGetFactorHistorical } from '../../src/functions/industryGetFactorHistorical.function.js'
|
|
13
|
+
import { industryGetScore } from '../../src/functions/industryGetScore.function.js'
|
|
14
|
+
import { inviteCreate } from '../../src/functions/inviteCreate.function.js'
|
|
15
|
+
import { portfolioCompanyAdd } from '../../src/functions/portfolioCompanyAdd.function.js'
|
|
16
|
+
import { portfolioCompanyGetAll } from '../../src/functions/portfolioCompanyGetAll.function.js'
|
|
17
|
+
import { portfolioCompanyRemove } from '../../src/functions/portfolioCompanyRemove.function.js'
|
|
18
|
+
import { portfolioCreate } from '../../src/functions/portfolioCreate.function.js'
|
|
19
|
+
import { portfolioDelete } from '../../src/functions/portfolioDelete.function.js'
|
|
20
|
+
import { portfolioGetAll } from '../../src/functions/portfolioGetAll.function.js'
|
|
21
|
+
import { portfolioUpdate } from '../../src/functions/portfolioUpdate.function.js'
|
|
22
|
+
import { reportDownload } from '../../src/functions/reportDownload.function.js'
|
|
23
|
+
import { reportGenerate } from '../../src/functions/reportGenerate.function.js'
|
|
24
|
+
import { reportGetAll } from '../../src/functions/reportGetAll.function.js'
|
|
25
|
+
|
|
26
|
+
addFunction('companyGetFactor', companyGetFactor, '@pikku/addon-security-scorecard')
|
|
27
|
+
addFunction('companyGetFactorHistorical', companyGetFactorHistorical, '@pikku/addon-security-scorecard')
|
|
28
|
+
addFunction('companyGetHistoricalScore', companyGetHistoricalScore, '@pikku/addon-security-scorecard')
|
|
29
|
+
addFunction('companyGetScorecard', companyGetScorecard, '@pikku/addon-security-scorecard')
|
|
30
|
+
addFunction('companyGetScorePlan', companyGetScorePlan, '@pikku/addon-security-scorecard')
|
|
31
|
+
addFunction('industryGetFactor', industryGetFactor, '@pikku/addon-security-scorecard')
|
|
32
|
+
addFunction('industryGetFactorHistorical', industryGetFactorHistorical, '@pikku/addon-security-scorecard')
|
|
33
|
+
addFunction('industryGetScore', industryGetScore, '@pikku/addon-security-scorecard')
|
|
34
|
+
addFunction('inviteCreate', inviteCreate, '@pikku/addon-security-scorecard')
|
|
35
|
+
addFunction('portfolioCompanyAdd', portfolioCompanyAdd, '@pikku/addon-security-scorecard')
|
|
36
|
+
addFunction('portfolioCompanyGetAll', portfolioCompanyGetAll, '@pikku/addon-security-scorecard')
|
|
37
|
+
addFunction('portfolioCompanyRemove', portfolioCompanyRemove, '@pikku/addon-security-scorecard')
|
|
38
|
+
addFunction('portfolioCreate', portfolioCreate, '@pikku/addon-security-scorecard')
|
|
39
|
+
addFunction('portfolioDelete', portfolioDelete, '@pikku/addon-security-scorecard')
|
|
40
|
+
addFunction('portfolioGetAll', portfolioGetAll, '@pikku/addon-security-scorecard')
|
|
41
|
+
addFunction('portfolioUpdate', portfolioUpdate, '@pikku/addon-security-scorecard')
|
|
42
|
+
addFunction('reportDownload', reportDownload, '@pikku/addon-security-scorecard')
|
|
43
|
+
addFunction('reportGenerate', reportGenerate, '@pikku/addon-security-scorecard')
|
|
44
|
+
addFunction('reportGetAll', reportGetAll, '@pikku/addon-security-scorecard')
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* HTTP-specific type definitions for tree-shaking optimization
|
|
6
|
+
*/
|
|
7
|
+
import { AssertHTTPWiringParams } from '@pikku/core/http';
|
|
8
|
+
import type { PikkuFunction, PikkuFunctionSessionless, PikkuPermission, PikkuMiddleware, PikkuFunctionConfig } from '../function/pikku-function-types.gen.js';
|
|
9
|
+
import type { CoreHTTPFunctionWiring, HTTPMethod, HTTPRouteBaseConfig } from '@pikku/core/http';
|
|
10
|
+
/**
|
|
11
|
+
* Type definition for HTTP API wirings with type-safe path parameters.
|
|
12
|
+
* Supports both authenticated and unauthenticated functions.
|
|
13
|
+
*
|
|
14
|
+
* @template In - Input type for the HTTP wiring
|
|
15
|
+
* @template Out - Output type for the HTTP wiring
|
|
16
|
+
* @template Route - String literal type for the HTTP path (e.g., "/users/:id")
|
|
17
|
+
*/
|
|
18
|
+
type HTTPWiring<In, Out, Route extends string> = CoreHTTPFunctionWiring<In, Out, Route, PikkuFunction<In, Out, 'rpc' | 'session'>, PikkuFunctionSessionless<In, Out, 'rpc' | 'session'>, PikkuPermission<In>, PikkuMiddleware>;
|
|
19
|
+
/**
|
|
20
|
+
* Registers an HTTP wiring with the Pikku framework.
|
|
21
|
+
*
|
|
22
|
+
* @template In - Input type for the HTTP wiring
|
|
23
|
+
* @template Out - Output type for the HTTP wiring
|
|
24
|
+
* @template Route - String literal type for the HTTP path (e.g., "/users/:id")
|
|
25
|
+
* @param httpWiring - HTTP wiring definition with handler, method, and optional middleware
|
|
26
|
+
*/
|
|
27
|
+
export declare const wireHTTP: <In, Out, Route extends string>(httpWiring: HTTPWiring<In, Out, Route> & AssertHTTPWiringParams<In, Route>) => void;
|
|
28
|
+
/**
|
|
29
|
+
* Registers HTTP middleware either globally or for a specific route pattern.
|
|
30
|
+
*
|
|
31
|
+
* When a string route pattern is provided along with middleware, the middleware
|
|
32
|
+
* is applied only to that route. Otherwise, if an array is provided, it is treated
|
|
33
|
+
* as global middleware (applied to all routes).
|
|
34
|
+
*
|
|
35
|
+
* @param routeOrMiddleware - Either a global middleware array or a route pattern string
|
|
36
|
+
* @param middleware - The middleware array to apply when a route pattern is specified
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* ```typescript
|
|
40
|
+
* // Add global HTTP middleware
|
|
41
|
+
* addHTTPMiddleware([authMiddleware, loggingMiddleware])
|
|
42
|
+
*
|
|
43
|
+
* // Add route-specific middleware
|
|
44
|
+
* addHTTPMiddleware('/api/admin/*', [adminAuthMiddleware])
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
export declare const addHTTPMiddleware: (routeOrMiddleware: PikkuMiddleware[] | string, middleware?: PikkuMiddleware[]) => void;
|
|
48
|
+
/**
|
|
49
|
+
* Registers HTTP permissions either globally or for a specific route pattern.
|
|
50
|
+
*
|
|
51
|
+
* When a string route pattern is provided along with permissions, the permissions
|
|
52
|
+
* are applied only to that route. Permissions can be passed as an array or as a
|
|
53
|
+
* permission group object.
|
|
54
|
+
*
|
|
55
|
+
* @param pattern - Route pattern string (e.g., '*' for all routes, '/api/*' for specific routes)
|
|
56
|
+
* @param permissions - The permissions to apply for the specified route pattern
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* ```typescript
|
|
60
|
+
* // Add global HTTP permissions
|
|
61
|
+
* addHTTPPermission('*', { global: globalPermission })
|
|
62
|
+
*
|
|
63
|
+
* // Add route-specific permissions
|
|
64
|
+
* addHTTPPermission('/api/admin/*', { admin: adminPermission })
|
|
65
|
+
* ```
|
|
66
|
+
*/
|
|
67
|
+
export declare const addHTTPPermission: <In = unknown>(pattern: string, permissions: Record<string, PikkuPermission<In>> | PikkuPermission<In>[]) => void;
|
|
68
|
+
/**
|
|
69
|
+
* Route configuration for wireHTTPRoutes with proper typing
|
|
70
|
+
*/
|
|
71
|
+
type HTTPRouteConfig = HTTPRouteBaseConfig & {
|
|
72
|
+
method: HTTPMethod;
|
|
73
|
+
route: string;
|
|
74
|
+
func: PikkuFunctionConfig<any, any, any, any, any, any>;
|
|
75
|
+
auth?: boolean;
|
|
76
|
+
permissions?: Record<string, PikkuPermission | PikkuPermission[]>;
|
|
77
|
+
middleware?: PikkuMiddleware[];
|
|
78
|
+
sse?: boolean;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* Typed route map for wireHTTPRoutes
|
|
82
|
+
*/
|
|
83
|
+
type TypedHTTPRouteMap = {
|
|
84
|
+
[key: string]: HTTPRouteConfig | TypedHTTPRouteMap | TypedHTTPRouteContract;
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
* Typed route contract for defineHTTPRoutes
|
|
88
|
+
*/
|
|
89
|
+
type TypedHTTPRouteContract<T extends TypedHTTPRouteMap = TypedHTTPRouteMap> = TypedHTTPRoutesGroupConfig & {
|
|
90
|
+
routes: T;
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* Group config with typed middleware/permissions
|
|
94
|
+
*/
|
|
95
|
+
type TypedHTTPRoutesGroupConfig = {
|
|
96
|
+
basePath?: string;
|
|
97
|
+
tags?: string[];
|
|
98
|
+
auth?: boolean;
|
|
99
|
+
middleware?: PikkuMiddleware[];
|
|
100
|
+
permissions?: Record<string, PikkuPermission | PikkuPermission[]>;
|
|
101
|
+
};
|
|
102
|
+
/**
|
|
103
|
+
* Full config for wireHTTPRoutes
|
|
104
|
+
*/
|
|
105
|
+
type TypedWireHTTPRoutesConfig = TypedHTTPRoutesGroupConfig & {
|
|
106
|
+
routes: TypedHTTPRouteMap | HTTPRouteConfig[];
|
|
107
|
+
};
|
|
108
|
+
/**
|
|
109
|
+
* Type-safe helper for defining route contracts that can be composed.
|
|
110
|
+
*/
|
|
111
|
+
export declare function defineHTTPRoutes<T extends TypedHTTPRouteMap>(routes: T): TypedHTTPRouteContract<T>;
|
|
112
|
+
export declare function defineHTTPRoutes<T extends TypedHTTPRouteMap>(config: TypedHTTPRoutesGroupConfig & {
|
|
113
|
+
routes: T;
|
|
114
|
+
}): TypedHTTPRouteContract<T>;
|
|
115
|
+
/**
|
|
116
|
+
* Wires multiple HTTP routes from a nested map or array configuration.
|
|
117
|
+
*/
|
|
118
|
+
export declare const wireHTTPRoutes: (config: TypedWireHTTPRoutesConfig) => void;
|
|
119
|
+
export {};
|
|
120
|
+
//# sourceMappingURL=pikku-http-types.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-http-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/http/pikku-http-types.gen.ts"],"names":[],"mappings":"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"}
|