@pikku/addon-meta-conversions 0.1.1
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 +15 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +65 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.js +74 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.js.map +1 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.ts +100 -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 +9 -0
- package/dist/.pikku/addon/pikku-package.gen.js.map +1 -0
- package/dist/.pikku/addon/pikku-package.gen.ts +9 -0
- package/dist/.pikku/agent/pikku-agent-map.gen.d.ts +16 -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 +76 -0
- package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.d.ts +2 -0
- package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.d.ts.map +1 -0
- package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.js +7 -0
- package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.js.map +1 -0
- package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.json +3 -0
- package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.ts +7 -0
- package/dist/.pikku/agent/pikku-agent-wirings.gen.d.ts +5 -0
- package/dist/.pikku/agent/pikku-agent-wirings.gen.d.ts.map +1 -0
- package/dist/.pikku/agent/pikku-agent-wirings.gen.js +5 -0
- package/dist/.pikku/agent/pikku-agent-wirings.gen.js.map +1 -0
- package/dist/.pikku/agent/pikku-agent-wirings.gen.ts +3 -0
- package/dist/.pikku/console/pikku-addon-meta.gen.json +33 -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/function/pikku-function-types.gen.d.ts +506 -0
- package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +1 -0
- package/dist/.pikku/function/pikku-function-types.gen.js +314 -0
- package/dist/.pikku/function/pikku-function-types.gen.js.map +1 -0
- package/dist/.pikku/function/pikku-function-types.gen.ts +686 -0
- package/dist/.pikku/function/pikku-functions-meta-verbose.gen.json +28 -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 +20 -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 +8 -0
- package/dist/.pikku/function/pikku-functions.gen.js.map +1 -0
- package/dist/.pikku/function/pikku-functions.gen.ts +8 -0
- package/dist/.pikku/pikku-bootstrap.gen.d.ts +7 -0
- package/dist/.pikku/pikku-bootstrap.gen.d.ts.map +1 -0
- package/dist/.pikku/pikku-bootstrap.gen.js +17 -0
- package/dist/.pikku/pikku-bootstrap.gen.js.map +1 -0
- package/dist/.pikku/pikku-bootstrap.gen.ts +15 -0
- package/dist/.pikku/pikku-services.gen.d.ts +28 -0
- package/dist/.pikku/pikku-services.gen.d.ts.map +1 -0
- package/dist/.pikku/pikku-services.gen.js +23 -0
- package/dist/.pikku/pikku-services.gen.js.map +1 -0
- package/dist/.pikku/pikku-services.gen.ts +35 -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/rpc/pikku-rpc-wirings-map.gen.d.ts +115 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +116 -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 +11 -0
- package/dist/.pikku/schemas/register.gen.js.map +1 -0
- package/dist/.pikku/schemas/register.gen.ts +15 -0
- package/dist/.pikku/schemas/schemas/EventSendInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/EventSendOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/SecretSchema_metaConversions.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 +10 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +15 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts.map +1 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.js +13 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.js.map +1 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.ts +23 -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 +1 -0
- package/dist/.pikku/variables/pikku-variables.gen.d.ts +12 -0
- package/dist/.pikku/variables/pikku-variables.gen.d.ts.map +1 -0
- package/dist/.pikku/variables/pikku-variables.gen.js +11 -0
- package/dist/.pikku/variables/pikku-variables.gen.js.map +1 -0
- package/dist/.pikku/variables/pikku-variables.gen.ts +21 -0
- package/dist/.pikku/workflow/pikku-workflow-map.gen.d.ts +34 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +81 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js +31 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.ts +158 -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/events/send.function.d.ts +109 -0
- package/dist/src/functions/events/send.function.d.ts.map +1 -0
- package/dist/src/functions/events/send.function.js +43 -0
- package/dist/src/functions/events/send.function.js.map +1 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +3 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/meta-conversions-api.service.d.ts +23 -0
- package/dist/src/meta-conversions-api.service.d.ts.map +1 -0
- package/dist/src/meta-conversions-api.service.js +29 -0
- package/dist/src/meta-conversions-api.service.js.map +1 -0
- package/dist/src/meta-conversions.secret.d.ts +7 -0
- package/dist/src/meta-conversions.secret.d.ts.map +1 -0
- package/dist/src/meta-conversions.secret.js +14 -0
- package/dist/src/meta-conversions.secret.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 +8 -0
- package/dist/src/services.js.map +1 -0
- package/package.json +37 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"eventSend": {
|
|
3
|
+
"pikkuFuncId": "eventSend",
|
|
4
|
+
"functionType": "user",
|
|
5
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
6
|
+
"sessionless": true,
|
|
7
|
+
"name": "eventSend",
|
|
8
|
+
"services": {
|
|
9
|
+
"optimized": true,
|
|
10
|
+
"services": [
|
|
11
|
+
"metaConversions"
|
|
12
|
+
]
|
|
13
|
+
},
|
|
14
|
+
"inputSchemaName": "EventSendInput",
|
|
15
|
+
"outputSchemaName": "EventSendOutput",
|
|
16
|
+
"inputs": [
|
|
17
|
+
"EventSendInput"
|
|
18
|
+
],
|
|
19
|
+
"outputs": [
|
|
20
|
+
"EventSendOutput"
|
|
21
|
+
],
|
|
22
|
+
"description": "Send server-side conversion events to Meta via the Conversions API",
|
|
23
|
+
"isDirectFunction": false,
|
|
24
|
+
"contractHash": "5864ea42d4379da5",
|
|
25
|
+
"inputHash": "0030f99c",
|
|
26
|
+
"outputHash": "39d1f240"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-functions-meta.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/function/pikku-functions-meta.gen.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.6
|
|
3
|
+
*/
|
|
4
|
+
import { pikkuState } from '@pikku/core/internal';
|
|
5
|
+
import metaData from './pikku-functions-meta.gen.json' with { type: 'json' };
|
|
6
|
+
pikkuState('@pikku/addon-meta-conversions', 'function', 'meta', metaData);
|
|
7
|
+
//# sourceMappingURL=pikku-functions-meta.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-functions-meta.gen.js","sourceRoot":"","sources":["../../../.pikku/function/pikku-functions-meta.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAEjD,OAAO,QAAQ,MAAM,iCAAiC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAC5E,UAAU,CAAC,+BAA+B,EAAE,UAAU,EAAE,MAAM,EAAE,QAAyB,CAAC,CAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"eventSend": {
|
|
3
|
+
"pikkuFuncId": "eventSend",
|
|
4
|
+
"functionType": "user",
|
|
5
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
6
|
+
"sessionless": true,
|
|
7
|
+
"name": "eventSend",
|
|
8
|
+
"inputSchemaName": "EventSendInput",
|
|
9
|
+
"outputSchemaName": "EventSendOutput",
|
|
10
|
+
"inputs": [
|
|
11
|
+
"EventSendInput"
|
|
12
|
+
],
|
|
13
|
+
"outputs": [
|
|
14
|
+
"EventSendOutput"
|
|
15
|
+
],
|
|
16
|
+
"contractHash": "5864ea42d4379da5",
|
|
17
|
+
"inputHash": "0030f99c",
|
|
18
|
+
"outputHash": "39d1f240"
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.6
|
|
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-meta-conversions', '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,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.6
|
|
3
|
+
*/
|
|
4
|
+
/* Import and register functions used by RPCs */
|
|
5
|
+
import { addFunction } from '@pikku/core';
|
|
6
|
+
import { eventSend } from '../../src/functions/events/send.function.js';
|
|
7
|
+
addFunction('eventSend', eventSend, '@pikku/addon-meta-conversions');
|
|
8
|
+
//# 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,aAAa,CAAA;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAEvE,WAAW,CAAC,WAAW,EAAE,SAAS,EAAE,+BAA+B,CAAC,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.6
|
|
3
|
+
*/
|
|
4
|
+
/* Import and register functions used by RPCs */
|
|
5
|
+
import { addFunction } from '@pikku/core'
|
|
6
|
+
import { eventSend } from '../../src/functions/events/send.function.js'
|
|
7
|
+
|
|
8
|
+
addFunction('eventSend', eventSend, '@pikku/addon-meta-conversions')
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import './agent/pikku-agent-wirings-meta.gen.js';
|
|
2
|
+
import './function/pikku-functions-meta.gen.js';
|
|
3
|
+
import './addon/pikku-package.gen.js';
|
|
4
|
+
import './agent/pikku-agent-wirings.gen.js';
|
|
5
|
+
import './schemas/register.gen.js';
|
|
6
|
+
import './function/pikku-functions.gen.js';
|
|
7
|
+
//# sourceMappingURL=pikku-bootstrap.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-bootstrap.gen.d.ts","sourceRoot":"","sources":["../../.pikku/pikku-bootstrap.gen.ts"],"names":[],"mappings":"AASA,OAAO,yCAAyC,CAAA;AAChD,OAAO,wCAAwC,CAAA;AAC/C,OAAO,8BAA8B,CAAA;AACrC,OAAO,oCAAoC,CAAA;AAC3C,OAAO,2BAA2B,CAAA;AAClC,OAAO,mCAAmC,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.6
|
|
3
|
+
*/
|
|
4
|
+
import { pikkuState as __pikkuState } from '@pikku/core/internal';
|
|
5
|
+
try {
|
|
6
|
+
const { fileURLToPath: __fileURLToPath } = await import('url');
|
|
7
|
+
const { dirname: __dirname } = await import('path');
|
|
8
|
+
__pikkuState('@pikku/addon-meta-conversions', 'package', 'metaDir', __dirname(__fileURLToPath(import.meta.url)));
|
|
9
|
+
}
|
|
10
|
+
catch { }
|
|
11
|
+
import './agent/pikku-agent-wirings-meta.gen.js';
|
|
12
|
+
import './function/pikku-functions-meta.gen.js';
|
|
13
|
+
import './addon/pikku-package.gen.js';
|
|
14
|
+
import './agent/pikku-agent-wirings.gen.js';
|
|
15
|
+
import './schemas/register.gen.js';
|
|
16
|
+
import './function/pikku-functions.gen.js';
|
|
17
|
+
//# sourceMappingURL=pikku-bootstrap.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-bootstrap.gen.js","sourceRoot":"","sources":["../../.pikku/pikku-bootstrap.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,IAAI,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACjE,IAAI,CAAC;IACH,MAAM,EAAE,aAAa,EAAE,eAAe,EAAE,GAAG,MAAM,MAAM,CAAC,KAAK,CAAC,CAAA;IAC9D,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,MAAM,MAAM,CAAC,MAAM,CAAC,CAAA;IACnD,YAAY,CAAC,+BAA+B,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,CAAC,eAAe,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAA;AAClH,CAAC;AAAC,MAAM,CAAC,CAAA,CAAC;AACV,OAAO,yCAAyC,CAAA;AAChD,OAAO,wCAAwC,CAAA;AAC/C,OAAO,8BAA8B,CAAA;AACrC,OAAO,oCAAoC,CAAA;AAC3C,OAAO,2BAA2B,CAAA;AAClC,OAAO,mCAAmC,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.6
|
|
3
|
+
*/
|
|
4
|
+
import { pikkuState as __pikkuState } from '@pikku/core/internal'
|
|
5
|
+
try {
|
|
6
|
+
const { fileURLToPath: __fileURLToPath } = await import('url')
|
|
7
|
+
const { dirname: __dirname } = await import('path')
|
|
8
|
+
__pikkuState('@pikku/addon-meta-conversions', 'package', 'metaDir', __dirname(__fileURLToPath(import.meta.url)))
|
|
9
|
+
} catch {}
|
|
10
|
+
import './agent/pikku-agent-wirings-meta.gen.js'
|
|
11
|
+
import './function/pikku-functions-meta.gen.js'
|
|
12
|
+
import './addon/pikku-package.gen.js'
|
|
13
|
+
import './agent/pikku-agent-wirings.gen.js'
|
|
14
|
+
import './schemas/register.gen.js'
|
|
15
|
+
import './function/pikku-functions.gen.js'
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.6
|
|
3
|
+
*/
|
|
4
|
+
import type { SingletonServices } from '../types/application-types.d.js';
|
|
5
|
+
import type { Services } from '../types/application-types.d.js';
|
|
6
|
+
export declare const requiredSingletonServices: {
|
|
7
|
+
readonly agentRunService: false;
|
|
8
|
+
readonly aiAgentRunner: false;
|
|
9
|
+
readonly aiRunState: false;
|
|
10
|
+
readonly aiStorage: false;
|
|
11
|
+
readonly config: true;
|
|
12
|
+
readonly content: false;
|
|
13
|
+
readonly deploymentService: false;
|
|
14
|
+
readonly jwt: false;
|
|
15
|
+
readonly logger: true;
|
|
16
|
+
readonly metaConversions: false;
|
|
17
|
+
readonly queueService: false;
|
|
18
|
+
readonly schedulerService: false;
|
|
19
|
+
readonly schema: true;
|
|
20
|
+
readonly secrets: true;
|
|
21
|
+
readonly variables: true;
|
|
22
|
+
readonly workflowRunService: false;
|
|
23
|
+
readonly workflowService: false;
|
|
24
|
+
};
|
|
25
|
+
export declare const requiredWireServices: {};
|
|
26
|
+
export type RequiredSingletonServices = Pick<SingletonServices, 'config' | 'logger' | 'schema' | 'secrets' | 'variables'> & Partial<Omit<SingletonServices, 'config' | 'logger' | 'schema' | 'secrets' | 'variables'>>;
|
|
27
|
+
export type RequiredWireServices = Partial<Services>;
|
|
28
|
+
//# sourceMappingURL=pikku-services.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-services.gen.d.ts","sourceRoot":"","sources":["../../.pikku/pikku-services.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAA;AACxE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAA;AAG/D,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;CAkB5B,CAAA;AAGV,eAAO,MAAM,oBAAoB,IACvB,CAAA;AAGV,MAAM,MAAM,yBAAyB,GAAG,IAAI,CAAC,iBAAiB,EAAE,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,WAAW,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,WAAW,CAAC,CAAC,CAAA;AAEtN,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// Singleton services map: true if required, false if available but unused
|
|
2
|
+
export const requiredSingletonServices = {
|
|
3
|
+
'agentRunService': false,
|
|
4
|
+
'aiAgentRunner': false,
|
|
5
|
+
'aiRunState': false,
|
|
6
|
+
'aiStorage': false,
|
|
7
|
+
'config': true,
|
|
8
|
+
'content': false,
|
|
9
|
+
'deploymentService': false,
|
|
10
|
+
'jwt': false,
|
|
11
|
+
'logger': true,
|
|
12
|
+
'metaConversions': false,
|
|
13
|
+
'queueService': false,
|
|
14
|
+
'schedulerService': false,
|
|
15
|
+
'schema': true,
|
|
16
|
+
'secrets': true,
|
|
17
|
+
'variables': true,
|
|
18
|
+
'workflowRunService': false,
|
|
19
|
+
'workflowService': false,
|
|
20
|
+
};
|
|
21
|
+
// Wire services map: true if required, false if available but unused
|
|
22
|
+
export const requiredWireServices = {};
|
|
23
|
+
//# sourceMappingURL=pikku-services.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-services.gen.js","sourceRoot":"","sources":["../../.pikku/pikku-services.gen.ts"],"names":[],"mappings":"AAMA,0EAA0E;AAC1E,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,iBAAiB,EAAE,KAAK;IACxB,eAAe,EAAE,KAAK;IACtB,YAAY,EAAE,KAAK;IACnB,WAAW,EAAE,KAAK;IAClB,QAAQ,EAAE,IAAI;IACd,SAAS,EAAE,KAAK;IAChB,mBAAmB,EAAE,KAAK;IAC1B,KAAK,EAAE,KAAK;IACZ,QAAQ,EAAE,IAAI;IACd,iBAAiB,EAAE,KAAK;IACxB,cAAc,EAAE,KAAK;IACrB,kBAAkB,EAAE,KAAK;IACzB,QAAQ,EAAE,IAAI;IACd,SAAS,EAAE,IAAI;IACf,WAAW,EAAE,IAAI;IACjB,oBAAoB,EAAE,KAAK;IAC3B,iBAAiB,EAAE,KAAK;CAChB,CAAA;AAEV,qEAAqE;AACrE,MAAM,CAAC,MAAM,oBAAoB,GAAG,EAC1B,CAAA"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.6
|
|
3
|
+
*/
|
|
4
|
+
import type { SingletonServices } from '../types/application-types.d.js'
|
|
5
|
+
import type { Services } from '../types/application-types.d.js'
|
|
6
|
+
|
|
7
|
+
// Singleton services map: true if required, false if available but unused
|
|
8
|
+
export const requiredSingletonServices = {
|
|
9
|
+
'agentRunService': false,
|
|
10
|
+
'aiAgentRunner': false,
|
|
11
|
+
'aiRunState': false,
|
|
12
|
+
'aiStorage': false,
|
|
13
|
+
'config': true,
|
|
14
|
+
'content': false,
|
|
15
|
+
'deploymentService': false,
|
|
16
|
+
'jwt': false,
|
|
17
|
+
'logger': true,
|
|
18
|
+
'metaConversions': false,
|
|
19
|
+
'queueService': false,
|
|
20
|
+
'schedulerService': false,
|
|
21
|
+
'schema': true,
|
|
22
|
+
'secrets': true,
|
|
23
|
+
'variables': true,
|
|
24
|
+
'workflowRunService': false,
|
|
25
|
+
'workflowService': false,
|
|
26
|
+
} as const
|
|
27
|
+
|
|
28
|
+
// Wire services map: true if required, false if available but unused
|
|
29
|
+
export const requiredWireServices = {
|
|
30
|
+
} as const
|
|
31
|
+
|
|
32
|
+
// Type exports
|
|
33
|
+
export type RequiredSingletonServices = Pick<SingletonServices, 'config' | 'logger' | 'schema' | 'secrets' | 'variables'> & Partial<Omit<SingletonServices, 'config' | 'logger' | 'schema' | 'secrets' | 'variables'>>
|
|
34
|
+
|
|
35
|
+
export type RequiredWireServices = Partial<Services>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.6
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Main type export hub - re-exports all wiring-specific types
|
|
6
|
+
*/
|
|
7
|
+
export * from './function/pikku-function-types.gen.js';
|
|
8
|
+
export * from './trigger/pikku-trigger-types.gen.js';
|
|
9
|
+
export * from './console/pikku-node-types.gen.js';
|
|
10
|
+
export * from './secrets/pikku-secret-types.gen.js';
|
|
11
|
+
export * from './addon/pikku-addon-types.gen.js';
|
|
12
|
+
//# sourceMappingURL=pikku-types.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-types.gen.d.ts","sourceRoot":"","sources":["../../.pikku/pikku-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAGH,cAAc,wCAAwC,CAAA;AAGtD,cAAc,sCAAsC,CAAA;AAGpD,cAAc,mCAAmC,CAAA;AAGjD,cAAc,qCAAqC,CAAA;AAGnD,cAAc,kCAAkC,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.6
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Main type export hub - re-exports all wiring-specific types
|
|
6
|
+
*/
|
|
7
|
+
// Core function, middleware, and permission types
|
|
8
|
+
export * from './function/pikku-function-types.gen.js';
|
|
9
|
+
// Trigger wiring types
|
|
10
|
+
export * from './trigger/pikku-trigger-types.gen.js';
|
|
11
|
+
// Node wiring types
|
|
12
|
+
export * from './console/pikku-node-types.gen.js';
|
|
13
|
+
// Secret definition types
|
|
14
|
+
export * from './secrets/pikku-secret-types.gen.js';
|
|
15
|
+
// Addon types
|
|
16
|
+
export * from './addon/pikku-addon-types.gen.js';
|
|
17
|
+
//# sourceMappingURL=pikku-types.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-types.gen.js","sourceRoot":"","sources":["../../.pikku/pikku-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,kDAAkD;AAClD,cAAc,wCAAwC,CAAA;AAEtD,uBAAuB;AACvB,cAAc,sCAAsC,CAAA;AAEpD,oBAAoB;AACpB,cAAc,mCAAmC,CAAA;AAEjD,0BAA0B;AAC1B,cAAc,qCAAqC,CAAA;AAEnD,cAAc;AACd,cAAc,kCAAkC,CAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.6
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Main type export hub - re-exports all wiring-specific types
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
// Core function, middleware, and permission types
|
|
9
|
+
export * from './function/pikku-function-types.gen.js'
|
|
10
|
+
|
|
11
|
+
// Trigger wiring types
|
|
12
|
+
export * from './trigger/pikku-trigger-types.gen.js'
|
|
13
|
+
|
|
14
|
+
// Node wiring types
|
|
15
|
+
export * from './console/pikku-node-types.gen.js'
|
|
16
|
+
|
|
17
|
+
// Secret definition types
|
|
18
|
+
export * from './secrets/pikku-secret-types.gen.js'
|
|
19
|
+
|
|
20
|
+
// Addon types
|
|
21
|
+
export * from './addon/pikku-addon-types.gen.js'
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.6
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* This provides the structure needed for typescript to be aware of RPCs and their return types
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
export type EventSendInput = {
|
|
13
|
+
/** Array of server events to send (max 1000 per request) */
|
|
14
|
+
data: {
|
|
15
|
+
/** Standard or custom event name (e.g., Purchase, Lead, AddToCart, PageView, ViewContent) */
|
|
16
|
+
event_name: string;
|
|
17
|
+
/** Unix timestamp in seconds when the event occurred */
|
|
18
|
+
event_time: number;
|
|
19
|
+
/** Unique event ID for deduplication with browser pixel events */
|
|
20
|
+
event_id?: string | undefined;
|
|
21
|
+
/** URL where the event occurred */
|
|
22
|
+
event_source_url?: string | undefined;
|
|
23
|
+
/** Where the conversion occurred */
|
|
24
|
+
action_source: "website" | "email" | "app" | "phone_call" | "chat" | "physical_store" | "system_generated" | "other";
|
|
25
|
+
/** Hashed user data for matching (em, ph, fn, ln, ct, st, zp, country, external_id, client_ip_address, client_user_agent, fbc, fbp) */
|
|
26
|
+
user_data: {
|
|
27
|
+
[key: string]: string | string[];
|
|
28
|
+
};
|
|
29
|
+
custom_data?: {
|
|
30
|
+
[key: string]: unknown;
|
|
31
|
+
} | undefined;
|
|
32
|
+
/** If true, event is used for attribution but not ad delivery optimization */
|
|
33
|
+
opt_out?: boolean | undefined;
|
|
34
|
+
}[];
|
|
35
|
+
/** Test event code from Events Manager for testing without affecting production data */
|
|
36
|
+
test_event_code?: string | undefined;
|
|
37
|
+
}
|
|
38
|
+
export type EventSendOutput = {
|
|
39
|
+
/** Number of events received by Meta */
|
|
40
|
+
events_received: number;
|
|
41
|
+
/** Diagnostic messages from the API */
|
|
42
|
+
messages: string[];
|
|
43
|
+
/** Trace ID for debugging with Meta support */
|
|
44
|
+
fbtrace_id: string;
|
|
45
|
+
}
|
|
46
|
+
export type SecretSchema_metaConversions = {
|
|
47
|
+
/** Meta Pixel ID */
|
|
48
|
+
pixelId: string;
|
|
49
|
+
/** Conversions API access token (generated in Events Manager) */
|
|
50
|
+
accessToken: string;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
interface RPCHandler<I, O> {
|
|
54
|
+
input: I;
|
|
55
|
+
output: O;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export type RPCMap = {
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
// No addon packages, use RPCMap directly
|
|
64
|
+
export type FlattenedRPCMap = RPCMap
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
export type RPCInvoke = <Name extends keyof FlattenedRPCMap>(
|
|
68
|
+
name: Name,
|
|
69
|
+
data: FlattenedRPCMap[Name]['input']
|
|
70
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
71
|
+
|
|
72
|
+
export type RPCRemote = <Name extends keyof FlattenedRPCMap>(
|
|
73
|
+
name: Name,
|
|
74
|
+
data: FlattenedRPCMap[Name]['input']
|
|
75
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
76
|
+
|
|
77
|
+
import type { WorkflowMap } from '../workflow/pikku-workflow-map.gen.d.js'
|
|
78
|
+
|
|
79
|
+
import type { AgentMap } from '../agent/pikku-agent-map.gen.d.js'
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
type FlattenedAgentMap = AgentMap
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
import type { PikkuRPC } from '@pikku/core/rpc'
|
|
86
|
+
|
|
87
|
+
interface AIAgentInput {
|
|
88
|
+
message: string
|
|
89
|
+
threadId: string
|
|
90
|
+
resourceId: string
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export type TypedStartWorkflow = <Name extends keyof WorkflowMap>(
|
|
94
|
+
name: Name,
|
|
95
|
+
input: WorkflowMap[Name]['input'],
|
|
96
|
+
options?: { startNode?: string }
|
|
97
|
+
) => Promise<{ runId: string }>
|
|
98
|
+
|
|
99
|
+
type TypedAgentRun = [keyof FlattenedAgentMap] extends [never]
|
|
100
|
+
? (name: string, input: AIAgentInput) => Promise<any>
|
|
101
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
102
|
+
name: Name,
|
|
103
|
+
input: AIAgentInput
|
|
104
|
+
) => Promise<{ runId: string; result: FlattenedAgentMap[Name]['output']; usage: { inputTokens: number; outputTokens: number } }>
|
|
105
|
+
|
|
106
|
+
type TypedAgentStream = [keyof FlattenedAgentMap] extends [never]
|
|
107
|
+
? (name: string, input: AIAgentInput, options?: { requiresToolApproval?: 'all' | 'explicit' | false }) => Promise<void>
|
|
108
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
109
|
+
name: Name,
|
|
110
|
+
input: AIAgentInput,
|
|
111
|
+
options?: { requiresToolApproval?: 'all' | 'explicit' | false }
|
|
112
|
+
) => Promise<void>
|
|
113
|
+
|
|
114
|
+
export type TypedPikkuRPC = PikkuRPC<RPCInvoke, RPCRemote, TypedStartWorkflow, TypedAgentRun, TypedAgentStream>
|
|
115
|
+
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.6
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* This provides the structure needed for typescript to be aware of RPCs and their return types
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
export type EventSendInput = {
|
|
13
|
+
/** Array of server events to send (max 1000 per request) */
|
|
14
|
+
data: {
|
|
15
|
+
/** Standard or custom event name (e.g., Purchase, Lead, AddToCart, PageView, ViewContent) */
|
|
16
|
+
event_name: string;
|
|
17
|
+
/** Unix timestamp in seconds when the event occurred */
|
|
18
|
+
event_time: number;
|
|
19
|
+
/** Unique event ID for deduplication with browser pixel events */
|
|
20
|
+
event_id?: string | undefined;
|
|
21
|
+
/** URL where the event occurred */
|
|
22
|
+
event_source_url?: string | undefined;
|
|
23
|
+
/** Where the conversion occurred */
|
|
24
|
+
action_source: "website" | "email" | "app" | "phone_call" | "chat" | "physical_store" | "system_generated" | "other";
|
|
25
|
+
/** Hashed user data for matching (em, ph, fn, ln, ct, st, zp, country, external_id, client_ip_address, client_user_agent, fbc, fbp) */
|
|
26
|
+
user_data: {
|
|
27
|
+
[key: string]: string | string[];
|
|
28
|
+
};
|
|
29
|
+
custom_data?: {
|
|
30
|
+
[key: string]: unknown;
|
|
31
|
+
} | undefined;
|
|
32
|
+
/** If true, event is used for attribution but not ad delivery optimization */
|
|
33
|
+
opt_out?: boolean | undefined;
|
|
34
|
+
}[];
|
|
35
|
+
/** Test event code from Events Manager for testing without affecting production data */
|
|
36
|
+
test_event_code?: string | undefined;
|
|
37
|
+
}
|
|
38
|
+
export type EventSendOutput = {
|
|
39
|
+
/** Number of events received by Meta */
|
|
40
|
+
events_received: number;
|
|
41
|
+
/** Diagnostic messages from the API */
|
|
42
|
+
messages: string[];
|
|
43
|
+
/** Trace ID for debugging with Meta support */
|
|
44
|
+
fbtrace_id: string;
|
|
45
|
+
}
|
|
46
|
+
export type SecretSchema_metaConversions = {
|
|
47
|
+
/** Meta Pixel ID */
|
|
48
|
+
pixelId: string;
|
|
49
|
+
/** Conversions API access token (generated in Events Manager) */
|
|
50
|
+
accessToken: string;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
interface RPCHandler<I, O> {
|
|
54
|
+
input: I;
|
|
55
|
+
output: O;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export type RPCMap = {
|
|
59
|
+
readonly 'eventSend': RPCHandler<EventSendInput, EventSendOutput>,
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
// No addon packages, use RPCMap directly
|
|
65
|
+
export type FlattenedRPCMap = RPCMap
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
export type RPCInvoke = <Name extends keyof FlattenedRPCMap>(
|
|
69
|
+
name: Name,
|
|
70
|
+
data: FlattenedRPCMap[Name]['input']
|
|
71
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
72
|
+
|
|
73
|
+
export type RPCRemote = <Name extends keyof FlattenedRPCMap>(
|
|
74
|
+
name: Name,
|
|
75
|
+
data: FlattenedRPCMap[Name]['input']
|
|
76
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
77
|
+
|
|
78
|
+
import type { WorkflowMap } from '../workflow/pikku-workflow-map.gen.d.js'
|
|
79
|
+
|
|
80
|
+
import type { AgentMap } from '../agent/pikku-agent-map.gen.d.js'
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
type FlattenedAgentMap = AgentMap
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
import type { PikkuRPC } from '@pikku/core/rpc'
|
|
87
|
+
|
|
88
|
+
interface AIAgentInput {
|
|
89
|
+
message: string
|
|
90
|
+
threadId: string
|
|
91
|
+
resourceId: string
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export type TypedStartWorkflow = <Name extends keyof WorkflowMap>(
|
|
95
|
+
name: Name,
|
|
96
|
+
input: WorkflowMap[Name]['input'],
|
|
97
|
+
options?: { startNode?: string }
|
|
98
|
+
) => Promise<{ runId: string }>
|
|
99
|
+
|
|
100
|
+
type TypedAgentRun = [keyof FlattenedAgentMap] extends [never]
|
|
101
|
+
? (name: string, input: AIAgentInput) => Promise<any>
|
|
102
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
103
|
+
name: Name,
|
|
104
|
+
input: AIAgentInput
|
|
105
|
+
) => Promise<{ runId: string; result: FlattenedAgentMap[Name]['output']; usage: { inputTokens: number; outputTokens: number } }>
|
|
106
|
+
|
|
107
|
+
type TypedAgentStream = [keyof FlattenedAgentMap] extends [never]
|
|
108
|
+
? (name: string, input: AIAgentInput, options?: { requiresToolApproval?: 'all' | 'explicit' | false }) => Promise<void>
|
|
109
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
110
|
+
name: Name,
|
|
111
|
+
input: AIAgentInput,
|
|
112
|
+
options?: { requiresToolApproval?: 'all' | 'explicit' | false }
|
|
113
|
+
) => Promise<void>
|
|
114
|
+
|
|
115
|
+
export type TypedPikkuRPC = PikkuRPC<RPCInvoke, RPCRemote, TypedStartWorkflow, TypedAgentRun, TypedAgentStream>
|
|
116
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"register.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/schemas/register.gen.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.6
|
|
3
|
+
*/
|
|
4
|
+
import { addSchema } from '@pikku/core/schema';
|
|
5
|
+
import * as EventSendInput from './schemas/EventSendInput.schema.json' with { type: 'json' };
|
|
6
|
+
addSchema('EventSendInput', EventSendInput, '@pikku/addon-meta-conversions');
|
|
7
|
+
import * as EventSendOutput from './schemas/EventSendOutput.schema.json' with { type: 'json' };
|
|
8
|
+
addSchema('EventSendOutput', EventSendOutput, '@pikku/addon-meta-conversions');
|
|
9
|
+
import * as SecretSchema_metaConversions from './schemas/SecretSchema_metaConversions.schema.json' with { type: 'json' };
|
|
10
|
+
addSchema('SecretSchema_metaConversions', SecretSchema_metaConversions, '@pikku/addon-meta-conversions');
|
|
11
|
+
//# sourceMappingURL=register.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"register.gen.js","sourceRoot":"","sources":["../../../.pikku/schemas/register.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAE9C,OAAO,KAAK,cAAc,MAAM,sCAAsC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAC5F,SAAS,CAAC,gBAAgB,EAAE,cAAc,EAAE,+BAA+B,CAAC,CAAA;AAG5E,OAAO,KAAK,eAAe,MAAM,uCAAuC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAC9F,SAAS,CAAC,iBAAiB,EAAE,eAAe,EAAE,+BAA+B,CAAC,CAAA;AAG9E,OAAO,KAAK,4BAA4B,MAAM,oDAAoD,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACxH,SAAS,CAAC,8BAA8B,EAAE,4BAA4B,EAAE,+BAA+B,CAAC,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.6
|
|
3
|
+
*/
|
|
4
|
+
import { addSchema } from '@pikku/core/schema'
|
|
5
|
+
|
|
6
|
+
import * as EventSendInput from './schemas/EventSendInput.schema.json' with { type: 'json' }
|
|
7
|
+
addSchema('EventSendInput', EventSendInput, '@pikku/addon-meta-conversions')
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
import * as EventSendOutput from './schemas/EventSendOutput.schema.json' with { type: 'json' }
|
|
11
|
+
addSchema('EventSendOutput', EventSendOutput, '@pikku/addon-meta-conversions')
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import * as SecretSchema_metaConversions from './schemas/SecretSchema_metaConversions.schema.json' with { type: 'json' }
|
|
15
|
+
addSchema('SecretSchema_metaConversions', SecretSchema_metaConversions, '@pikku/addon-meta-conversions')
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"minItems":1,"type":"array","items":{"type":"object","properties":{"event_name":{"type":"string","description":"Standard or custom event name (e.g., Purchase, Lead, AddToCart, PageView, ViewContent)"},"event_time":{"type":"number","description":"Unix timestamp in seconds when the event occurred"},"event_id":{"description":"Unique event ID for deduplication with browser pixel events","type":"string"},"event_source_url":{"description":"URL where the event occurred","type":"string"},"action_source":{"type":"string","enum":["website","email","app","phone_call","chat","physical_store","system_generated","other"],"description":"Where the conversion occurred"},"user_data":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"description":"Hashed user data for matching (em, ph, fn, ln, ct, st, zp, country, external_id, client_ip_address, client_user_agent, fbc, fbp)"},"custom_data":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{},"description":"Custom event data (value, currency, content_name, content_ids, contents, num_items, etc.)"},"opt_out":{"description":"If true, event is used for attribution but not ad delivery optimization","type":"boolean"}},"required":["event_name","event_time","action_source","user_data"],"additionalProperties":false},"description":"Array of server events to send (max 1000 per request)"},"test_event_code":{"description":"Test event code from Events Manager for testing without affecting production data","type":"string"}},"required":["data"],"additionalProperties":false}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"events_received":{"type":"number","description":"Number of events received by Meta"},"messages":{"type":"array","items":{"type":"string"},"description":"Diagnostic messages from the API"},"fbtrace_id":{"type":"string","description":"Trace ID for debugging with Meta support"}},"required":["events_received","messages","fbtrace_id"],"additionalProperties":false}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"pixelId":{"type":"string","description":"Meta Pixel ID"},"accessToken":{"type":"string","description":"Conversions API access token (generated in Events Manager)"}},"required":["pixelId","accessToken"],"additionalProperties":false}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-secret-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/secrets/pikku-secret-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAC/C,YAAY,EAAE,UAAU,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-secret-types.gen.js","sourceRoot":"","sources":["../../../.pikku/secrets/pikku-secret-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA"}
|