@pikku/addon-mautic 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 +582 -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 +382 -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 +46 -0
- package/dist/.pikku/function/pikku-functions.gen.js.map +1 -0
- package/dist/.pikku/function/pikku-functions.gen.ts +46 -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 +243 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +263 -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 +22 -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 +89 -0
- package/dist/.pikku/schemas/register.gen.js.map +1 -0
- package/dist/.pikku/schemas/register.gen.ts +171 -0
- package/dist/.pikku/schemas/schemas/CampaignContactAddInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CampaignContactAddOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CampaignContactRemoveInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CampaignContactRemoveOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CompanyContactAddInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CompanyContactAddOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CompanyContactRemoveInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CompanyContactRemoveOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CompanyCreateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CompanyCreateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CompanyDeleteInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CompanyDeleteOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CompanyGetAllInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CompanyGetAllOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CompanyGetInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CompanyGetOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CompanyUpdateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CompanyUpdateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactCreateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactCreateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactDeleteInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactDeleteOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactEditContactPointInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactEditContactPointOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactEditDoNotContactListInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactEditDoNotContactListOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactGetAllInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactGetAllOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactGetInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactGetOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactSegmentAddInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactSegmentAddOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactSegmentRemoveInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactSegmentRemoveOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactSendEmailInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactSendEmailOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactUpdateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactUpdateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CredentialSchema_mautic.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/SegmentEmailSendInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/SegmentEmailSendOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/VariableSchema_MAUTIC_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/campaignContactAdd.function.d.ts +17 -0
- package/dist/src/functions/campaignContactAdd.function.d.ts.map +1 -0
- package/dist/src/functions/campaignContactAdd.function.js +16 -0
- package/dist/src/functions/campaignContactAdd.function.js.map +1 -0
- package/dist/src/functions/campaignContactRemove.function.d.ts +17 -0
- package/dist/src/functions/campaignContactRemove.function.d.ts.map +1 -0
- package/dist/src/functions/campaignContactRemove.function.js +16 -0
- package/dist/src/functions/campaignContactRemove.function.js.map +1 -0
- package/dist/src/functions/companyContactAdd.function.d.ts +17 -0
- package/dist/src/functions/companyContactAdd.function.d.ts.map +1 -0
- package/dist/src/functions/companyContactAdd.function.js +16 -0
- package/dist/src/functions/companyContactAdd.function.js.map +1 -0
- package/dist/src/functions/companyContactRemove.function.d.ts +17 -0
- package/dist/src/functions/companyContactRemove.function.d.ts.map +1 -0
- package/dist/src/functions/companyContactRemove.function.js +16 -0
- package/dist/src/functions/companyContactRemove.function.js.map +1 -0
- package/dist/src/functions/companyCreate.function.d.ts +21 -0
- package/dist/src/functions/companyCreate.function.d.ts.map +1 -0
- package/dist/src/functions/companyCreate.function.js +17 -0
- package/dist/src/functions/companyCreate.function.js.map +1 -0
- package/dist/src/functions/companyDelete.function.d.ts +13 -0
- package/dist/src/functions/companyDelete.function.d.ts.map +1 -0
- package/dist/src/functions/companyDelete.function.js +15 -0
- package/dist/src/functions/companyDelete.function.js.map +1 -0
- package/dist/src/functions/companyGet.function.d.ts +13 -0
- package/dist/src/functions/companyGet.function.d.ts.map +1 -0
- package/dist/src/functions/companyGet.function.js +15 -0
- package/dist/src/functions/companyGet.function.js.map +1 -0
- package/dist/src/functions/companyGetAll.function.d.ts +17 -0
- package/dist/src/functions/companyGetAll.function.d.ts.map +1 -0
- package/dist/src/functions/companyGetAll.function.js +16 -0
- package/dist/src/functions/companyGetAll.function.js.map +1 -0
- package/dist/src/functions/companyUpdate.function.d.ts +21 -0
- package/dist/src/functions/companyUpdate.function.d.ts.map +1 -0
- package/dist/src/functions/companyUpdate.function.js +17 -0
- package/dist/src/functions/companyUpdate.function.js.map +1 -0
- package/dist/src/functions/contactCreate.function.d.ts +25 -0
- package/dist/src/functions/contactCreate.function.d.ts.map +1 -0
- package/dist/src/functions/contactCreate.function.js +18 -0
- package/dist/src/functions/contactCreate.function.js.map +1 -0
- package/dist/src/functions/contactDelete.function.d.ts +13 -0
- package/dist/src/functions/contactDelete.function.d.ts.map +1 -0
- package/dist/src/functions/contactDelete.function.js +15 -0
- package/dist/src/functions/contactDelete.function.js.map +1 -0
- package/dist/src/functions/contactEditContactPoint.function.d.ts +21 -0
- package/dist/src/functions/contactEditContactPoint.function.d.ts.map +1 -0
- package/dist/src/functions/contactEditContactPoint.function.js +17 -0
- package/dist/src/functions/contactEditContactPoint.function.js.map +1 -0
- package/dist/src/functions/contactEditDoNotContactList.function.d.ts +21 -0
- package/dist/src/functions/contactEditDoNotContactList.function.d.ts.map +1 -0
- package/dist/src/functions/contactEditDoNotContactList.function.js +17 -0
- package/dist/src/functions/contactEditDoNotContactList.function.js.map +1 -0
- package/dist/src/functions/contactGet.function.d.ts +13 -0
- package/dist/src/functions/contactGet.function.d.ts.map +1 -0
- package/dist/src/functions/contactGet.function.js +15 -0
- package/dist/src/functions/contactGet.function.js.map +1 -0
- package/dist/src/functions/contactGetAll.function.d.ts +21 -0
- package/dist/src/functions/contactGetAll.function.d.ts.map +1 -0
- package/dist/src/functions/contactGetAll.function.js +17 -0
- package/dist/src/functions/contactGetAll.function.js.map +1 -0
- package/dist/src/functions/contactSegmentAdd.function.d.ts +17 -0
- package/dist/src/functions/contactSegmentAdd.function.d.ts.map +1 -0
- package/dist/src/functions/contactSegmentAdd.function.js +16 -0
- package/dist/src/functions/contactSegmentAdd.function.js.map +1 -0
- package/dist/src/functions/contactSegmentRemove.function.d.ts +17 -0
- package/dist/src/functions/contactSegmentRemove.function.d.ts.map +1 -0
- package/dist/src/functions/contactSegmentRemove.function.js +16 -0
- package/dist/src/functions/contactSegmentRemove.function.js.map +1 -0
- package/dist/src/functions/contactSendEmail.function.d.ts +17 -0
- package/dist/src/functions/contactSendEmail.function.d.ts.map +1 -0
- package/dist/src/functions/contactSendEmail.function.js +16 -0
- package/dist/src/functions/contactSendEmail.function.js.map +1 -0
- package/dist/src/functions/contactUpdate.function.d.ts +25 -0
- package/dist/src/functions/contactUpdate.function.d.ts.map +1 -0
- package/dist/src/functions/contactUpdate.function.js +18 -0
- package/dist/src/functions/contactUpdate.function.js.map +1 -0
- package/dist/src/functions/segmentEmailSend.function.d.ts +13 -0
- package/dist/src/functions/segmentEmailSend.function.d.ts.map +1 -0
- package/dist/src/functions/segmentEmailSend.function.js +15 -0
- package/dist/src/functions/segmentEmailSend.function.js.map +1 -0
- package/dist/src/index.d.ts +21 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +21 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/mautic-api.service.d.ts +10 -0
- package/dist/src/mautic-api.service.d.ts.map +1 -0
- package/dist/src/mautic-api.service.js +225 -0
- package/dist/src/mautic-api.service.js.map +1 -0
- package/dist/src/mautic.credential.d.ts +5 -0
- package/dist/src/mautic.credential.d.ts.map +1 -0
- package/dist/src/mautic.credential.js +13 -0
- package/dist/src/mautic.credential.js.map +1 -0
- package/dist/src/mautic.types.d.ts +7 -0
- package/dist/src/mautic.types.d.ts.map +1 -0
- package/dist/src/mautic.types.js +8 -0
- package/dist/src/mautic.types.js.map +1 -0
- package/dist/src/mautic.variable.d.ts +5 -0
- package/dist/src/mautic.variable.d.ts.map +1 -0
- package/dist/src/mautic.variable.js +11 -0
- package/dist/src/mautic.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,382 @@
|
|
|
1
|
+
{
|
|
2
|
+
"companyCreate": {
|
|
3
|
+
"pikkuFuncId": "companyCreate",
|
|
4
|
+
"functionType": "user",
|
|
5
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
6
|
+
"sessionless": true,
|
|
7
|
+
"name": "companyCreate",
|
|
8
|
+
"inputSchemaName": "CompanyCreateInput",
|
|
9
|
+
"outputSchemaName": "CompanyCreateOutput",
|
|
10
|
+
"inputs": [
|
|
11
|
+
"CompanyCreateInput"
|
|
12
|
+
],
|
|
13
|
+
"outputs": [
|
|
14
|
+
"CompanyCreateOutput"
|
|
15
|
+
],
|
|
16
|
+
"implementationHash": "4788e29b73fec8bf",
|
|
17
|
+
"contractHash": "4e1ddb68cded069b",
|
|
18
|
+
"inputHash": "2a702044",
|
|
19
|
+
"outputHash": "6c646a99"
|
|
20
|
+
},
|
|
21
|
+
"companyUpdate": {
|
|
22
|
+
"pikkuFuncId": "companyUpdate",
|
|
23
|
+
"functionType": "user",
|
|
24
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
25
|
+
"sessionless": true,
|
|
26
|
+
"name": "companyUpdate",
|
|
27
|
+
"inputSchemaName": "CompanyUpdateInput",
|
|
28
|
+
"outputSchemaName": "CompanyUpdateOutput",
|
|
29
|
+
"inputs": [
|
|
30
|
+
"CompanyUpdateInput"
|
|
31
|
+
],
|
|
32
|
+
"outputs": [
|
|
33
|
+
"CompanyUpdateOutput"
|
|
34
|
+
],
|
|
35
|
+
"implementationHash": "567b8b6cf7a161de",
|
|
36
|
+
"contractHash": "e524f137c16cc8de",
|
|
37
|
+
"inputHash": "b0192421",
|
|
38
|
+
"outputHash": "f75bf7c0"
|
|
39
|
+
},
|
|
40
|
+
"companyGet": {
|
|
41
|
+
"pikkuFuncId": "companyGet",
|
|
42
|
+
"functionType": "user",
|
|
43
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
44
|
+
"sessionless": true,
|
|
45
|
+
"name": "companyGet",
|
|
46
|
+
"inputSchemaName": "CompanyGetInput",
|
|
47
|
+
"outputSchemaName": "CompanyGetOutput",
|
|
48
|
+
"inputs": [
|
|
49
|
+
"CompanyGetInput"
|
|
50
|
+
],
|
|
51
|
+
"outputs": [
|
|
52
|
+
"CompanyGetOutput"
|
|
53
|
+
],
|
|
54
|
+
"implementationHash": "5eb555325355fb5b",
|
|
55
|
+
"contractHash": "1d5fa19f87177e99",
|
|
56
|
+
"inputHash": "d5e1ad33",
|
|
57
|
+
"outputHash": "5aaa934a"
|
|
58
|
+
},
|
|
59
|
+
"companyGetAll": {
|
|
60
|
+
"pikkuFuncId": "companyGetAll",
|
|
61
|
+
"functionType": "user",
|
|
62
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
63
|
+
"sessionless": true,
|
|
64
|
+
"name": "companyGetAll",
|
|
65
|
+
"inputSchemaName": "CompanyGetAllInput",
|
|
66
|
+
"outputSchemaName": "CompanyGetAllOutput",
|
|
67
|
+
"inputs": [
|
|
68
|
+
"CompanyGetAllInput"
|
|
69
|
+
],
|
|
70
|
+
"outputs": [
|
|
71
|
+
"CompanyGetAllOutput"
|
|
72
|
+
],
|
|
73
|
+
"implementationHash": "bd7c06580101b69f",
|
|
74
|
+
"contractHash": "fd8a16aff7e542c8",
|
|
75
|
+
"inputHash": "0297500a",
|
|
76
|
+
"outputHash": "d838d993"
|
|
77
|
+
},
|
|
78
|
+
"companyDelete": {
|
|
79
|
+
"pikkuFuncId": "companyDelete",
|
|
80
|
+
"functionType": "user",
|
|
81
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
82
|
+
"sessionless": true,
|
|
83
|
+
"name": "companyDelete",
|
|
84
|
+
"inputSchemaName": "CompanyDeleteInput",
|
|
85
|
+
"outputSchemaName": "CompanyDeleteOutput",
|
|
86
|
+
"inputs": [
|
|
87
|
+
"CompanyDeleteInput"
|
|
88
|
+
],
|
|
89
|
+
"outputs": [
|
|
90
|
+
"CompanyDeleteOutput"
|
|
91
|
+
],
|
|
92
|
+
"implementationHash": "6cdc742ffa839928",
|
|
93
|
+
"contractHash": "9b43c62552313228",
|
|
94
|
+
"inputHash": "fab01f38",
|
|
95
|
+
"outputHash": "7c328c1b"
|
|
96
|
+
},
|
|
97
|
+
"contactCreate": {
|
|
98
|
+
"pikkuFuncId": "contactCreate",
|
|
99
|
+
"functionType": "user",
|
|
100
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
101
|
+
"sessionless": true,
|
|
102
|
+
"name": "contactCreate",
|
|
103
|
+
"inputSchemaName": "ContactCreateInput",
|
|
104
|
+
"outputSchemaName": "ContactCreateOutput",
|
|
105
|
+
"inputs": [
|
|
106
|
+
"ContactCreateInput"
|
|
107
|
+
],
|
|
108
|
+
"outputs": [
|
|
109
|
+
"ContactCreateOutput"
|
|
110
|
+
],
|
|
111
|
+
"implementationHash": "e7e7000a202bf86b",
|
|
112
|
+
"contractHash": "b131f018accb2f64",
|
|
113
|
+
"inputHash": "2b6af98a",
|
|
114
|
+
"outputHash": "8a72fa54"
|
|
115
|
+
},
|
|
116
|
+
"contactUpdate": {
|
|
117
|
+
"pikkuFuncId": "contactUpdate",
|
|
118
|
+
"functionType": "user",
|
|
119
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
120
|
+
"sessionless": true,
|
|
121
|
+
"name": "contactUpdate",
|
|
122
|
+
"inputSchemaName": "ContactUpdateInput",
|
|
123
|
+
"outputSchemaName": "ContactUpdateOutput",
|
|
124
|
+
"inputs": [
|
|
125
|
+
"ContactUpdateInput"
|
|
126
|
+
],
|
|
127
|
+
"outputs": [
|
|
128
|
+
"ContactUpdateOutput"
|
|
129
|
+
],
|
|
130
|
+
"implementationHash": "482a713829b36684",
|
|
131
|
+
"contractHash": "dcb651dadcf05086",
|
|
132
|
+
"inputHash": "b947b1f2",
|
|
133
|
+
"outputHash": "bd7c8214"
|
|
134
|
+
},
|
|
135
|
+
"contactGet": {
|
|
136
|
+
"pikkuFuncId": "contactGet",
|
|
137
|
+
"functionType": "user",
|
|
138
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
139
|
+
"sessionless": true,
|
|
140
|
+
"name": "contactGet",
|
|
141
|
+
"inputSchemaName": "ContactGetInput",
|
|
142
|
+
"outputSchemaName": "ContactGetOutput",
|
|
143
|
+
"inputs": [
|
|
144
|
+
"ContactGetInput"
|
|
145
|
+
],
|
|
146
|
+
"outputs": [
|
|
147
|
+
"ContactGetOutput"
|
|
148
|
+
],
|
|
149
|
+
"implementationHash": "b96b1a6101cbc4bc",
|
|
150
|
+
"contractHash": "0e4e4b0282082850",
|
|
151
|
+
"inputHash": "a6cc551b",
|
|
152
|
+
"outputHash": "efd411dd"
|
|
153
|
+
},
|
|
154
|
+
"contactGetAll": {
|
|
155
|
+
"pikkuFuncId": "contactGetAll",
|
|
156
|
+
"functionType": "user",
|
|
157
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
158
|
+
"sessionless": true,
|
|
159
|
+
"name": "contactGetAll",
|
|
160
|
+
"inputSchemaName": "ContactGetAllInput",
|
|
161
|
+
"outputSchemaName": "ContactGetAllOutput",
|
|
162
|
+
"inputs": [
|
|
163
|
+
"ContactGetAllInput"
|
|
164
|
+
],
|
|
165
|
+
"outputs": [
|
|
166
|
+
"ContactGetAllOutput"
|
|
167
|
+
],
|
|
168
|
+
"implementationHash": "4743c1d27b454837",
|
|
169
|
+
"contractHash": "8b42493ad2bc9637",
|
|
170
|
+
"inputHash": "b4320178",
|
|
171
|
+
"outputHash": "dbc1253f"
|
|
172
|
+
},
|
|
173
|
+
"contactDelete": {
|
|
174
|
+
"pikkuFuncId": "contactDelete",
|
|
175
|
+
"functionType": "user",
|
|
176
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
177
|
+
"sessionless": true,
|
|
178
|
+
"name": "contactDelete",
|
|
179
|
+
"inputSchemaName": "ContactDeleteInput",
|
|
180
|
+
"outputSchemaName": "ContactDeleteOutput",
|
|
181
|
+
"inputs": [
|
|
182
|
+
"ContactDeleteInput"
|
|
183
|
+
],
|
|
184
|
+
"outputs": [
|
|
185
|
+
"ContactDeleteOutput"
|
|
186
|
+
],
|
|
187
|
+
"implementationHash": "d0e800b6cf6d1977",
|
|
188
|
+
"contractHash": "f84154b801c70c2d",
|
|
189
|
+
"inputHash": "f84ccc9f",
|
|
190
|
+
"outputHash": "66384b44"
|
|
191
|
+
},
|
|
192
|
+
"contactSendEmail": {
|
|
193
|
+
"pikkuFuncId": "contactSendEmail",
|
|
194
|
+
"functionType": "user",
|
|
195
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
196
|
+
"sessionless": true,
|
|
197
|
+
"name": "contactSendEmail",
|
|
198
|
+
"inputSchemaName": "ContactSendEmailInput",
|
|
199
|
+
"outputSchemaName": "ContactSendEmailOutput",
|
|
200
|
+
"inputs": [
|
|
201
|
+
"ContactSendEmailInput"
|
|
202
|
+
],
|
|
203
|
+
"outputs": [
|
|
204
|
+
"ContactSendEmailOutput"
|
|
205
|
+
],
|
|
206
|
+
"implementationHash": "98866bc675b24d64",
|
|
207
|
+
"contractHash": "771635ffe514acb7",
|
|
208
|
+
"inputHash": "5e241d42",
|
|
209
|
+
"outputHash": "c090db82"
|
|
210
|
+
},
|
|
211
|
+
"contactEditDoNotContactList": {
|
|
212
|
+
"pikkuFuncId": "contactEditDoNotContactList",
|
|
213
|
+
"functionType": "user",
|
|
214
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
215
|
+
"sessionless": true,
|
|
216
|
+
"name": "contactEditDoNotContactList",
|
|
217
|
+
"inputSchemaName": "ContactEditDoNotContactListInput",
|
|
218
|
+
"outputSchemaName": "ContactEditDoNotContactListOutput",
|
|
219
|
+
"inputs": [
|
|
220
|
+
"ContactEditDoNotContactListInput"
|
|
221
|
+
],
|
|
222
|
+
"outputs": [
|
|
223
|
+
"ContactEditDoNotContactListOutput"
|
|
224
|
+
],
|
|
225
|
+
"implementationHash": "deb24d7017dc3841",
|
|
226
|
+
"contractHash": "2ef2282d82cf4dd5",
|
|
227
|
+
"inputHash": "7529c905",
|
|
228
|
+
"outputHash": "6226363b"
|
|
229
|
+
},
|
|
230
|
+
"contactEditContactPoint": {
|
|
231
|
+
"pikkuFuncId": "contactEditContactPoint",
|
|
232
|
+
"functionType": "user",
|
|
233
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
234
|
+
"sessionless": true,
|
|
235
|
+
"name": "contactEditContactPoint",
|
|
236
|
+
"inputSchemaName": "ContactEditContactPointInput",
|
|
237
|
+
"outputSchemaName": "ContactEditContactPointOutput",
|
|
238
|
+
"inputs": [
|
|
239
|
+
"ContactEditContactPointInput"
|
|
240
|
+
],
|
|
241
|
+
"outputs": [
|
|
242
|
+
"ContactEditContactPointOutput"
|
|
243
|
+
],
|
|
244
|
+
"implementationHash": "ef85f9aee7c20a21",
|
|
245
|
+
"contractHash": "9cdb640d3e898726",
|
|
246
|
+
"inputHash": "a2dd70e9",
|
|
247
|
+
"outputHash": "f3151690"
|
|
248
|
+
},
|
|
249
|
+
"contactSegmentAdd": {
|
|
250
|
+
"pikkuFuncId": "contactSegmentAdd",
|
|
251
|
+
"functionType": "user",
|
|
252
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
253
|
+
"sessionless": true,
|
|
254
|
+
"name": "contactSegmentAdd",
|
|
255
|
+
"inputSchemaName": "ContactSegmentAddInput",
|
|
256
|
+
"outputSchemaName": "ContactSegmentAddOutput",
|
|
257
|
+
"inputs": [
|
|
258
|
+
"ContactSegmentAddInput"
|
|
259
|
+
],
|
|
260
|
+
"outputs": [
|
|
261
|
+
"ContactSegmentAddOutput"
|
|
262
|
+
],
|
|
263
|
+
"implementationHash": "132cff11eecba478",
|
|
264
|
+
"contractHash": "f79b93156ba088b7",
|
|
265
|
+
"inputHash": "b09d3246",
|
|
266
|
+
"outputHash": "b56fe4d6"
|
|
267
|
+
},
|
|
268
|
+
"contactSegmentRemove": {
|
|
269
|
+
"pikkuFuncId": "contactSegmentRemove",
|
|
270
|
+
"functionType": "user",
|
|
271
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
272
|
+
"sessionless": true,
|
|
273
|
+
"name": "contactSegmentRemove",
|
|
274
|
+
"inputSchemaName": "ContactSegmentRemoveInput",
|
|
275
|
+
"outputSchemaName": "ContactSegmentRemoveOutput",
|
|
276
|
+
"inputs": [
|
|
277
|
+
"ContactSegmentRemoveInput"
|
|
278
|
+
],
|
|
279
|
+
"outputs": [
|
|
280
|
+
"ContactSegmentRemoveOutput"
|
|
281
|
+
],
|
|
282
|
+
"implementationHash": "7650896feee6de92",
|
|
283
|
+
"contractHash": "13021998004b492a",
|
|
284
|
+
"inputHash": "b60b598f",
|
|
285
|
+
"outputHash": "7017b46c"
|
|
286
|
+
},
|
|
287
|
+
"campaignContactAdd": {
|
|
288
|
+
"pikkuFuncId": "campaignContactAdd",
|
|
289
|
+
"functionType": "user",
|
|
290
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
291
|
+
"sessionless": true,
|
|
292
|
+
"name": "campaignContactAdd",
|
|
293
|
+
"inputSchemaName": "CampaignContactAddInput",
|
|
294
|
+
"outputSchemaName": "CampaignContactAddOutput",
|
|
295
|
+
"inputs": [
|
|
296
|
+
"CampaignContactAddInput"
|
|
297
|
+
],
|
|
298
|
+
"outputs": [
|
|
299
|
+
"CampaignContactAddOutput"
|
|
300
|
+
],
|
|
301
|
+
"implementationHash": "1fc612637c52d834",
|
|
302
|
+
"contractHash": "79df1c567b14aad9",
|
|
303
|
+
"inputHash": "244a51b7",
|
|
304
|
+
"outputHash": "4e573f90"
|
|
305
|
+
},
|
|
306
|
+
"campaignContactRemove": {
|
|
307
|
+
"pikkuFuncId": "campaignContactRemove",
|
|
308
|
+
"functionType": "user",
|
|
309
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
310
|
+
"sessionless": true,
|
|
311
|
+
"name": "campaignContactRemove",
|
|
312
|
+
"inputSchemaName": "CampaignContactRemoveInput",
|
|
313
|
+
"outputSchemaName": "CampaignContactRemoveOutput",
|
|
314
|
+
"inputs": [
|
|
315
|
+
"CampaignContactRemoveInput"
|
|
316
|
+
],
|
|
317
|
+
"outputs": [
|
|
318
|
+
"CampaignContactRemoveOutput"
|
|
319
|
+
],
|
|
320
|
+
"implementationHash": "7b06fc67856b3ef1",
|
|
321
|
+
"contractHash": "7bcb47d10b3f0102",
|
|
322
|
+
"inputHash": "4860ddea",
|
|
323
|
+
"outputHash": "0b784084"
|
|
324
|
+
},
|
|
325
|
+
"companyContactAdd": {
|
|
326
|
+
"pikkuFuncId": "companyContactAdd",
|
|
327
|
+
"functionType": "user",
|
|
328
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
329
|
+
"sessionless": true,
|
|
330
|
+
"name": "companyContactAdd",
|
|
331
|
+
"inputSchemaName": "CompanyContactAddInput",
|
|
332
|
+
"outputSchemaName": "CompanyContactAddOutput",
|
|
333
|
+
"inputs": [
|
|
334
|
+
"CompanyContactAddInput"
|
|
335
|
+
],
|
|
336
|
+
"outputs": [
|
|
337
|
+
"CompanyContactAddOutput"
|
|
338
|
+
],
|
|
339
|
+
"implementationHash": "c1e49a85447fef3e",
|
|
340
|
+
"contractHash": "2f8bd2363026fb08",
|
|
341
|
+
"inputHash": "11225f3a",
|
|
342
|
+
"outputHash": "da6f6a4f"
|
|
343
|
+
},
|
|
344
|
+
"companyContactRemove": {
|
|
345
|
+
"pikkuFuncId": "companyContactRemove",
|
|
346
|
+
"functionType": "user",
|
|
347
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
348
|
+
"sessionless": true,
|
|
349
|
+
"name": "companyContactRemove",
|
|
350
|
+
"inputSchemaName": "CompanyContactRemoveInput",
|
|
351
|
+
"outputSchemaName": "CompanyContactRemoveOutput",
|
|
352
|
+
"inputs": [
|
|
353
|
+
"CompanyContactRemoveInput"
|
|
354
|
+
],
|
|
355
|
+
"outputs": [
|
|
356
|
+
"CompanyContactRemoveOutput"
|
|
357
|
+
],
|
|
358
|
+
"implementationHash": "ff7f8dc1dbd6f6e6",
|
|
359
|
+
"contractHash": "2d6300d156a56a16",
|
|
360
|
+
"inputHash": "fac4c2e9",
|
|
361
|
+
"outputHash": "c7cd2946"
|
|
362
|
+
},
|
|
363
|
+
"segmentEmailSend": {
|
|
364
|
+
"pikkuFuncId": "segmentEmailSend",
|
|
365
|
+
"functionType": "user",
|
|
366
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
367
|
+
"sessionless": true,
|
|
368
|
+
"name": "segmentEmailSend",
|
|
369
|
+
"inputSchemaName": "SegmentEmailSendInput",
|
|
370
|
+
"outputSchemaName": "SegmentEmailSendOutput",
|
|
371
|
+
"inputs": [
|
|
372
|
+
"SegmentEmailSendInput"
|
|
373
|
+
],
|
|
374
|
+
"outputs": [
|
|
375
|
+
"SegmentEmailSendOutput"
|
|
376
|
+
],
|
|
377
|
+
"implementationHash": "dec405cf8359b156",
|
|
378
|
+
"contractHash": "0c1b6b4ee6987479",
|
|
379
|
+
"inputHash": "0494c605",
|
|
380
|
+
"outputHash": "9376effb"
|
|
381
|
+
}
|
|
382
|
+
}
|
|
@@ -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-mautic', '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,46 @@
|
|
|
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 { campaignContactAdd } from '../../src/functions/campaignContactAdd.function.js';
|
|
7
|
+
import { campaignContactRemove } from '../../src/functions/campaignContactRemove.function.js';
|
|
8
|
+
import { companyContactAdd } from '../../src/functions/companyContactAdd.function.js';
|
|
9
|
+
import { companyContactRemove } from '../../src/functions/companyContactRemove.function.js';
|
|
10
|
+
import { companyCreate } from '../../src/functions/companyCreate.function.js';
|
|
11
|
+
import { companyDelete } from '../../src/functions/companyDelete.function.js';
|
|
12
|
+
import { companyGet } from '../../src/functions/companyGet.function.js';
|
|
13
|
+
import { companyGetAll } from '../../src/functions/companyGetAll.function.js';
|
|
14
|
+
import { companyUpdate } from '../../src/functions/companyUpdate.function.js';
|
|
15
|
+
import { contactCreate } from '../../src/functions/contactCreate.function.js';
|
|
16
|
+
import { contactDelete } from '../../src/functions/contactDelete.function.js';
|
|
17
|
+
import { contactEditContactPoint } from '../../src/functions/contactEditContactPoint.function.js';
|
|
18
|
+
import { contactEditDoNotContactList } from '../../src/functions/contactEditDoNotContactList.function.js';
|
|
19
|
+
import { contactGet } from '../../src/functions/contactGet.function.js';
|
|
20
|
+
import { contactGetAll } from '../../src/functions/contactGetAll.function.js';
|
|
21
|
+
import { contactSegmentAdd } from '../../src/functions/contactSegmentAdd.function.js';
|
|
22
|
+
import { contactSegmentRemove } from '../../src/functions/contactSegmentRemove.function.js';
|
|
23
|
+
import { contactSendEmail } from '../../src/functions/contactSendEmail.function.js';
|
|
24
|
+
import { contactUpdate } from '../../src/functions/contactUpdate.function.js';
|
|
25
|
+
import { segmentEmailSend } from '../../src/functions/segmentEmailSend.function.js';
|
|
26
|
+
addFunction('campaignContactAdd', campaignContactAdd, '@pikku/addon-mautic');
|
|
27
|
+
addFunction('campaignContactRemove', campaignContactRemove, '@pikku/addon-mautic');
|
|
28
|
+
addFunction('companyContactAdd', companyContactAdd, '@pikku/addon-mautic');
|
|
29
|
+
addFunction('companyContactRemove', companyContactRemove, '@pikku/addon-mautic');
|
|
30
|
+
addFunction('companyCreate', companyCreate, '@pikku/addon-mautic');
|
|
31
|
+
addFunction('companyDelete', companyDelete, '@pikku/addon-mautic');
|
|
32
|
+
addFunction('companyGet', companyGet, '@pikku/addon-mautic');
|
|
33
|
+
addFunction('companyGetAll', companyGetAll, '@pikku/addon-mautic');
|
|
34
|
+
addFunction('companyUpdate', companyUpdate, '@pikku/addon-mautic');
|
|
35
|
+
addFunction('contactCreate', contactCreate, '@pikku/addon-mautic');
|
|
36
|
+
addFunction('contactDelete', contactDelete, '@pikku/addon-mautic');
|
|
37
|
+
addFunction('contactEditContactPoint', contactEditContactPoint, '@pikku/addon-mautic');
|
|
38
|
+
addFunction('contactEditDoNotContactList', contactEditDoNotContactList, '@pikku/addon-mautic');
|
|
39
|
+
addFunction('contactGet', contactGet, '@pikku/addon-mautic');
|
|
40
|
+
addFunction('contactGetAll', contactGetAll, '@pikku/addon-mautic');
|
|
41
|
+
addFunction('contactSegmentAdd', contactSegmentAdd, '@pikku/addon-mautic');
|
|
42
|
+
addFunction('contactSegmentRemove', contactSegmentRemove, '@pikku/addon-mautic');
|
|
43
|
+
addFunction('contactSendEmail', contactSendEmail, '@pikku/addon-mautic');
|
|
44
|
+
addFunction('contactUpdate', contactUpdate, '@pikku/addon-mautic');
|
|
45
|
+
addFunction('segmentEmailSend', segmentEmailSend, '@pikku/addon-mautic');
|
|
46
|
+
//# 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":"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"}
|
|
@@ -0,0 +1,46 @@
|
|
|
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 { campaignContactAdd } from '../../src/functions/campaignContactAdd.function.js'
|
|
7
|
+
import { campaignContactRemove } from '../../src/functions/campaignContactRemove.function.js'
|
|
8
|
+
import { companyContactAdd } from '../../src/functions/companyContactAdd.function.js'
|
|
9
|
+
import { companyContactRemove } from '../../src/functions/companyContactRemove.function.js'
|
|
10
|
+
import { companyCreate } from '../../src/functions/companyCreate.function.js'
|
|
11
|
+
import { companyDelete } from '../../src/functions/companyDelete.function.js'
|
|
12
|
+
import { companyGet } from '../../src/functions/companyGet.function.js'
|
|
13
|
+
import { companyGetAll } from '../../src/functions/companyGetAll.function.js'
|
|
14
|
+
import { companyUpdate } from '../../src/functions/companyUpdate.function.js'
|
|
15
|
+
import { contactCreate } from '../../src/functions/contactCreate.function.js'
|
|
16
|
+
import { contactDelete } from '../../src/functions/contactDelete.function.js'
|
|
17
|
+
import { contactEditContactPoint } from '../../src/functions/contactEditContactPoint.function.js'
|
|
18
|
+
import { contactEditDoNotContactList } from '../../src/functions/contactEditDoNotContactList.function.js'
|
|
19
|
+
import { contactGet } from '../../src/functions/contactGet.function.js'
|
|
20
|
+
import { contactGetAll } from '../../src/functions/contactGetAll.function.js'
|
|
21
|
+
import { contactSegmentAdd } from '../../src/functions/contactSegmentAdd.function.js'
|
|
22
|
+
import { contactSegmentRemove } from '../../src/functions/contactSegmentRemove.function.js'
|
|
23
|
+
import { contactSendEmail } from '../../src/functions/contactSendEmail.function.js'
|
|
24
|
+
import { contactUpdate } from '../../src/functions/contactUpdate.function.js'
|
|
25
|
+
import { segmentEmailSend } from '../../src/functions/segmentEmailSend.function.js'
|
|
26
|
+
|
|
27
|
+
addFunction('campaignContactAdd', campaignContactAdd, '@pikku/addon-mautic')
|
|
28
|
+
addFunction('campaignContactRemove', campaignContactRemove, '@pikku/addon-mautic')
|
|
29
|
+
addFunction('companyContactAdd', companyContactAdd, '@pikku/addon-mautic')
|
|
30
|
+
addFunction('companyContactRemove', companyContactRemove, '@pikku/addon-mautic')
|
|
31
|
+
addFunction('companyCreate', companyCreate, '@pikku/addon-mautic')
|
|
32
|
+
addFunction('companyDelete', companyDelete, '@pikku/addon-mautic')
|
|
33
|
+
addFunction('companyGet', companyGet, '@pikku/addon-mautic')
|
|
34
|
+
addFunction('companyGetAll', companyGetAll, '@pikku/addon-mautic')
|
|
35
|
+
addFunction('companyUpdate', companyUpdate, '@pikku/addon-mautic')
|
|
36
|
+
addFunction('contactCreate', contactCreate, '@pikku/addon-mautic')
|
|
37
|
+
addFunction('contactDelete', contactDelete, '@pikku/addon-mautic')
|
|
38
|
+
addFunction('contactEditContactPoint', contactEditContactPoint, '@pikku/addon-mautic')
|
|
39
|
+
addFunction('contactEditDoNotContactList', contactEditDoNotContactList, '@pikku/addon-mautic')
|
|
40
|
+
addFunction('contactGet', contactGet, '@pikku/addon-mautic')
|
|
41
|
+
addFunction('contactGetAll', contactGetAll, '@pikku/addon-mautic')
|
|
42
|
+
addFunction('contactSegmentAdd', contactSegmentAdd, '@pikku/addon-mautic')
|
|
43
|
+
addFunction('contactSegmentRemove', contactSegmentRemove, '@pikku/addon-mautic')
|
|
44
|
+
addFunction('contactSendEmail', contactSendEmail, '@pikku/addon-mautic')
|
|
45
|
+
addFunction('contactUpdate', contactUpdate, '@pikku/addon-mautic')
|
|
46
|
+
addFunction('segmentEmailSend', segmentEmailSend, '@pikku/addon-mautic')
|
|
@@ -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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"}
|