@memberjunction/integration-actions 0.0.1 → 5.8.0
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 +77 -43
- package/dist/RunSyncAction.d.ts +29 -0
- package/dist/RunSyncAction.d.ts.map +1 -0
- package/dist/RunSyncAction.js +117 -0
- package/dist/RunSyncAction.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/package.json +31 -7
package/README.md
CHANGED
|
@@ -1,45 +1,79 @@
|
|
|
1
1
|
# @memberjunction/integration-actions
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
This is
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
3
|
+
MJ Actions for triggering MemberJunction integration syncs. Connects the Integration Engine to the MJ Actions + Scheduling system.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
This package is registered as a workspace package. Add it as a dependency and import it so the `@RegisterClass` decorator fires:
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
// In your bootstrap or entry point:
|
|
11
|
+
import '@memberjunction/integration-actions';
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Actions
|
|
15
|
+
|
|
16
|
+
### Run Integration Sync
|
|
17
|
+
|
|
18
|
+
**Action Name**: `Run Integration Sync`
|
|
19
|
+
|
|
20
|
+
Triggers a full sync run for a `MJ: Company Integration` record.
|
|
21
|
+
|
|
22
|
+
| Parameter | Direction | Type | Required | Description |
|
|
23
|
+
|-----------|-----------|------|----------|-------------|
|
|
24
|
+
| `CompanyIntegrationID` | Input | string | Yes | ID of the CompanyIntegration to sync |
|
|
25
|
+
| `TriggerType` | Input | string | No | `Manual`, `Scheduled`, or `Webhook` (default: `Manual`) |
|
|
26
|
+
| `RecordsProcessed` | Output | number | — | Total records processed |
|
|
27
|
+
| `RecordsCreated` | Output | number | — | Records created in MJ |
|
|
28
|
+
| `RecordsUpdated` | Output | number | — | Records updated in MJ |
|
|
29
|
+
| `RecordsDeleted` | Output | number | — | Records deleted in MJ |
|
|
30
|
+
| `RecordsErrored` | Output | number | — | Records that encountered errors |
|
|
31
|
+
| `RecordsSkipped` | Output | number | — | Records that were skipped |
|
|
32
|
+
| `ErrorSummary` | Output | string | — | JSON array of first 10 errors (only when errors exist) |
|
|
33
|
+
|
|
34
|
+
**Result Codes**:
|
|
35
|
+
- `SUCCESS` — Sync completed without errors
|
|
36
|
+
- `SYNC_COMPLETED_WITH_ERRORS` — Sync completed but some records failed
|
|
37
|
+
- `MISSING_PARAMETER` — Required `CompanyIntegrationID` not provided
|
|
38
|
+
- `UNEXPECTED_ERROR` — Unhandled exception during sync
|
|
39
|
+
|
|
40
|
+
## Scheduling via MJ Scheduler
|
|
41
|
+
|
|
42
|
+
1. Create an `MJ: Actions` record for `Run Integration Sync`
|
|
43
|
+
2. Create an `MJ: Action Params` record for `CompanyIntegrationID`
|
|
44
|
+
3. Set up a Scheduled Job pointing to this action
|
|
45
|
+
4. The scheduler calls the action on the configured cadence
|
|
46
|
+
|
|
47
|
+
## Usage from Code
|
|
48
|
+
|
|
49
|
+
```typescript
|
|
50
|
+
import '@memberjunction/integration-actions'; // ensure registration
|
|
51
|
+
import { ActionEngine } from '@memberjunction/actions';
|
|
52
|
+
|
|
53
|
+
const engine = ActionEngine.Instance;
|
|
54
|
+
const result = await engine.RunAction({
|
|
55
|
+
ActionName: 'Run Integration Sync',
|
|
56
|
+
ContextUser: currentUser,
|
|
57
|
+
Params: [
|
|
58
|
+
{ Name: 'CompanyIntegrationID', Type: 'Input', Value: 'your-ci-id' },
|
|
59
|
+
{ Name: 'TriggerType', Type: 'Input', Value: 'Scheduled' },
|
|
60
|
+
],
|
|
61
|
+
});
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
## Direct Orchestrator Usage
|
|
65
|
+
|
|
66
|
+
For server-side code that doesn't go through the Actions system:
|
|
67
|
+
|
|
68
|
+
```typescript
|
|
69
|
+
import { IntegrationOrchestrator } from '@memberjunction/integration-engine';
|
|
70
|
+
|
|
71
|
+
const orchestrator = new IntegrationOrchestrator();
|
|
72
|
+
const result = await orchestrator.RunSync(
|
|
73
|
+
companyIntegrationID,
|
|
74
|
+
contextUser,
|
|
75
|
+
'Manual',
|
|
76
|
+
(progress) => console.log(`${progress.PercentComplete}%`),
|
|
77
|
+
(notification) => console.log(notification.Subject)
|
|
78
|
+
);
|
|
79
|
+
```
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { BaseAction } from '@memberjunction/actions';
|
|
2
|
+
import { ActionResultSimple, RunActionParams } from '@memberjunction/actions-base';
|
|
3
|
+
/**
|
|
4
|
+
* MJ Action that triggers a sync for a CompanyIntegration.
|
|
5
|
+
*
|
|
6
|
+
* Parameters (Input):
|
|
7
|
+
* - CompanyIntegrationID (required): ID of the CompanyIntegration to sync
|
|
8
|
+
* - TriggerType (optional): 'Scheduled' | 'Manual' | 'Webhook' (default: 'Manual')
|
|
9
|
+
* - FullSync (optional): 'true' to force a full sync ignoring watermarks
|
|
10
|
+
* - EntityMapIDs (optional): comma-separated list of EntityMapIDs to restrict the sync
|
|
11
|
+
*
|
|
12
|
+
* Parameters (Output):
|
|
13
|
+
* - RecordsProcessed: total records processed
|
|
14
|
+
* - RecordsCreated: records created
|
|
15
|
+
* - RecordsUpdated: records updated
|
|
16
|
+
* - RecordsDeleted: records deleted
|
|
17
|
+
* - RecordsErrored: records that encountered errors
|
|
18
|
+
* - RecordsSkipped: records that were skipped
|
|
19
|
+
* - ErrorSummary: JSON string of error details (first 10 errors)
|
|
20
|
+
*/
|
|
21
|
+
export declare class RunSyncAction extends BaseAction {
|
|
22
|
+
protected InternalRunAction(params: RunActionParams): Promise<ActionResultSimple>;
|
|
23
|
+
private parseTriggerType;
|
|
24
|
+
private buildResultMessage;
|
|
25
|
+
private addOutputParams;
|
|
26
|
+
private getStringParam;
|
|
27
|
+
private addOutputParam;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=RunSyncAction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RunSyncAction.d.ts","sourceRoot":"","sources":["../src/RunSyncAction.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAe,MAAM,8BAA8B,CAAC;AAGhG;;;;;;;;;;;;;;;;;GAiBG;AACH,qBACa,aAAc,SAAQ,UAAU;cAEzB,iBAAiB,CAAC,MAAM,EAAE,eAAe,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAuCvF,OAAO,CAAC,gBAAgB;IAKxB,OAAO,CAAC,kBAAkB;IAY1B,OAAO,CAAC,eAAe;IAqBvB,OAAO,CAAC,cAAc;IAQtB,OAAO,CAAC,cAAc;CAOzB"}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { RegisterClass } from '@memberjunction/global';
|
|
8
|
+
import { LogError } from '@memberjunction/core';
|
|
9
|
+
import { BaseAction } from '@memberjunction/actions';
|
|
10
|
+
import { ActionParam } from '@memberjunction/actions-base';
|
|
11
|
+
import { IntegrationOrchestrator } from '@memberjunction/integration-engine';
|
|
12
|
+
/**
|
|
13
|
+
* MJ Action that triggers a sync for a CompanyIntegration.
|
|
14
|
+
*
|
|
15
|
+
* Parameters (Input):
|
|
16
|
+
* - CompanyIntegrationID (required): ID of the CompanyIntegration to sync
|
|
17
|
+
* - TriggerType (optional): 'Scheduled' | 'Manual' | 'Webhook' (default: 'Manual')
|
|
18
|
+
* - FullSync (optional): 'true' to force a full sync ignoring watermarks
|
|
19
|
+
* - EntityMapIDs (optional): comma-separated list of EntityMapIDs to restrict the sync
|
|
20
|
+
*
|
|
21
|
+
* Parameters (Output):
|
|
22
|
+
* - RecordsProcessed: total records processed
|
|
23
|
+
* - RecordsCreated: records created
|
|
24
|
+
* - RecordsUpdated: records updated
|
|
25
|
+
* - RecordsDeleted: records deleted
|
|
26
|
+
* - RecordsErrored: records that encountered errors
|
|
27
|
+
* - RecordsSkipped: records that were skipped
|
|
28
|
+
* - ErrorSummary: JSON string of error details (first 10 errors)
|
|
29
|
+
*/
|
|
30
|
+
let RunSyncAction = class RunSyncAction extends BaseAction {
|
|
31
|
+
async InternalRunAction(params) {
|
|
32
|
+
try {
|
|
33
|
+
const companyIntegrationID = this.getStringParam(params, 'CompanyIntegrationID');
|
|
34
|
+
if (!companyIntegrationID) {
|
|
35
|
+
return {
|
|
36
|
+
Success: false,
|
|
37
|
+
ResultCode: 'MISSING_PARAMETER',
|
|
38
|
+
Message: "Parameter 'CompanyIntegrationID' is required"
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
const triggerType = this.parseTriggerType(this.getStringParam(params, 'TriggerType'));
|
|
42
|
+
const orchestrator = new IntegrationOrchestrator();
|
|
43
|
+
const result = await orchestrator.RunSync(companyIntegrationID, params.ContextUser, triggerType);
|
|
44
|
+
this.addOutputParams(params, result);
|
|
45
|
+
return {
|
|
46
|
+
Success: result.Success,
|
|
47
|
+
ResultCode: result.Success ? 'SUCCESS' : 'SYNC_COMPLETED_WITH_ERRORS',
|
|
48
|
+
Message: this.buildResultMessage(result),
|
|
49
|
+
Params: params.Params
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
catch (error) {
|
|
53
|
+
const message = error instanceof Error ? error.message : String(error);
|
|
54
|
+
LogError(`[RunSyncAction] Unexpected error: ${message}`);
|
|
55
|
+
return {
|
|
56
|
+
Success: false,
|
|
57
|
+
ResultCode: 'UNEXPECTED_ERROR',
|
|
58
|
+
Message: message
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
parseTriggerType(value) {
|
|
63
|
+
if (value === 'Scheduled' || value === 'Webhook')
|
|
64
|
+
return value;
|
|
65
|
+
return 'Manual';
|
|
66
|
+
}
|
|
67
|
+
buildResultMessage(result) {
|
|
68
|
+
const parts = [
|
|
69
|
+
`Processed: ${result.RecordsProcessed}`,
|
|
70
|
+
`Created: ${result.RecordsCreated}`,
|
|
71
|
+
`Updated: ${result.RecordsUpdated}`,
|
|
72
|
+
];
|
|
73
|
+
if (result.RecordsDeleted > 0)
|
|
74
|
+
parts.push(`Deleted: ${result.RecordsDeleted}`);
|
|
75
|
+
if (result.RecordsErrored > 0)
|
|
76
|
+
parts.push(`Errors: ${result.RecordsErrored}`);
|
|
77
|
+
if (result.RecordsSkipped > 0)
|
|
78
|
+
parts.push(`Skipped: ${result.RecordsSkipped}`);
|
|
79
|
+
return parts.join(', ');
|
|
80
|
+
}
|
|
81
|
+
addOutputParams(params, result) {
|
|
82
|
+
const outputs = [
|
|
83
|
+
{ name: 'RecordsProcessed', value: result.RecordsProcessed },
|
|
84
|
+
{ name: 'RecordsCreated', value: result.RecordsCreated },
|
|
85
|
+
{ name: 'RecordsUpdated', value: result.RecordsUpdated },
|
|
86
|
+
{ name: 'RecordsDeleted', value: result.RecordsDeleted },
|
|
87
|
+
{ name: 'RecordsErrored', value: result.RecordsErrored },
|
|
88
|
+
{ name: 'RecordsSkipped', value: result.RecordsSkipped },
|
|
89
|
+
];
|
|
90
|
+
for (const { name, value } of outputs) {
|
|
91
|
+
this.addOutputParam(params, name, value);
|
|
92
|
+
}
|
|
93
|
+
if (result.Errors.length > 0) {
|
|
94
|
+
this.addOutputParam(params, 'ErrorSummary', JSON.stringify(result.Errors.slice(0, 10)));
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
getStringParam(params, name) {
|
|
98
|
+
const nameLower = name.toLowerCase();
|
|
99
|
+
const param = params.Params?.find(p => p.Name.trim().toLowerCase() === nameLower);
|
|
100
|
+
if (!param || param.Value == null)
|
|
101
|
+
return undefined;
|
|
102
|
+
const value = String(param.Value).trim();
|
|
103
|
+
return value.length > 0 ? value : undefined;
|
|
104
|
+
}
|
|
105
|
+
addOutputParam(params, name, value) {
|
|
106
|
+
const outputParam = new ActionParam();
|
|
107
|
+
outputParam.Name = name;
|
|
108
|
+
outputParam.Type = 'Output';
|
|
109
|
+
outputParam.Value = value;
|
|
110
|
+
params.Params.push(outputParam);
|
|
111
|
+
}
|
|
112
|
+
};
|
|
113
|
+
RunSyncAction = __decorate([
|
|
114
|
+
RegisterClass(BaseAction, 'Run Integration Sync')
|
|
115
|
+
], RunSyncAction);
|
|
116
|
+
export { RunSyncAction };
|
|
117
|
+
//# sourceMappingURL=RunSyncAction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RunSyncAction.js","sourceRoot":"","sources":["../src/RunSyncAction.ts"],"names":[],"mappings":";;;;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AAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;IAChD,CAAC;IAEO,cAAc,CAAC,MAAuB,EAAE,IAAY,EAAE,KAAsB;QAChF,MAAM,WAAW,GAAG,IAAI,WAAW,EAAE,CAAC;QACtC,WAAW,CAAC,IAAI,GAAG,IAAI,CAAC;QACxB,WAAW,CAAC,IAAI,GAAG,QAAQ,CAAC;QAC5B,WAAW,CAAC,KAAK,GAAG,KAAK,CAAC;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IACpC,CAAC;CACJ,CAAA;AA9FY,aAAa;IADzB,aAAa,CAAC,UAAU,EAAE,sBAAsB,CAAC;GACrC,aAAa,CA8FzB"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,10 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/integration-actions",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "5.8.0",
|
|
5
|
+
"description": "MemberJunction Integration Engine Actions - MJ Actions for triggering and managing integration syncs",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"/dist"
|
|
10
|
+
],
|
|
11
|
+
"scripts": {
|
|
12
|
+
"build": "tsc && tsc-alias -f",
|
|
13
|
+
"test": "vitest run",
|
|
14
|
+
"test:watch": "vitest"
|
|
15
|
+
},
|
|
16
|
+
"dependencies": {
|
|
17
|
+
"@memberjunction/actions": "5.8.0",
|
|
18
|
+
"@memberjunction/actions-base": "5.8.0",
|
|
19
|
+
"@memberjunction/core": "5.8.0",
|
|
20
|
+
"@memberjunction/global": "5.8.0",
|
|
21
|
+
"@memberjunction/integration-engine": "5.8.0"
|
|
22
|
+
},
|
|
23
|
+
"devDependencies": {
|
|
24
|
+
"typescript": "^5.9.3",
|
|
25
|
+
"tsc-alias": "^1.8.16",
|
|
26
|
+
"vitest": "^4.0.18"
|
|
27
|
+
},
|
|
28
|
+
"repository": {
|
|
29
|
+
"type": "git",
|
|
30
|
+
"url": "https://github.com/MemberJunction/MJ"
|
|
31
|
+
},
|
|
32
|
+
"author": "MemberJunction.com",
|
|
33
|
+
"license": "ISC"
|
|
10
34
|
}
|