forest-cli 5.18.0 → 5.18.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/dist/services/dumpers/abstract-dumper.d.ts +1 -0
- package/dist/services/dumpers/abstract-dumper.d.ts.map +1 -1
- package/dist/services/dumpers/abstract-dumper.js +14 -1
- package/dist/services/dumpers/agent-nodejs.d.ts +1 -0
- package/dist/services/dumpers/agent-nodejs.d.ts.map +1 -1
- package/dist/services/dumpers/agent-nodejs.js +9 -1
- package/dist/services/dumpers/templates/agent-nodejs/common/workflows/30d581e3-294e-4790-b723-0f16509ecae0.bpmn +2 -0
- package/dist/services/dumpers/templates/agent-nodejs/common/workflows/52e0acb4-6064-472a-9823-cdfd7fa7a3ab.bpmn +2 -0
- package/dist/services/dumpers/templates/agent-nodejs/common/workflows/71f692b4-fe4f-476d-8251-fdc5af1ec51e.bpmn +2 -0
- package/dist/services/dumpers/templates/agent-nodejs/common/workflows/9d564d80-19d1-4ce4-bb4b-aaf41e7ef5b6.bpmn +2 -0
- package/dist/services/dumpers/templates/agent-nodejs/common/workflows/c8ab4b5d-20df-4d28-9160-0d4376282c90.bpmn +2 -0
- package/dist/services/dumpers/templates/agent-nodejs/common/workflows/d0289f67-2c9e-4c69-b1ee-ecbbace841b3.bpmn +2 -0
- package/dist/services/dumpers/templates/agent-nodejs/common/workflows/d07aa5ee-9a49-4916-a1b5-1f953bfe9a8e.bpmn +2 -0
- package/dist/services/dumpers/templates/agent-nodejs/common/workflows/e25c6237-b882-498b-9655-b16b30131b10.bpmn +2 -0
- package/dist/services/dumpers/templates/agent-nodejs/common/workflows/f01b9e61-4156-47b8-b6a1-5c90adbcd2ba.bpmn +2 -0
- package/oclif.manifest.json +126 -126
- package/package.json +5 -1
|
@@ -22,6 +22,7 @@ export default abstract class AbstractDumper {
|
|
|
22
22
|
protected abstract createFiles(dumperConfig: Config, schema?: any): any;
|
|
23
23
|
protected writeFile(relativeFilePath: any, content: any): void;
|
|
24
24
|
protected copyHandleBarsTemplate(source: string, target: string, context?: Record<string, unknown>): void;
|
|
25
|
+
protected copyTemplateDirectory(source: string, target: string): void;
|
|
25
26
|
dump(dumperConfig: Config, schema?: any): Promise<void>;
|
|
26
27
|
}
|
|
27
28
|
//# sourceMappingURL=abstract-dumper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"abstract-dumper.d.ts","sourceRoot":"","sources":["../../../src/services/dumpers/abstract-dumper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAC;AACxE,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAEpC,OAAO,+BAA+B,CAAC;AAEvC,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,cAAc;IAC1C,SAAS,CAAC,WAAW,EAAE,MAAM,CAAC;IAE9B,SAAS,CAAC,QAAQ,CAAC,MAAM,MAAC;IAE1B,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAC;IAEpB,SAAS,CAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IAElC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAQ;IAE9B,OAAO,CAAC,QAAQ,CAAC,SAAS,CAA6B;IAEvD,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAC;IAE5B,SAAS,CAAC,QAAQ,CAAC,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAEnD,SAAS,aAAa,EAAE,aAAa,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE;;;;;;;;KAAA;IAkBzF,SAAS,CAAC,QAAQ,CAAC,WAAW,CAAC,YAAY,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,GAAG;IAEjE,SAAS,CAAC,SAAS,CAAC,gBAAgB,KAAA,EAAE,OAAO,KAAA;IAY7C,SAAS,CAAC,sBAAsB,CAC9B,MAAM,EAAE,MAAM,EACd,M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MAAM;IAWxD,IAAI,CAAC,YAAY,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,GAAG;CAU9C"}
|
|
@@ -35,6 +35,19 @@ class AbstractDumper {
|
|
|
35
35
|
}
|
|
36
36
|
return this.writeFile(target, this.fs.readFileSync(templatePath, 'utf-8'));
|
|
37
37
|
}
|
|
38
|
+
// Copy every file from a template sub-directory into the generated project,
|
|
39
|
+
// creating the target directory. Used for sidecar assets (e.g. workflow BPMN)
|
|
40
|
+
// that ship alongside a template file. No-op if the source directory is absent.
|
|
41
|
+
copyTemplateDirectory(source, target) {
|
|
42
|
+
const sourcePath = `${__dirname}/templates/${this.templateFolder}/${source}`;
|
|
43
|
+
if (!this.fs.existsSync(sourcePath))
|
|
44
|
+
return;
|
|
45
|
+
const files = this.fs.readdirSync(sourcePath);
|
|
46
|
+
if (files.length === 0)
|
|
47
|
+
return;
|
|
48
|
+
this.fs.mkdirSync(`${this.projectPath}/${target}`, { recursive: true });
|
|
49
|
+
files.forEach(file => this.copyHandleBarsTemplate(`${source}/${file}`, `${target}/${file}`));
|
|
50
|
+
}
|
|
38
51
|
async dump(dumperConfig, schema) {
|
|
39
52
|
const cwd = this.constants.CURRENT_WORKING_DIRECTORY;
|
|
40
53
|
this.projectPath = dumperConfig.appConfig.appName
|
|
@@ -45,4 +58,4 @@ class AbstractDumper {
|
|
|
45
58
|
}
|
|
46
59
|
}
|
|
47
60
|
exports.default = AbstractDumper;
|
|
48
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
61
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWJzdHJhY3QtZHVtcGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL3NlcnZpY2VzL2R1bXBlcnMvYWJzdHJhY3QtZHVtcGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBR0EseUNBQXVDO0FBRXZDLE1BQThCLG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ztDQUNGO0FBMUZELGlDQTBGQyJ9
|
|
@@ -22,6 +22,7 @@ export default class AgentNodeJs extends AbstractDumper {
|
|
|
22
22
|
private writeDockerfile;
|
|
23
23
|
private writeDockerCompose;
|
|
24
24
|
private writeLayoutFile;
|
|
25
|
+
private copyWorkflowBpmnSidecars;
|
|
25
26
|
protected createFiles(dumpConfig: Config): Promise<void>;
|
|
26
27
|
}
|
|
27
28
|
//# sourceMappingURL=agent-nodejs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-nodejs.d.ts","sourceRoot":"","sources":["../../../src/services/dumpers/agent-nodejs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAY,MAAM,2CAA2C,CAAC;AAClF,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAKtD,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAW/C,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,cAAc;IACrD,OAAO,CAAC,GAAG,CAAgE;IAE3E,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAQ;IAErC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAU;IAEpC,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAkC;IAElE,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAiC;IAElE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgB;IAEvC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAU;IAElC,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAA6B;IAEhE,SAAS,CAAC,QAAQ,CAAC,cAAc,kBAAkB;gBAEvC,OAAO,KAAA;IAmCnB,gBAAgB,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,UAAQ;IAiEvF,iBAAiB;IA6BjB,UAAU,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,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;IAOtB,OAAO,CAAC,YAAY;IAIpB,OAAO,CAAC,iBAAiB;IAOzB,OAAO,CAAC,eAAe;IAIvB,OAAO,CAAC,kBAAkB;IA2B1B,OAAO,CAAC,eAAe;IASvB,OAAO,CAAC,wBAAwB;cAIhB,WAAW,CAAC,UAAU,EAAE,MAAM;CAkC/C"}
|
|
@@ -185,6 +185,14 @@ class AgentNodeJs extends abstract_dumper_1.default {
|
|
|
185
185
|
// commands) is a separate onboarding step.
|
|
186
186
|
writeLayoutFile() {
|
|
187
187
|
this.copyHandleBarsTemplate('common/forest-layout.json', 'forest-layout.json');
|
|
188
|
+
this.copyWorkflowBpmnSidecars();
|
|
189
|
+
}
|
|
190
|
+
// The curated workflows ship their compiled BPMN as portable sidecar files
|
|
191
|
+
// (workflows/<id>.bpmn). `forest layout apply --with-workflows` re-uploads each
|
|
192
|
+
// one to the target environment's own S3 bucket and links the fresh version, so
|
|
193
|
+
// the layout file carries no (non-portable) bpmnAwsS3Identifier of its own.
|
|
194
|
+
copyWorkflowBpmnSidecars() {
|
|
195
|
+
this.copyTemplateDirectory('common/workflows', 'workflows');
|
|
188
196
|
}
|
|
189
197
|
async createFiles(dumpConfig) {
|
|
190
198
|
const { isDemo } = dumpConfig;
|
|
@@ -207,4 +215,4 @@ class AgentNodeJs extends abstract_dumper_1.default {
|
|
|
207
215
|
}
|
|
208
216
|
}
|
|
209
217
|
exports.default = AgentNodeJs;
|
|
210
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
218
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWdlbnQtbm9kZWpzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL3NlcnZpY2VzL2R1bXBlcnMvYWdlbnQtbm9kZWpzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBS0Esc0VBQThDO0FBQzlDLHdFQUErQztBQVcvQyxNQUFx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BM1NELDhCQTJTQyJ9
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<bpmn:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:forest="https://app.forestadmin.com" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_0hdve55" targetNamespace="http://bpmn.io/schema/bpmn" exporter="bpmn-js (https://demo.bpmn.io)" exporterVersion="18.6.1"><bpmn:process id="Process_1s8zutc" isExecutable="false"><bpmn:startEvent id="StartEvent_0b1zhsz" name="Start of workflow"><bpmn:outgoing>Flow__39owuix</bpmn:outgoing></bpmn:startEvent><bpmn:SequenceFlow id="Flow__39owuix" sourceRef="StartEvent_0b1zhsz" targetRef="Activity__v4nv61c" /><bpmn:ServiceTask id="Activity__nf1hbr5" name="Get customer data" forest:description="Retrieve the customer's first & last names, country, city, address, and date of birth" forest:alternative="get-data" forest:automaticCompletion="true"><bpmn:incoming>Flow__xn7vohv</bpmn:incoming><bpmn:outgoing>Flow__gwjqi2o</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__gwjqi2o" sourceRef="Activity__nf1hbr5" targetRef="Activity__yx8tdbt" /><bpmn:ServiceTask id="Activity__v4nv61c" name="Load Customer" forest:description="Load the customer related to the KYC Case" forest:alternative="load-related-record" forest:automaticCompletion="true"><bpmn:incoming>Flow__39owuix</bpmn:incoming><bpmn:outgoing>Flow__xn7vohv</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__xn7vohv" sourceRef="Activity__v4nv61c" targetRef="Activity__nf1hbr5" /><bpmn:ExclusiveGateway id="Activity__o0l2pr7" name="Screening OK?" forest:description="Did the screening return anything that would require an escalation for EDD?" forest:aiDecision="false"><bpmn:incoming>Flow__k6umg3l</bpmn:incoming><bpmn:outgoing>Flow__3q5tv4s</bpmn:outgoing><bpmn:outgoing>Flow__zfwypr9</bpmn:outgoing></bpmn:ExclusiveGateway><bpmn:SequenceFlow id="Flow__3q5tv4s" name="Low risk" sourceRef="Activity__o0l2pr7" targetRef="Activity__6dnxjaf" /><bpmn:SequenceFlow id="Flow__zfwypr9" name="Mid/high-risk" sourceRef="Activity__o0l2pr7" targetRef="Activity__0jl75ng" forest:buttonColor="red" /><bpmn:IntermediateThrowEvent id="Activity__zj1byx8" name="Escalation for EDD" forest:inboxId="a2d69bb7-fb5b-4fd5-b8d1-5b0727bab91d"><bpmn:incoming>Flow__l7tryeq</bpmn:incoming><bpmn:outgoing>Flow__lzsm7o7</bpmn:outgoing></bpmn:IntermediateThrowEvent><bpmn:SequenceFlow id="Flow__lzsm7o7" sourceRef="Activity__zj1byx8" targetRef="Activity__n6wsewu" /><bpmn:ServiceTask id="Activity__6dnxjaf" name="Set risk to low" forest:description="Set the customer's risk rating to LOW" forest:alternative="update-data" forest:automaticCompletion="true"><bpmn:incoming>Flow__3q5tv4s</bpmn:incoming><bpmn:outgoing>Flow__eubch8c</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__eubch8c" sourceRef="Activity__6dnxjaf" targetRef="Activity__sjrlvs0" /><bpmn:ServiceTask id="Activity__0jl75ng" name="Escalation reason" forest:description="Update the "escalation reason" based on the screening results." forest:alternative="update-data" forest:automaticCompletion="true"><bpmn:incoming>Flow__zfwypr9</bpmn:incoming><bpmn:outgoing>Flow__l7tryeq</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__l7tryeq" sourceRef="Activity__0jl75ng" targetRef="Activity__zj1byx8" /><bpmn:ServiceTask id="Activity__24w7u43" name="Approve KYC" forest:description="Trigger the Approve KYC action on the KYC Case to complete the onboarding." forest:alternative="trigger-action" forest:automaticCompletion="true"><bpmn:incoming>Flow__46ij85e</bpmn:incoming><bpmn:outgoing>Flow__desgwnw</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__desgwnw" sourceRef="Activity__24w7u43" targetRef="Activity__bdh9wga" /><bpmn:endEvent id="Activity__bdh9wga" name="Customer successfully onboarded"><bpmn:incoming>Flow__desgwnw</bpmn:incoming></bpmn:endEvent><bpmn:ExclusiveGateway id="Activity__wsfnqbq" name="Safe to onboard?" forest:description="Is it safe to onboard this customer, or should we reject it?"><bpmn:incoming>Flow__ri9nm1v</bpmn:incoming><bpmn:outgoing>Flow__ucjcuf5</bpmn:outgoing><bpmn:outgoing>Flow__mxh8tnj</bpmn:outgoing></bpmn:ExclusiveGateway><bpmn:SequenceFlow id="Flow__ucjcuf5" name="Safe" sourceRef="Activity__wsfnqbq" targetRef="Activity__4plsbxb" /><bpmn:SequenceFlow id="Flow__mxh8tnj" name="Reject" sourceRef="Activity__wsfnqbq" targetRef="Activity__brxd6b8" forest:buttonColor="red" /><bpmn:UserTask id="Activity__n6wsewu" name="Perform EDD" forest:description="Perform your EDD analysis to decide whether it's safe to onboard this customer or not."><bpmn:incoming>Flow__lzsm7o7</bpmn:incoming><bpmn:outgoing>Flow__ri9nm1v</bpmn:outgoing></bpmn:UserTask><bpmn:SequenceFlow id="Flow__ri9nm1v" sourceRef="Activity__n6wsewu" targetRef="Activity__wsfnqbq" /><bpmn:ServiceTask id="Activity__8tcb1xy" name="Reject onboarding" forest:description="Trigger the Reject Onboarding action on the KYC Case." forest:alternative="trigger-action" forest:automaticExecution="true" forest:automaticCompletion="true"><bpmn:incoming>Flow__wuuvey3</bpmn:incoming><bpmn:outgoing>Flow__ncnspeb</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__ncnspeb" sourceRef="Activity__8tcb1xy" targetRef="Activity__46yko6l" /><bpmn:endEvent id="Activity__46yko6l" name="Customer onboarding request denied"><bpmn:incoming>Flow__ncnspeb</bpmn:incoming></bpmn:endEvent><bpmn:ServiceTask id="Activity__4plsbxb" name="Medium risk" forest:description="Set the customer's risk rating to Medium" forest:alternative="update-data" forest:automaticCompletion="true"><bpmn:incoming>Flow__ucjcuf5</bpmn:incoming><bpmn:outgoing>Flow__59j96ka</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__59j96ka" sourceRef="Activity__4plsbxb" targetRef="Activity__sjrlvs0" forest:isLinkTo="true" /><bpmn:ServiceTask id="Activity__brxd6b8" name="High risk" forest:description="Set the customer's risk rating to High" forest:alternative="update-data" forest:automaticCompletion="true"><bpmn:incoming>Flow__mxh8tnj</bpmn:incoming><bpmn:outgoing>Flow__wuuvey3</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__wuuvey3" sourceRef="Activity__brxd6b8" targetRef="Activity__8tcb1xy" /><bpmn:ServiceTask id="Activity__sjrlvs0" name="Load ID" forest:description="Load the ID provided by the customer" forest:alternative="load-related-record" forest:automaticCompletion="true"><bpmn:incoming>Flow__eubch8c</bpmn:incoming><bpmn:incoming>Flow__59j96ka</bpmn:incoming><bpmn:outgoing>Flow__h9wtzzp</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__h9wtzzp" sourceRef="Activity__sjrlvs0" targetRef="Activity__jqqkw8m" /><bpmn:ServiceTask id="Activity__rkqwi7k" name="Verify document" forest:description="Verify the document provided by the customer" forest:alternative="trigger-action" forest:automaticExecution="true" forest:automaticCompletion="true"><bpmn:incoming>Flow__7aq1vmj</bpmn:incoming><bpmn:outgoing>Flow__4un1k6z</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__4un1k6z" sourceRef="Activity__rkqwi7k" targetRef="Activity__h7gmjvq" /><bpmn:ExclusiveGateway id="Gateway__868qi3g" name="Doc OK?" forest:description="Was the KYC Document verified?" forest:aiDecision="true"><bpmn:incoming>Flow__rggivp5</bpmn:incoming><bpmn:outgoing>Flow__46ij85e</bpmn:outgoing><bpmn:outgoing>Flow__rpojqtt</bpmn:outgoing></bpmn:ExclusiveGateway><bpmn:SequenceFlow id="Flow__46ij85e" name="Yes, verified" sourceRef="Gateway__868qi3g" targetRef="Activity__24w7u43" /><bpmn:SequenceFlow id="Flow__rpojqtt" name="No, failed verification" sourceRef="Gateway__868qi3g" targetRef="Activity__3j3u7si" forest:buttonColor="red" /><bpmn:ServiceTask id="Activity__h7gmjvq" name="Doc verification status" forest:description="Check whether the document's been verified or not" forest:alternative="get-data" forest:automaticCompletion="true"><bpmn:incoming>Flow__4un1k6z</bpmn:incoming><bpmn:outgoing>Flow__rggivp5</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__rggivp5" sourceRef="Activity__h7gmjvq" targetRef="Gateway__868qi3g" /><bpmn:endEvent id="Activity__3j3u7si" name="End"><bpmn:incoming>Flow__rpojqtt</bpmn:incoming></bpmn:endEvent><bpmn:ServiceTask id="Activity__yx8tdbt" name="KYC Screening agent Task" forest:description="Screen the customer to know if they're politically exposed, have adverse media, or had previous sanctions on record." forest:alternative="mcp-server" forest:mcpServerId="108" forest:automaticExecution="true" forest:automaticCompletion="false"><bpmn:incoming>Flow__gwjqi2o</bpmn:incoming><bpmn:outgoing>Flow__k6umg3l</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__k6umg3l" sourceRef="Activity__yx8tdbt" targetRef="Activity__o0l2pr7" /><bpmn:ServiceTask id="Activity__jqqkw8m" name="Display ID" forest:description="Get the ID's URL" forest:alternative="get-data" forest:automaticCompletion="true"><bpmn:incoming>Flow__h9wtzzp</bpmn:incoming><bpmn:outgoing>Flow__6yi7nyr</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__6yi7nyr" sourceRef="Activity__jqqkw8m" targetRef="Gateway__0srxl1r" /><bpmn:ServiceTask id="Activity__stkip0t" name="Extract ID info" forest:description="Extract the ID's information using Mistral OCR" forest:alternative="mcp-server" forest:mcpServerId="128" forest:automaticExecution="true" forest:automaticCompletion="true"><bpmn:incoming>Flow__pyvwfj8</bpmn:incoming><bpmn:outgoing>Flow__7aq1vmj</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__7aq1vmj" sourceRef="Activity__stkip0t" targetRef="Activity__rkqwi7k" /><bpmn:ExclusiveGateway id="Gateway__0srxl1r" name="ID found?" forest:description="Was the ID found in the list of provided KYC Documents?" forest:aiDecision="true"><bpmn:incoming>Flow__6yi7nyr</bpmn:incoming><bpmn:outgoing>Flow__pyvwfj8</bpmn:outgoing><bpmn:outgoing>Flow__ns8q0b3</bpmn:outgoing></bpmn:ExclusiveGateway><bpmn:SequenceFlow id="Flow__pyvwfj8" name="Yes" sourceRef="Gateway__0srxl1r" targetRef="Activity__stkip0t" /><bpmn:SequenceFlow id="Flow__ns8q0b3" name="No" sourceRef="Gateway__0srxl1r" targetRef="Activity__r05w2z7" forest:buttonColor="red" /><bpmn:callActivity id="Activity__r05w2z7" name="Notify via Zendesk" calledElement="71f692b4-fe4f-476d-8251-fdc5af1ec51e"><bpmn:incoming>Flow__ns8q0b3</bpmn:incoming><bpmn:outgoing>Flow__wqdofyc</bpmn:outgoing></bpmn:callActivity><bpmn:SequenceFlow id="Flow__wqdofyc" sourceRef="Activity__r05w2z7" targetRef="Activity__59rqtl6" /><bpmn:endEvent id="Activity__59rqtl6" name="End"><bpmn:incoming>Flow__wqdofyc</bpmn:incoming></bpmn:endEvent></bpmn:process><bpmndi:BPMNDiagram id="BPMNDiagram_1"><bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1s8zutc"><bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_0b1zhsz"><dc:Bounds x="182" y="352" width="36" height="36" /><bpmndi:BPMNLabel><dc:Bounds x="159" y="395" width="82" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity_1c5vw7o_di" bpmnElement="Activity__nf1hbr5"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity__v4nv61c_di" bpmnElement="Activity__v4nv61c"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Gateway_0x53q19_di" bpmnElement="Activity__o0l2pr7" isMarkerVisible="true"><dc:Bounds x="50" y="60" width="50" height="50" /><bpmndi:BPMNLabel><dc:Bounds x="40" y="117" width="75" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Event_1bf84w0_di" bpmnElement="Activity__zj1byx8"><dc:Bounds x="50" y="60" width="36" height="36" /><bpmndi:BPMNLabel><dc:Bounds x="39" y="103" width="67" height="27" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity_111otms_di" bpmnElement="Activity__6dnxjaf"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity__0jl75ng_di" bpmnElement="Activity__0jl75ng"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity_0oadroh_di" bpmnElement="Activity__24w7u43"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Event_0z1ctkr_di" bpmnElement="Activity__bdh9wga"><dc:Bounds x="50" y="60" width="36" height="36" /><bpmndi:BPMNLabel><dc:Bounds x="45" y="103" width="60" height="40" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Gateway_1n4hjuj_di" bpmnElement="Activity__wsfnqbq" isMarkerVisible="true"><dc:Bounds x="50" y="60" width="50" height="50" /><bpmndi:BPMNLabel><dc:Bounds x="34" y="117" width="85" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity__n6wsewu_di" bpmnElement="Activity__n6wsewu"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity_04qy6on_di" bpmnElement="Activity__8tcb1xy"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Event_0hxj51t_di" bpmnElement="Activity__46yko6l"><dc:Bounds x="50" y="60" width="36" height="36" /><bpmndi:BPMNLabel><dc:Bounds x="41" y="103" width="73" height="40" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity__4plsbxb_di" bpmnElement="Activity__4plsbxb"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity__brxd6b8_di" bpmnElement="Activity__brxd6b8"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity__sjrlvs0_di" bpmnElement="Activity__sjrlvs0"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity__rkqwi7k_di" bpmnElement="Activity__rkqwi7k"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Gateway__868qi3g_di" bpmnElement="Gateway__868qi3g" isMarkerVisible="true"><dc:Bounds x="75" y="75" width="50" height="50" /><bpmndi:BPMNLabel><dc:Bounds x="80" y="132" width="45" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity__h7gmjvq_di" bpmnElement="Activity__h7gmjvq"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Event_1jxnkw3_di" bpmnElement="Activity__3j3u7si"><dc:Bounds x="50" y="60" width="36" height="36" /><bpmndi:BPMNLabel><dc:Bounds x="58" y="103" width="20" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity__yx8tdbt_di" bpmnElement="Activity__yx8tdbt"><dc:Bounds x="50" y="60" width="100" height="80" /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity__jqqkw8m_di" bpmnElement="Activity__jqqkw8m"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity__stkip0t_di" bpmnElement="Activity__stkip0t"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Gateway__0srxl1r_di" bpmnElement="Gateway__0srxl1r" isMarkerVisible="true"><dc:Bounds x="75" y="75" width="50" height="50" /><bpmndi:BPMNLabel><dc:Bounds x="78" y="132" width="48" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity_08hm55a_di" bpmnElement="Activity__r05w2z7"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Event_16ef1hn_di" bpmnElement="Activity__59rqtl6"><dc:Bounds x="50" y="60" width="36" height="36" /><bpmndi:BPMNLabel><dc:Bounds x="58" y="103" width="20" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNEdge id="Flow__39owuix_di" bpmnElement="Flow__39owuix"><di:waypoint x="182" y="370" /><di:waypoint x="166" y="370" /><di:waypoint x="166" y="0" /><di:waypoint x="150" y="0" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__gwjqi2o_di" bpmnElement="Flow__gwjqi2o"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="100" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__xn7vohv_di" bpmnElement="Flow__xn7vohv"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="120" y="40" /><di:waypoint x="100" y="40" /><di:waypoint x="100" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__3q5tv4s_di" bpmnElement="Flow__3q5tv4s"><di:waypoint x="75" y="60" /><di:waypoint x="75" y="40" /><di:waypoint x="95" y="40" /><di:waypoint x="75" y="40" /><di:waypoint x="75" y="60" /><bpmndi:BPMNLabel><dc:Bounds x="67" y="22" width="41" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__zfwypr9_di" bpmnElement="Flow__zfwypr9"><di:waypoint x="75" y="60" /><di:waypoint x="75" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="75" y="60" /><bpmndi:BPMNLabel><dc:Bounds x="-2" y="22" width="63" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__lzsm7o7_di" bpmnElement="Flow__lzsm7o7"><di:waypoint x="68" y="60" /><di:waypoint x="68" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="68" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__eubch8c_di" bpmnElement="Flow__eubch8c"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="100" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__l7tryeq_di" bpmnElement="Flow__l7tryeq"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="68" y="40" /><di:waypoint x="68" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__desgwnw_di" bpmnElement="Flow__desgwnw"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="68" y="40" /><di:waypoint x="68" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__ucjcuf5_di" bpmnElement="Flow__ucjcuf5"><di:waypoint x="75" y="60" /><di:waypoint x="75" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="75" y="60" /><bpmndi:BPMNLabel><dc:Bounds x="21" y="22" width="23" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__mxh8tnj_di" bpmnElement="Flow__mxh8tnj"><di:waypoint x="75" y="60" /><di:waypoint x="75" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="75" y="60" /><bpmndi:BPMNLabel><dc:Bounds x="18" y="22" width="32" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__ri9nm1v_di" bpmnElement="Flow__ri9nm1v"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="75" y="40" /><di:waypoint x="75" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__ncnspeb_di" bpmnElement="Flow__ncnspeb"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="68" y="40" /><di:waypoint x="68" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__59j96ka_di" bpmnElement="Flow__59j96ka"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="100" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__wuuvey3_di" bpmnElement="Flow__wuuvey3"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="120" y="40" /><di:waypoint x="100" y="40" /><di:waypoint x="100" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__h9wtzzp_di" bpmnElement="Flow__h9wtzzp"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="100" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__4un1k6z_di" bpmnElement="Flow__4un1k6z"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="100" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__46ij85e_di" bpmnElement="Flow__46ij85e"><di:waypoint x="100" y="75" /><di:waypoint x="100" y="50" /><di:waypoint x="120" y="50" /><di:waypoint x="120" y="40" /><di:waypoint x="100" y="40" /><di:waypoint x="100" y="60" /><bpmndi:BPMNLabel><dc:Bounds x="110" y="41" width="60" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__rpojqtt_di" bpmnElement="Flow__rpojqtt"><di:waypoint x="100" y="75" /><di:waypoint x="100" y="40" /><di:waypoint x="68" y="40" /><di:waypoint x="68" y="60" /><bpmndi:BPMNLabel><dc:Bounds x="72" y="32" width="53" height="27" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__rggivp5_di" bpmnElement="Flow__rggivp5"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="120" y="40" /><di:waypoint x="120" y="50" /><di:waypoint x="100" y="50" /><di:waypoint x="100" y="75" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__k6umg3l_di" bpmnElement="Flow__k6umg3l"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="75" y="40" /><di:waypoint x="75" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__6yi7nyr_di" bpmnElement="Flow__6yi7nyr"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="100" y="75" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__7aq1vmj_di" bpmnElement="Flow__7aq1vmj"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="120" y="40" /><di:waypoint x="100" y="40" /><di:waypoint x="100" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__pyvwfj8_di" bpmnElement="Flow__pyvwfj8"><di:waypoint x="100" y="75" /><di:waypoint x="100" y="50" /><di:waypoint x="120" y="50" /><di:waypoint x="120" y="40" /><di:waypoint x="100" y="40" /><di:waypoint x="100" y="60" /><bpmndi:BPMNLabel><dc:Bounds x="127" y="41" width="18" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__ns8q0b3_di" bpmnElement="Flow__ns8q0b3"><di:waypoint x="100" y="75" /><di:waypoint x="100" y="54" /><di:waypoint x="120" y="54" /><di:waypoint x="120" y="40" /><di:waypoint x="100" y="40" /><di:waypoint x="100" y="60" /><bpmndi:BPMNLabel><dc:Bounds x="129" y="46" width="15" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__wqdofyc_di" bpmnElement="Flow__wqdofyc"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="68" y="40" /><di:waypoint x="68" y="60" /></bpmndi:BPMNEdge></bpmndi:BPMNPlane></bpmndi:BPMNDiagram></bpmn:definitions>
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<bpmn:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:forest="https://app.forestadmin.com" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_0hdve55" targetNamespace="http://bpmn.io/schema/bpmn" exporter="bpmn-js (https://demo.bpmn.io)" exporterVersion="18.6.1"><bpmn:process id="Process_1s8zutc" isExecutable="false"><bpmn:startEvent id="StartEvent_0b1zhsz" name="Start of workflow"><bpmn:outgoing>Flow__65xznbc</bpmn:outgoing></bpmn:startEvent><bpmn:SequenceFlow id="Flow__65xznbc" sourceRef="StartEvent_0b1zhsz" targetRef="Activity__71nirts" /><bpmn:ServiceTask id="Activity__71nirts" name="Get refund request details" forest:description="Retrieve the following information from the refund request: - Reference - Request Date - Amount - Status - Reason - Reason details" forest:alternative="get-data" forest:automaticCompletion="true"><bpmn:incoming>Flow__65xznbc</bpmn:incoming><bpmn:outgoing>Flow__vvm2pz5</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__vvm2pz5" sourceRef="Activity__71nirts" targetRef="Activity__0h5rcr3" /><bpmn:ServiceTask id="Activity__0h5rcr3" name="Get Stripe Payment Intent" forest:description="Load the Stripe Payment Intent related to the refund" forest:alternative="load-related-record" forest:automaticCompletion="true"><bpmn:incoming>Flow__vvm2pz5</bpmn:incoming><bpmn:outgoing>Flow__frxrjg9</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__frxrjg9" sourceRef="Activity__0h5rcr3" targetRef="Activity__nn48pjv" /><bpmn:ServiceTask id="Activity__nn48pjv" name="Get payment intent details" forest:description="Retrieve the payment intent's Amount, Channel, Status, Date, and ID" forest:alternative="get-data" forest:automaticCompletion="true"><bpmn:incoming>Flow__frxrjg9</bpmn:incoming><bpmn:outgoing>Flow__ir2inm0</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__ir2inm0" sourceRef="Activity__nn48pjv" targetRef="Gateway__fsmp0rl" /><bpmn:ExclusiveGateway id="Activity__potxpm8" name="Amount eligibility" forest:description="Was the transaction under our EUR500 eligibility threshold?" forest:aiDecision="true"><bpmn:incoming>Flow__mfuu3qf</bpmn:incoming><bpmn:outgoing>Flow__bgbxmjm</bpmn:outgoing><bpmn:outgoing>Flow__zy9phd0</bpmn:outgoing></bpmn:ExclusiveGateway><bpmn:SequenceFlow id="Flow__bgbxmjm" name="Yes, under EUR500" sourceRef="Activity__potxpm8" targetRef="Activity__64zolu7" /><bpmn:SequenceFlow id="Flow__zy9phd0" name="No, above EUR500" sourceRef="Activity__potxpm8" targetRef="Activity__oimfgg6" forest:buttonColor="yellow" /><bpmn:ExclusiveGateway id="Gateway__fsmp0rl" name="Request within 30 days?" forest:description="Was the refund request submitted within 30 days of the transaction date?" forest:aiDecision="true"><bpmn:incoming>Flow__ir2inm0</bpmn:incoming><bpmn:outgoing>Flow__mfuu3qf</bpmn:outgoing><bpmn:outgoing>Flow__0klt0v1</bpmn:outgoing></bpmn:ExclusiveGateway><bpmn:SequenceFlow id="Flow__mfuu3qf" name="Yes, within 30 days" sourceRef="Gateway__fsmp0rl" targetRef="Activity__potxpm8" /><bpmn:SequenceFlow id="Flow__0klt0v1" name="No, after 30 days" sourceRef="Gateway__fsmp0rl" targetRef="Activity__nuewp5i" forest:buttonColor="red" /><bpmn:ServiceTask id="Activity__nuewp5i" name="Decline refund" forest:description="Trigger the Decline Refund action, and specify that the request was sent to us after the 30-day window of eligibility for a refund." forest:alternative="trigger-action" forest:automaticExecution="true" forest:automaticCompletion="true"><bpmn:incoming>Flow__0klt0v1</bpmn:incoming><bpmn:outgoing>Flow__erk31od</bpmn:outgoing></bpmn:ServiceTask><bpmn:endEvent id="Activity__hjy76gz" name="Refund request denied" forest:description="The customer was not refunded."><bpmn:incoming>Flow__5okdqrv</bpmn:incoming><bpmn:incoming>Flow__r2nbbd6</bpmn:incoming></bpmn:endEvent><bpmn:IntermediateThrowEvent id="Activity__oimfgg6" name="Escalation" forest:inboxId="8744462d-6eb9-49a3-bcf5-7bbf9876a58b"><bpmn:incoming>Flow__zy9phd0</bpmn:incoming><bpmn:outgoing>Flow__atc0udh</bpmn:outgoing></bpmn:IntermediateThrowEvent><bpmn:SequenceFlow id="Flow__atc0udh" sourceRef="Activity__oimfgg6" targetRef="Activity__q6qf6zc" /><bpmn:userTask id="Activity__q6qf6zc" name="Further analysis"><bpmn:incoming>Flow__atc0udh</bpmn:incoming><bpmn:outgoing>Flow__697u6v7</bpmn:outgoing></bpmn:userTask><bpmn:SequenceFlow id="Flow__697u6v7" sourceRef="Activity__q6qf6zc" targetRef="Activity__b7v5z2m" /><bpmn:ExclusiveGateway id="Activity__b7v5z2m" name="Approve refund?"><bpmn:incoming>Flow__697u6v7</bpmn:incoming><bpmn:outgoing>Flow__twx3boo</bpmn:outgoing><bpmn:outgoing>Flow__9f4do2w</bpmn:outgoing></bpmn:ExclusiveGateway><bpmn:SequenceFlow id="Flow__twx3boo" name="Approve" sourceRef="Activity__b7v5z2m" targetRef="Activity__64zolu7" forest:isLinkTo="true" /><bpmn:SequenceFlow id="Flow__9f4do2w" name="Decline" sourceRef="Activity__b7v5z2m" targetRef="Activity__2f2xssm" forest:buttonColor="red" /><bpmn:ServiceTask id="Activity__2f2xssm" name="Decline refund" forest:description="Trigger the Decline refund, and specify your reason for denying the customer's request." forest:alternative="trigger-action" forest:automaticExecution="true" forest:automaticCompletion="true"><bpmn:incoming>Flow__9f4do2w</bpmn:incoming><bpmn:outgoing>Flow__5okdqrv</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__5okdqrv" sourceRef="Activity__2f2xssm" targetRef="Activity__hjy76gz" forest:isLinkTo="true" /><bpmn:ServiceTask id="Activity__q4xklmv" name="Update request status" forest:description="Update the refund request's status to APPROVED" forest:alternative="update-data" forest:automaticCompletion="true"><bpmn:incoming>Flow__lo65zu6</bpmn:incoming><bpmn:outgoing>Flow__b7kllis</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__b7kllis" sourceRef="Activity__q4xklmv" targetRef="Activity__4oh7ya5" /><bpmn:endEvent id="Activity__xfuoxz2" name="Customer refunded" forest:description="The customer will be refunded following their request, since it falls within our policy."><bpmn:incoming>Flow__x189tjd</bpmn:incoming></bpmn:endEvent><bpmn:ServiceTask id="Activity__1eiku5g" name="Load Customer" forest:description="Load the customer related to the transaction" forest:alternative="load-related-record" forest:automaticCompletion="true"><bpmn:incoming>Flow__erk31od</bpmn:incoming><bpmn:outgoing>Flow__26yl9k8</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__26yl9k8" sourceRef="Activity__1eiku5g" targetRef="Activity__wemk7mz" /><bpmn:callActivity id="Activity__wemk7mz" name="Notify Customer via Zendesk" calledElement="71f692b4-fe4f-476d-8251-fdc5af1ec51e"><bpmn:incoming>Flow__26yl9k8</bpmn:incoming><bpmn:outgoing>Flow__r2nbbd6</bpmn:outgoing></bpmn:callActivity><bpmn:SequenceFlow id="Flow__r2nbbd6" sourceRef="Activity__wemk7mz" targetRef="Activity__hjy76gz" /><bpmn:ServiceTask id="Activity__4oh7ya5" name="Load Customer" forest:description="Load the customer related to the transaction." forest:alternative="load-related-record" forest:automaticCompletion="true"><bpmn:incoming>Flow__b7kllis</bpmn:incoming><bpmn:outgoing>Flow__da16bar</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__da16bar" sourceRef="Activity__4oh7ya5" targetRef="Activity__dvjmdl9" /><bpmn:callActivity id="Activity__dvjmdl9" name="Notify via Zendesk" calledElement="71f692b4-fe4f-476d-8251-fdc5af1ec51e"><bpmn:incoming>Flow__da16bar</bpmn:incoming><bpmn:outgoing>Flow__x189tjd</bpmn:outgoing></bpmn:callActivity><bpmn:SequenceFlow id="Flow__x189tjd" sourceRef="Activity__dvjmdl9" targetRef="Activity__xfuoxz2" /><bpmn:ServiceTask id="Activity__64zolu7" name="Trigger refund" forest:description="Create the refund on Stripe, using the payment intent ID, amount, and refund reason gathered earlier" forest:alternative="mcp-server" forest:mcpServerId="120" forest:automaticExecution="true" forest:automaticCompletion="true"><bpmn:incoming>Flow__twx3boo</bpmn:incoming><bpmn:incoming>Flow__bgbxmjm</bpmn:incoming><bpmn:outgoing>Flow__lo65zu6</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__lo65zu6" sourceRef="Activity__64zolu7" targetRef="Activity__q4xklmv" /><bpmn:SequenceFlow id="Flow__erk31od" sourceRef="Activity__nuewp5i" targetRef="Activity__1eiku5g" /></bpmn:process><bpmndi:BPMNDiagram id="BPMNDiagram_1"><bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1s8zutc"><bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_0b1zhsz"><dc:Bounds x="182" y="352" width="36" height="36" /><bpmndi:BPMNLabel><dc:Bounds x="159" y="395" width="82" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity_0f4hxrm_di" bpmnElement="Activity__71nirts"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity_0eeccn8_di" bpmnElement="Activity__0h5rcr3"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity_1k3wosz_di" bpmnElement="Activity__nn48pjv"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Gateway_0eqij6h_di" bpmnElement="Activity__potxpm8" isMarkerVisible="true"><dc:Bounds x="50" y="60" width="50" height="50" /><bpmndi:BPMNLabel><dc:Bounds x="38" y="117" width="83" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Gateway__fsmp0rl_di" bpmnElement="Gateway__fsmp0rl" isMarkerVisible="true"><dc:Bounds x="75" y="75" width="50" height="50" /><bpmndi:BPMNLabel><dc:Bounds x="61" y="132" width="88" height="27" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity_0azqwsm_di" bpmnElement="Activity__nuewp5i"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Event_1djzujf_di" bpmnElement="Activity__hjy76gz"><dc:Bounds x="50" y="60" width="36" height="36" /><bpmndi:BPMNLabel><dc:Bounds x="33" y="103" width="76" height="27" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Event_1n67dj2_di" bpmnElement="Activity__oimfgg6"><dc:Bounds x="50" y="60" width="36" height="36" /><bpmndi:BPMNLabel><dc:Bounds x="43" y="103" width="51" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity_008vycv_di" bpmnElement="Activity__q6qf6zc"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Gateway_1j0vn31_di" bpmnElement="Activity__b7v5z2m" isMarkerVisible="true"><dc:Bounds x="50" y="60" width="50" height="50" /><bpmndi:BPMNLabel><dc:Bounds x="37" y="117" width="82" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity_1nayz8e_di" bpmnElement="Activity__2f2xssm"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity_1goqrcx_di" bpmnElement="Activity__q4xklmv"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Event_03mqbrj_di" bpmnElement="Activity__xfuoxz2"><dc:Bounds x="50" y="60" width="36" height="36" /><bpmndi:BPMNLabel><dc:Bounds x="51" y="103" width="48" height="27" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity__1eiku5g_di" bpmnElement="Activity__1eiku5g"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity__wemk7mz_di" bpmnElement="Activity__wemk7mz"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity__4oh7ya5_di" bpmnElement="Activity__4oh7ya5"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity__dvjmdl9_di" bpmnElement="Activity__dvjmdl9"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity__64zolu7_di" bpmnElement="Activity__64zolu7"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNEdge id="Flow__65xznbc_di" bpmnElement="Flow__65xznbc"><di:waypoint x="182" y="370" /><di:waypoint x="166" y="370" /><di:waypoint x="166" y="100" /><di:waypoint x="150" y="100" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__vvm2pz5_di" bpmnElement="Flow__vvm2pz5"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="120" y="40" /><di:waypoint x="100" y="40" /><di:waypoint x="100" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__frxrjg9_di" bpmnElement="Flow__frxrjg9"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="120" y="40" /><di:waypoint x="100" y="40" /><di:waypoint x="100" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__ir2inm0_di" bpmnElement="Flow__ir2inm0"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="100" y="75" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__bgbxmjm_di" bpmnElement="Flow__bgbxmjm"><di:waypoint x="75" y="60" /><di:waypoint x="75" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="75" y="60" /><bpmndi:BPMNLabel><dc:Bounds x="-4" y="22" width="53" height="27" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__zy9phd0_di" bpmnElement="Flow__zy9phd0"><di:waypoint x="75" y="60" /><di:waypoint x="75" y="40" /><di:waypoint x="95" y="40" /><di:waypoint x="75" y="40" /><di:waypoint x="75" y="62" /><bpmndi:BPMNLabel><dc:Bounds x="61" y="22" width="51" height="27" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__0klt0v1_di" bpmnElement="Flow__0klt0v1"><di:waypoint x="100" y="75" /><di:waypoint x="100" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="100" y="60" /><bpmndi:BPMNLabel><dc:Bounds x="51" y="52" width="84" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__mfuu3qf_di" bpmnElement="Flow__mfuu3qf"><di:waypoint x="100" y="75" /><di:waypoint x="100" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="100" y="85" /><bpmndi:BPMNLabel><dc:Bounds x="46" y="22" width="68" height="27" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__atc0udh_di" bpmnElement="Flow__atc0udh"><di:waypoint x="68" y="60" /><di:waypoint x="68" y="40" /><di:waypoint x="88" y="40" /><di:waypoint x="68" y="40" /><di:waypoint x="68" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__697u6v7_di" bpmnElement="Flow__697u6v7"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="120" y="40" /><di:waypoint x="100" y="40" /><di:waypoint x="100" y="85" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__twx3boo_di" bpmnElement="Flow__twx3boo"><di:waypoint x="75" y="60" /><di:waypoint x="75" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="75" y="60" /><bpmndi:BPMNLabel><dc:Bounds x="13" y="22" width="41" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__9f4do2w_di" bpmnElement="Flow__9f4do2w"><di:waypoint x="75" y="60" /><di:waypoint x="75" y="40" /><di:waypoint x="95" y="40" /><di:waypoint x="75" y="40" /><di:waypoint x="75" y="60" /><bpmndi:BPMNLabel><dc:Bounds x="68" y="22" width="37" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__5okdqrv_di" bpmnElement="Flow__5okdqrv"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="0" y="0" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__b7kllis_di" bpmnElement="Flow__b7kllis"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="100" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__26yl9k8_di" bpmnElement="Flow__26yl9k8"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="100" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__r2nbbd6_di" bpmnElement="Flow__r2nbbd6"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="0" y="0" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__da16bar_di" bpmnElement="Flow__da16bar"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="100" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__x189tjd_di" bpmnElement="Flow__x189tjd"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="0" y="0" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__lo65zu6_di" bpmnElement="Flow__lo65zu6"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="120" y="40" /><di:waypoint x="100" y="40" /><di:waypoint x="100" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__erk31od_di" bpmnElement="Flow__erk31od"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="120" y="40" /><di:waypoint x="100" y="40" /><di:waypoint x="100" y="60" /></bpmndi:BPMNEdge></bpmndi:BPMNPlane></bpmndi:BPMNDiagram></bpmn:definitions>
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<bpmn:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:forest="https://app.forestadmin.com" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_0hdve55" targetNamespace="http://bpmn.io/schema/bpmn" exporter="bpmn-js (https://demo.bpmn.io)" exporterVersion="18.6.1"><bpmn:process id="Process_1s8zutc" isExecutable="false"><bpmn:startEvent id="StartEvent_0b1zhsz" name="Start of workflow"><bpmn:outgoing>Flow__quzktdi</bpmn:outgoing></bpmn:startEvent><bpmn:SequenceFlow id="Flow__quzktdi" sourceRef="StartEvent_0b1zhsz" targetRef="Activity__ufq2a5e" /><bpmn:ServiceTask id="Activity__ufq2a5e" name="Get Email & Name" forest:description="Retrieve the customer's email, first name, and last name." forest:alternative="get-data" forest:automaticCompletion="true"><bpmn:incoming>Flow__quzktdi</bpmn:incoming><bpmn:outgoing>Flow__5h1pqxu</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__5h1pqxu" sourceRef="Activity__ufq2a5e" targetRef="Gateway__9aax433" /><bpmn:endEvent id="Activity__r8yoq51" name="End"><bpmn:incoming>Flow__qvw9geq</bpmn:incoming></bpmn:endEvent><bpmn:ServiceTask id="Activity__rnct6kw" name="Request missing documents" forest:description="Notify the customer (using their email as the requester) that some of their documents are missing, to complete their onboarding (fill in the blanks where possible): "Dear [customer name], We are missing a few documents in order to complete your onboarding: [list of missing documents] Please add them to your personal space in our app, or send them in response to this email. Thanks! The Forest Team" Use the "billing@d3v-forestadminsupport.zendesk.com" email address as the recipient. Set the Priority to "Low". Add "RFI" as a Tag. Set the Status to "Closed"." forest:alternative="mcp-server" forest:mcpServerId="153" forest:automaticExecution="true" forest:automaticCompletion="true"><bpmn:incoming>Flow__bk7vrw4</bpmn:incoming><bpmn:outgoing>Flow__qvw9geq</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__qvw9geq" sourceRef="Activity__rnct6kw" targetRef="Activity__r8yoq51" /><bpmn:ExclusiveGateway id="Gateway__9aax433" name="Reason for contact" forest:description="What's the reason for contacting the customer?" forest:aiDecision="true"><bpmn:incoming>Flow__5h1pqxu</bpmn:incoming><bpmn:outgoing>Flow__f5xfdiv</bpmn:outgoing><bpmn:outgoing>Flow__a7gw6h6</bpmn:outgoing><bpmn:outgoing>Flow__023r2pv</bpmn:outgoing></bpmn:ExclusiveGateway><bpmn:SequenceFlow id="Flow__f5xfdiv" name="Missing documents" sourceRef="Gateway__9aax433" targetRef="Activity__qhw2mil" forest:buttonColor="yellow" /><bpmn:SequenceFlow id="Flow__a7gw6h6" name="Refund request approved" sourceRef="Gateway__9aax433" targetRef="Activity__w9nv9o1" /><bpmn:SequenceFlow id="Flow__023r2pv" name="Refind request declined" sourceRef="Gateway__9aax433" targetRef="Activity__h3xwwva" forest:buttonColor="red" /><bpmn:ServiceTask id="Activity__w9nv9o1" name="Refund request approved" forest:description="Notify the customer that their refund request was approved (fill in the blanks where possible): Dear [customer name], We are pleased to let you know that your refund request has been accepted: [details regarding refund request] Please allow up to 5 days for the funds to be back on your account. Thanks! The Forest Team" forest:alternative="mcp-server" forest:mcpServerId="153" forest:automaticExecution="true" forest:automaticCompletion="true"><bpmn:incoming>Flow__a7gw6h6</bpmn:incoming><bpmn:outgoing>Flow__rvvyma5</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__rvvyma5" sourceRef="Activity__w9nv9o1" targetRef="Activity__uh8cfia" /><bpmn:ServiceTask id="Activity__h3xwwva" name="Refund request declined" forest:description="Notify the customer that their refund request was declined (fill in the blanks where possible): Dear [customer name], After careful review, we regret to let you know that your refund request has been declined: [details regarding refund request] [reason for refusal] Feel free to respond to this email if you believe there was an error on our part, otherwise you can consider this case closed. Thanks! The Forest Team" forest:alternative="mcp-server" forest:mcpServerId="153" forest:automaticExecution="true" forest:automaticCompletion="true"><bpmn:incoming>Flow__023r2pv</bpmn:incoming><bpmn:outgoing>Flow__dtgj5b6</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__dtgj5b6" sourceRef="Activity__h3xwwva" targetRef="Activity__9wkehs5" /><bpmn:endEvent id="Activity__uh8cfia" name="End"><bpmn:incoming>Flow__rvvyma5</bpmn:incoming></bpmn:endEvent><bpmn:endEvent id="Activity__9wkehs5" name="End"><bpmn:incoming>Flow__dtgj5b6</bpmn:incoming></bpmn:endEvent><bpmn:UserTask id="Activity__qhw2mil" name="Which documents?" forest:description="Please list all the missing documents here." forest:completionType="user-input" forest:inputType="free-text"><bpmn:incoming>Flow__f5xfdiv</bpmn:incoming><bpmn:outgoing>Flow__bk7vrw4</bpmn:outgoing></bpmn:UserTask><bpmn:SequenceFlow id="Flow__bk7vrw4" sourceRef="Activity__qhw2mil" targetRef="Activity__rnct6kw" /></bpmn:process><bpmndi:BPMNDiagram id="BPMNDiagram_1"><bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1s8zutc"><bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_0b1zhsz"><dc:Bounds x="182" y="352" width="36" height="36" /><bpmndi:BPMNLabel><dc:Bounds x="159" y="395" width="82" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity_0orn7ek_di" bpmnElement="Activity__ufq2a5e"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Event_192172c_di" bpmnElement="Activity__r8yoq51"><dc:Bounds x="50" y="60" width="36" height="36" /><bpmndi:BPMNLabel><dc:Bounds x="58" y="103" width="20" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity__rnct6kw_di" bpmnElement="Activity__rnct6kw"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Gateway__9aax433_di" bpmnElement="Gateway__9aax433" isMarkerVisible="true"><dc:Bounds x="75" y="75" width="50" height="50" /><bpmndi:BPMNLabel><dc:Bounds x="76" y="132" width="54" height="27" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity__w9nv9o1_di" bpmnElement="Activity__w9nv9o1"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity__h3xwwva_di" bpmnElement="Activity__h3xwwva"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Event_1qvj4gv_di" bpmnElement="Activity__uh8cfia"><dc:Bounds x="50" y="60" width="36" height="36" /><bpmndi:BPMNLabel><dc:Bounds x="58" y="103" width="20" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Event_0ida3e6_di" bpmnElement="Activity__9wkehs5"><dc:Bounds x="50" y="60" width="36" height="36" /><bpmndi:BPMNLabel><dc:Bounds x="58" y="103" width="20" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity__qhw2mil_di" bpmnElement="Activity__qhw2mil"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNEdge id="Flow__quzktdi_di" bpmnElement="Flow__quzktdi"><di:waypoint x="182" y="370" /><di:waypoint x="166" y="370" /><di:waypoint x="166" y="0" /><di:waypoint x="150" y="0" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__5h1pqxu_di" bpmnElement="Flow__5h1pqxu"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="100" y="75" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__qvw9geq_di" bpmnElement="Flow__qvw9geq"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="0" y="0" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__f5xfdiv_di" bpmnElement="Flow__f5xfdiv"><di:waypoint x="100" y="75" /><di:waypoint x="100" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="100" y="60" /><bpmndi:BPMNLabel><dc:Bounds x="24" y="31" width="54" height="27" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__a7gw6h6_di" bpmnElement="Flow__a7gw6h6"><di:waypoint x="100" y="75" /><di:waypoint x="100" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="100" y="60" /><bpmndi:BPMNLabel><dc:Bounds x="13" y="32" width="76" height="27" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__023r2pv_di" bpmnElement="Flow__023r2pv"><di:waypoint x="100" y="75" /><di:waypoint x="100" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="100" y="60" /><bpmndi:BPMNLabel><dc:Bounds x="15" y="32" width="72" height="27" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__rvvyma5_di" bpmnElement="Flow__rvvyma5"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="32" y="33" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__dtgj5b6_di" bpmnElement="Flow__dtgj5b6"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="68" y="40" /><di:waypoint x="68" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__bk7vrw4_di" bpmnElement="Flow__bk7vrw4"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="120" y="40" /><di:waypoint x="100" y="40" /><di:waypoint x="100" y="60" /></bpmndi:BPMNEdge></bpmndi:BPMNPlane></bpmndi:BPMNDiagram></bpmn:definitions>
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<bpmn:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:forest="https://app.forestadmin.com" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_0hdve55" targetNamespace="http://bpmn.io/schema/bpmn" exporter="bpmn-js (https://demo.bpmn.io)" exporterVersion="18.6.1"><bpmn:process id="Process_1s8zutc" isExecutable="false"><bpmn:startEvent id="StartEvent_0b1zhsz" name="Start of workflow"><bpmn:outgoing>Flow__gmagfct</bpmn:outgoing></bpmn:startEvent><bpmn:SequenceFlow id="Flow__gmagfct" sourceRef="StartEvent_0b1zhsz" targetRef="Activity__1ifrrzh" /><bpmn:endEvent id="Activity__gv4gw1g" name="End"><bpmn:incoming>Flow__78pxzhg</bpmn:incoming></bpmn:endEvent><bpmn:userTask id="Activity__1ifrrzh" name="Enhanced investigation" forest:description="Perform enhanced investigation"><bpmn:incoming>Flow__gmagfct</bpmn:incoming><bpmn:outgoing>Flow__78pxzhg</bpmn:outgoing></bpmn:userTask><bpmn:SequenceFlow id="Flow__78pxzhg" sourceRef="Activity__1ifrrzh" targetRef="Activity__gv4gw1g" /></bpmn:process><bpmndi:BPMNDiagram id="BPMNDiagram_1"><bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1s8zutc"><bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_0b1zhsz"><dc:Bounds x="182" y="352" width="36" height="36" /><bpmndi:BPMNLabel><dc:Bounds x="159" y="395" width="82" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Event_0js681l_di" bpmnElement="Activity__gv4gw1g"><dc:Bounds x="50" y="60" width="36" height="36" /><bpmndi:BPMNLabel><dc:Bounds x="58" y="103" width="20" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity__1ifrrzh_di" bpmnElement="Activity__1ifrrzh"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNEdge id="Flow__gmagfct_di" bpmnElement="Flow__gmagfct"><di:waypoint x="182" y="370" /><di:waypoint x="134" y="370" /><di:waypoint x="134" y="0" /><di:waypoint x="134" y="140" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__78pxzhg_di" bpmnElement="Flow__78pxzhg"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="68" y="40" /><di:waypoint x="68" y="60" /></bpmndi:BPMNEdge></bpmndi:BPMNPlane></bpmndi:BPMNDiagram></bpmn:definitions>
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<bpmn:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:forest="https://app.forestadmin.com" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_0hdve55" targetNamespace="http://bpmn.io/schema/bpmn" exporter="bpmn-js (https://demo.bpmn.io)" exporterVersion="18.6.1"><bpmn:process id="Process_1s8zutc" isExecutable="false"><bpmn:startEvent id="StartEvent_0b1zhsz" name="Start of workflow"><bpmn:outgoing>Flow__cuttcua</bpmn:outgoing></bpmn:startEvent><bpmn:SequenceFlow id="Flow__cuttcua" sourceRef="StartEvent_0b1zhsz" targetRef="Activity__epyrf4n" /><bpmn:ServiceTask id="Activity__7kgwzy5" name="Load Customer" forest:description="Load the customer related to the chargeback" forest:alternative="load-related-record" forest:automaticCompletion="true"><bpmn:incoming>Flow__atixn20</bpmn:incoming><bpmn:outgoing>Flow__7x9baiv</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__7x9baiv" sourceRef="Activity__7kgwzy5" targetRef="Activity__iltbx8j" /><bpmn:ServiceTask id="Activity__iltbx8j" name="Get country" forest:description="Retrieve the customer's country" forest:alternative="get-data" forest:automaticCompletion="true"><bpmn:incoming>Flow__7x9baiv</bpmn:incoming><bpmn:outgoing>Flow__lzn9b5a</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__lzn9b5a" sourceRef="Activity__iltbx8j" targetRef="Activity__08fy3ej" /><bpmn:ExclusiveGateway id="Activity__08fy3ej" name="Country?" forest:description="Is the Country part of the EU, or is it the UK or US?" forest:aiDecision="true"><bpmn:incoming>Flow__lzn9b5a</bpmn:incoming><bpmn:outgoing>Flow__29xeh89</bpmn:outgoing><bpmn:outgoing>Flow__es5p9iw</bpmn:outgoing><bpmn:outgoing>Flow__2388k4b</bpmn:outgoing></bpmn:ExclusiveGateway><bpmn:SequenceFlow id="Flow__29xeh89" name="EU" sourceRef="Activity__08fy3ej" targetRef="Activity__j15st68" /><bpmn:SequenceFlow id="Flow__es5p9iw" name="UK" sourceRef="Activity__08fy3ej" targetRef="Activity__rhy4fcg" /><bpmn:SequenceFlow id="Flow__2388k4b" name="US" sourceRef="Activity__08fy3ej" targetRef="Activity__fc16h7x" /><bpmn:UserTask id="Activity__j15st68" name="SFS Path" forest:description="As this is an EU customer, you can simply follow the regular SFS path for this dispute."><bpmn:incoming>Flow__29xeh89</bpmn:incoming><bpmn:outgoing>Flow__8ctz1gj</bpmn:outgoing></bpmn:UserTask><bpmn:SequenceFlow id="Flow__8ctz1gj" sourceRef="Activity__j15st68" targetRef="Activity__c9ynbk4" /><bpmn:endEvent id="Activity__c9ynbk4" name="End"><bpmn:incoming>Flow__8ctz1gj</bpmn:incoming></bpmn:endEvent><bpmn:ServiceTask id="Activity__rhy4fcg" name="Get Adyen dispute" forest:description="Get the dispute associated with the chargeback's processor dispute id." forest:alternative="mcp-server" forest:mcpServerId="192" forest:automaticExecution="true" forest:automaticCompletion="false"><bpmn:incoming>Flow__es5p9iw</bpmn:incoming><bpmn:outgoing>Flow__4i9uid6</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__4i9uid6" sourceRef="Activity__rhy4fcg" targetRef="Gateway__lfyq794" /><bpmn:endEvent id="Activity__58x8cah" name="End"><bpmn:incoming>Flow__sh0135l</bpmn:incoming></bpmn:endEvent><bpmn:ServiceTask id="Activity__fc16h7x" name="Create Marqeta dispute" forest:description="Create the dispute on Marqeta, using the processor_dispute_id, amount, currency, reason_code, and network. You should get a token back, that we'll use in a subsequent step." forest:alternative="mcp-server" forest:mcpServerId="193" forest:automaticExecution="true" forest:automaticCompletion="true"><bpmn:incoming>Flow__2388k4b</bpmn:incoming><bpmn:outgoing>Flow__j89wasb</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__j89wasb" sourceRef="Activity__fc16h7x" targetRef="Activity__nlf5s99" /><bpmn:endEvent id="Activity__u0c2d1y" name="End"><bpmn:incoming>Flow__rutk2op</bpmn:incoming></bpmn:endEvent><bpmn:ExclusiveGateway id="Gateway__lfyq794" name="Fight or accept?" forest:description="If the evidence URL is present, and there are more than 3 days to the deadline, and the amount is above EUR100, then we should fight the dispute. Otherwise, we can just accept it." forest:aiDecision="true"><bpmn:incoming>Flow__4i9uid6</bpmn:incoming><bpmn:outgoing>Flow__otkjmww</bpmn:outgoing><bpmn:outgoing>Flow__6i0ng6p</bpmn:outgoing></bpmn:ExclusiveGateway><bpmn:SequenceFlow id="Flow__otkjmww" name="Fight" sourceRef="Gateway__lfyq794" targetRef="Activity__fylp64j" forest:buttonColor="yellow" /><bpmn:SequenceFlow id="Flow__6i0ng6p" name="Accept" sourceRef="Gateway__lfyq794" targetRef="Activity__phtnb1n" /><bpmn:ServiceTask id="Activity__fylp64j" name="Submit defense" forest:description="Submit the defense" forest:alternative="mcp-server" forest:mcpServerId="192" forest:automaticExecution="true" forest:automaticCompletion="false"><bpmn:incoming>Flow__otkjmww</bpmn:incoming><bpmn:outgoing>Flow__sh0135l</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__sh0135l" sourceRef="Activity__fylp64j" targetRef="Activity__58x8cah" /><bpmn:ServiceTask id="Activity__phtnb1n" name="Accept dispute" forest:description="Accept the dispute" forest:alternative="mcp-server" forest:mcpServerId="192" forest:automaticExecution="true" forest:automaticCompletion="false"><bpmn:incoming>Flow__6i0ng6p</bpmn:incoming><bpmn:outgoing>Flow__kiiqdiz</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__kiiqdiz" sourceRef="Activity__phtnb1n" targetRef="Activity__4nokk0b" /><bpmn:endEvent id="Activity__4nokk0b" name="End"><bpmn:incoming>Flow__kiiqdiz</bpmn:incoming></bpmn:endEvent><bpmn:ServiceTask id="Activity__epyrf4n" name="Get chargeback data" forest:description="Retrieve all the data associated with the chargeback request." forest:alternative="get-data" forest:automaticCompletion="true"><bpmn:incoming>Flow__cuttcua</bpmn:incoming><bpmn:outgoing>Flow__atixn20</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__atixn20" sourceRef="Activity__epyrf4n" targetRef="Activity__7kgwzy5" /><bpmn:ServiceTask id="Activity__nlf5s99" name="Retrieve dispute status" forest:description="Retrieve the current status of a Marqeta dispute by its dispute token." forest:alternative="mcp-server" forest:mcpServerId="193" forest:automaticCompletion="false"><bpmn:incoming>Flow__j89wasb</bpmn:incoming><bpmn:outgoing>Flow__s2m88dh</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__s2m88dh" sourceRef="Activity__nlf5s99" targetRef="Activity__w55kqtm" /><bpmn:UserTask id="Activity__w55kqtm" name="Next steps..." forest:description="Update relevant data in your DB based on the Marqeta data."><bpmn:incoming>Flow__s2m88dh</bpmn:incoming><bpmn:outgoing>Flow__rutk2op</bpmn:outgoing></bpmn:UserTask><bpmn:SequenceFlow id="Flow__rutk2op" sourceRef="Activity__w55kqtm" targetRef="Activity__u0c2d1y" /></bpmn:process><bpmndi:BPMNDiagram id="BPMNDiagram_1"><bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1s8zutc"><bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_0b1zhsz"><dc:Bounds x="182" y="352" width="36" height="36" /><bpmndi:BPMNLabel><dc:Bounds x="159" y="395" width="82" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity_0lxa0w2_di" bpmnElement="Activity__7kgwzy5"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity_00vnyz6_di" bpmnElement="Activity__iltbx8j"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Gateway_15hzcdo_di" bpmnElement="Activity__08fy3ej" isMarkerVisible="true"><dc:Bounds x="50" y="60" width="50" height="50" /><bpmndi:BPMNLabel><dc:Bounds x="55" y="117" width="45" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity_0qdenln_di" bpmnElement="Activity__j15st68"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Event_18tqoiu_di" bpmnElement="Activity__c9ynbk4"><dc:Bounds x="50" y="60" width="36" height="36" /><bpmndi:BPMNLabel><dc:Bounds x="58" y="103" width="20" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity_0dizh1k_di" bpmnElement="Activity__rhy4fcg"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Event_1g8ts59_di" bpmnElement="Activity__58x8cah"><dc:Bounds x="50" y="60" width="36" height="36" /><bpmndi:BPMNLabel><dc:Bounds x="58" y="103" width="20" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity_06v6yk8_di" bpmnElement="Activity__fc16h7x"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Event_1nqy0dy_di" bpmnElement="Activity__u0c2d1y"><dc:Bounds x="50" y="60" width="36" height="36" /><bpmndi:BPMNLabel><dc:Bounds x="58" y="103" width="20" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Gateway__lfyq794_di" bpmnElement="Gateway__lfyq794" isMarkerVisible="true"><dc:Bounds x="75" y="75" width="50" height="50" /><bpmndi:BPMNLabel><dc:Bounds x="64" y="132" width="79" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity__fylp64j_di" bpmnElement="Activity__fylp64j"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity_1o540s7_di" bpmnElement="Activity__phtnb1n"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Event_0am7rbb_di" bpmnElement="Activity__4nokk0b"><dc:Bounds x="50" y="60" width="36" height="36" /><bpmndi:BPMNLabel><dc:Bounds x="58" y="103" width="20" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity__epyrf4n_di" bpmnElement="Activity__epyrf4n"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity__nlf5s99_di" bpmnElement="Activity__nlf5s99"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity__w55kqtm_di" bpmnElement="Activity__w55kqtm"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNEdge id="Flow__cuttcua_di" bpmnElement="Flow__cuttcua"><di:waypoint x="182" y="370" /><di:waypoint x="166" y="370" /><di:waypoint x="166" y="0" /><di:waypoint x="150" y="0" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__7x9baiv_di" bpmnElement="Flow__7x9baiv"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="120" y="40" /><di:waypoint x="100" y="40" /><di:waypoint x="100" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__lzn9b5a_di" bpmnElement="Flow__lzn9b5a"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="120" y="40" /><di:waypoint x="100" y="40" /><di:waypoint x="100" y="85" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__29xeh89_di" bpmnElement="Flow__29xeh89"><di:waypoint x="75" y="60" /><di:waypoint x="75" y="40" /><di:waypoint x="95" y="40" /><di:waypoint x="75" y="40" /><di:waypoint x="75" y="60" /><bpmndi:BPMNLabel><dc:Bounds x="77" y="22" width="16" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__es5p9iw_di" bpmnElement="Flow__es5p9iw"><di:waypoint x="75" y="60" /><di:waypoint x="75" y="40" /><di:waypoint x="95" y="40" /><di:waypoint x="75" y="40" /><di:waypoint x="75" y="60" /><bpmndi:BPMNLabel><dc:Bounds x="77" y="22" width="16" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__2388k4b_di" bpmnElement="Flow__2388k4b"><di:waypoint x="75" y="60" /><di:waypoint x="75" y="40" /><di:waypoint x="95" y="40" /><di:waypoint x="75" y="40" /><di:waypoint x="75" y="60" /><bpmndi:BPMNLabel><dc:Bounds x="77" y="22" width="16" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__8ctz1gj_di" bpmnElement="Flow__8ctz1gj"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="68" y="40" /><di:waypoint x="68" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__4i9uid6_di" bpmnElement="Flow__4i9uid6"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="100" y="75" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__j89wasb_di" bpmnElement="Flow__j89wasb"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="100" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__otkjmww_di" bpmnElement="Flow__otkjmww"><di:waypoint x="100" y="75" /><di:waypoint x="100" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="100" y="60" /><bpmndi:BPMNLabel><dc:Bounds x="43" y="22" width="25" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__6i0ng6p_di" bpmnElement="Flow__6i0ng6p"><di:waypoint x="100" y="75" /><di:waypoint x="100" y="54" /><di:waypoint x="120" y="54" /><di:waypoint x="120" y="40" /><di:waypoint x="100" y="40" /><di:waypoint x="100" y="60" /><bpmndi:BPMNLabel><dc:Bounds x="119" y="46" width="34" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__sh0135l_di" bpmnElement="Flow__sh0135l"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="68" y="40" /><di:waypoint x="68" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__kiiqdiz_di" bpmnElement="Flow__kiiqdiz"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="68" y="40" /><di:waypoint x="68" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__atixn20_di" bpmnElement="Flow__atixn20"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="120" y="40" /><di:waypoint x="100" y="40" /><di:waypoint x="100" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__s2m88dh_di" bpmnElement="Flow__s2m88dh"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="100" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__rutk2op_di" bpmnElement="Flow__rutk2op"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="68" y="40" /><di:waypoint x="68" y="60" /></bpmndi:BPMNEdge></bpmndi:BPMNPlane></bpmndi:BPMNDiagram></bpmn:definitions>
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<bpmn:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:forest="https://app.forestadmin.com" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_0hdve55" targetNamespace="http://bpmn.io/schema/bpmn" exporter="bpmn-js (https://demo.bpmn.io)" exporterVersion="18.6.1"><bpmn:process id="Process_1s8zutc" isExecutable="false"><bpmn:startEvent id="StartEvent_0b1zhsz" name="Start of workflow"><bpmn:outgoing>Flow__uvv61o5</bpmn:outgoing></bpmn:startEvent><bpmn:SequenceFlow id="Flow__uvv61o5" sourceRef="StartEvent_0b1zhsz" targetRef="Activity__h5nee4i" /><bpmn:UserTask id="Activity__h5nee4i" name="Check 90-day transactions" forest:description="Load the customer's 90-day transactions in the AML Investigation workspace, and see if you can notice any patterns or suspicious activity."><bpmn:incoming>Flow__uvv61o5</bpmn:incoming><bpmn:outgoing>Flow__mc3c07x</bpmn:outgoing></bpmn:UserTask><bpmn:ServiceTask id="Activity__iy6ihfh" name="Load customer" forest:description="Load the customer related to the alert" forest:alternative="load-related-record" forest:automaticCompletion="true"><bpmn:incoming>Flow__mc3c07x</bpmn:incoming><bpmn:outgoing>Flow__v7yuree</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__v7yuree" sourceRef="Activity__iy6ihfh" targetRef="Activity__xz6dmcl" /><bpmn:ServiceTask id="Activity__xz6dmcl" name="Get KYC data" forest:description="Retrieve the values retrieved during the customer's onboarding: - First & last name - Date of birth - Nationality - Country of residence - PEP - Sanctions - Risk rating" forest:alternative="get-data" forest:automaticCompletion="true"><bpmn:incoming>Flow__v7yuree</bpmn:incoming><bpmn:outgoing>Flow__9k15d0t</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__9k15d0t" sourceRef="Activity__xz6dmcl" targetRef="Activity__lopka1l" /><bpmn:ExclusiveGateway id="Activity__vv5ijd8" name="Clear or Escalate?" forest:description="Based on the transaction history, and screening results regarding the customer, would you recommend clearing this alert, or escalating it to a senior compliance officer?" forest:aiDecision="true"><bpmn:incoming>Flow__n4zvzbn</bpmn:incoming><bpmn:outgoing>Flow__lsnkn7w</bpmn:outgoing><bpmn:outgoing>Flow__aakv4yc</bpmn:outgoing></bpmn:ExclusiveGateway><bpmn:SequenceFlow id="Flow__aakv4yc" name="All good, clear" sourceRef="Activity__vv5ijd8" targetRef="Activity__3rqh8bm" /><bpmn:SequenceFlow id="Flow__lsnkn7w" name="Suspicious, escalate" sourceRef="Activity__vv5ijd8" targetRef="Activity__q15qdm0" forest:buttonColor="red" /><bpmn:ServiceTask id="Activity__3rqh8bm" name="Clear alert" forest:description="Trigger the Clear Alert action, as a false positive" forest:alternative="trigger-action" forest:automaticExecution="true" forest:automaticCompletion="true"><bpmn:incoming>Flow__aakv4yc</bpmn:incoming><bpmn:outgoing>Flow__zt4w1ai</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__zt4w1ai" sourceRef="Activity__3rqh8bm" targetRef="Activity__j209e41" /><bpmn:endEvent id="Activity__j209e41" name="Alert cleared"><bpmn:incoming>Flow__zt4w1ai</bpmn:incoming></bpmn:endEvent><bpmn:ServiceTask id="Activity__q15qdm0" name="Create SAR" forest:description="Trigger the Create SAR action, and fill out the report with the information gathered during the investigation." forest:alternative="trigger-action" forest:automaticCompletion="true"><bpmn:incoming>Flow__lsnkn7w</bpmn:incoming><bpmn:outgoing>Flow__ik7ncjb</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__ik7ncjb" sourceRef="Activity__q15qdm0" targetRef="Activity__6yaq353" /><bpmn:IntermediateThrowEvent id="Activity__6yaq353" name="Escalation" forest:inboxId="48dc1277-8434-40a6-b495-9b5d69ed6e7c"><bpmn:incoming>Flow__ik7ncjb</bpmn:incoming><bpmn:outgoing>Flow__wdmspqe</bpmn:outgoing></bpmn:IntermediateThrowEvent><bpmn:SequenceFlow id="Flow__wdmspqe" sourceRef="Activity__6yaq353" targetRef="Activity__frow4m3" /><bpmn:ExclusiveGateway id="Activity__d0ppdpd" name="Good to file?" forest:description="Review the contents of the SAR report. Does it contain everything required to file it, or do you want the AML analyst to run an enhanced investigation?"><bpmn:incoming>Flow__8swautv</bpmn:incoming><bpmn:incoming>Flow__s785a11</bpmn:incoming><bpmn:outgoing>Flow__s2x3psf</bpmn:outgoing><bpmn:outgoing>Flow__3t2xiwp</bpmn:outgoing></bpmn:ExclusiveGateway><bpmn:SequenceFlow id="Flow__s2x3psf" name="Yes" sourceRef="Activity__d0ppdpd" targetRef="Activity__q7s26s2" /><bpmn:SequenceFlow id="Flow__3t2xiwp" name="Need more info" sourceRef="Activity__d0ppdpd" targetRef="Activity__r8eaont" forest:buttonColor="orange" /><bpmn:ServiceTask id="Activity__q7s26s2" name="File SAR" forest:description="Trigger the File SAR action to file the report." forest:alternative="trigger-action" forest:automaticExecution="true" forest:automaticCompletion="true"><bpmn:incoming>Flow__s2x3psf</bpmn:incoming><bpmn:outgoing>Flow__8f3cfwm</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__8f3cfwm" sourceRef="Activity__q7s26s2" targetRef="Activity__dvtnwwd" /><bpmn:endEvent id="Activity__dvtnwwd" name="SAR filed"><bpmn:incoming>Flow__8f3cfwm</bpmn:incoming></bpmn:endEvent><bpmn:callActivity id="Activity__r8eaont" name="Request enhanced investigation" calledElement="9d564d80-19d1-4ce4-bb4b-aaf41e7ef5b6"><bpmn:incoming>Flow__3t2xiwp</bpmn:incoming><bpmn:outgoing>Flow__8swautv</bpmn:outgoing></bpmn:callActivity><bpmn:SequenceFlow id="Flow__8swautv" sourceRef="Activity__r8eaont" targetRef="Activity__d0ppdpd" forest:isLinkTo="true" /><bpmn:ServiceTask id="Activity__frow4m3" name="Load SAR" forest:description="Load the SAR related to this Alert" forest:alternative="load-related-record" forest:automaticCompletion="true"><bpmn:incoming>Flow__wdmspqe</bpmn:incoming><bpmn:outgoing>Flow__49h32gh</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__49h32gh" sourceRef="Activity__frow4m3" targetRef="Activity__97dsa66" /><bpmn:ServiceTask id="Activity__97dsa66" name="Retrieve SAR info" forest:description="Retrieve the following information from the SAR: - Activity type - Activity start date - Activity end date - Number of transactions - Total amount - Narrative" forest:alternative="get-data" forest:automaticCompletion="true"><bpmn:incoming>Flow__49h32gh</bpmn:incoming><bpmn:outgoing>Flow__s785a11</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__s785a11" sourceRef="Activity__97dsa66" targetRef="Activity__d0ppdpd" /><bpmn:ServiceTask id="Activity__89w5ifc" name="Kolar (sandbox) Screening" forest:description="Run the AML Alert Screening tool on the customer. The first name, last name, matchFirstNames, matchLastNames, and matchType are required fields; use "SL" as the matchType. Leave other fields as empty strings if the information isn't available." forest:alternative="mcp-server" forest:mcpServerId="112" forest:automaticExecution="true" forest:automaticCompletion="true"><bpmn:incoming>Flow__r62um7y</bpmn:incoming><bpmn:outgoing>Flow__n4zvzbn</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__n4zvzbn" sourceRef="Activity__89w5ifc" targetRef="Activity__vv5ijd8" /><bpmn:SequenceFlow id="Flow__mc3c07x" sourceRef="Activity__h5nee4i" targetRef="Activity__iy6ihfh" /><bpmn:ServiceTask id="Activity__lopka1l" name="Kolar Screening" forest:description="Run the AML Alert Screening tool on the customer. The first name, last name, matchFirstNames, matchLastNames, and matchType are required fields, but fill out the other fields with data from the context if you have them available. Use "SL" as the matchType. Leave other fields as empty strings if the information isn't available in your context." forest:alternative="mcp-server" forest:mcpServerId="174" forest:automaticExecution="true" forest:automaticCompletion="false"><bpmn:incoming>Flow__9k15d0t</bpmn:incoming><bpmn:outgoing>Flow__r62um7y</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__r62um7y" sourceRef="Activity__lopka1l" targetRef="Activity__89w5ifc" /></bpmn:process><bpmndi:BPMNDiagram id="BPMNDiagram_1"><bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1s8zutc"><bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_0b1zhsz"><dc:Bounds x="182" y="352" width="36" height="36" /><bpmndi:BPMNLabel><dc:Bounds x="159" y="395" width="82" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity_01nk1ey_di" bpmnElement="Activity__h5nee4i"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity_11it7eo_di" bpmnElement="Activity__iy6ihfh"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity_1qktc44_di" bpmnElement="Activity__xz6dmcl"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Gateway_1m09ib9_di" bpmnElement="Activity__vv5ijd8" isMarkerVisible="true"><dc:Bounds x="50" y="60" width="50" height="50" /><bpmndi:BPMNLabel><dc:Bounds x="54" y="117" width="49" height="27" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity_0twb28e_di" bpmnElement="Activity__3rqh8bm"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Event_0eb2lvf_di" bpmnElement="Activity__j209e41"><dc:Bounds x="50" y="60" width="36" height="36" /><bpmndi:BPMNLabel><dc:Bounds x="38" y="103" width="62" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity_15jkk14_di" bpmnElement="Activity__q15qdm0"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Event_1sy0b4c_di" bpmnElement="Activity__6yaq353"><dc:Bounds x="50" y="60" width="36" height="36" /><bpmndi:BPMNLabel><dc:Bounds x="43" y="103" width="51" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Gateway_0vrysns_di" bpmnElement="Activity__d0ppdpd" isMarkerVisible="true"><dc:Bounds x="50" y="60" width="50" height="50" /><bpmndi:BPMNLabel><dc:Bounds x="45" y="117" width="63" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity_1cahchb_di" bpmnElement="Activity__q7s26s2"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Event_0d4l5g7_di" bpmnElement="Activity__dvtnwwd"><dc:Bounds x="50" y="60" width="36" height="36" /><bpmndi:BPMNLabel><dc:Bounds x="47" y="103" width="46" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity_016kgvl_di" bpmnElement="Activity__r8eaont"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity__frow4m3_di" bpmnElement="Activity__frow4m3"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity__97dsa66_di" bpmnElement="Activity__97dsa66"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity__89w5ifc_di" bpmnElement="Activity__89w5ifc"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity__lopka1l_di" bpmnElement="Activity__lopka1l"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNEdge id="Flow__uvv61o5_di" bpmnElement="Flow__uvv61o5"><di:waypoint x="182" y="370" /><di:waypoint x="166" y="370" /><di:waypoint x="166" y="0" /><di:waypoint x="150" y="0" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__v7yuree_di" bpmnElement="Flow__v7yuree"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="100" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__9k15d0t_di" bpmnElement="Flow__9k15d0t"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="100" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__aakv4yc_di" bpmnElement="Flow__aakv4yc"><di:waypoint x="75" y="60" /><di:waypoint x="75" y="40" /><di:waypoint x="95" y="40" /><di:waypoint x="75" y="40" /><di:waypoint x="75" y="60" /><bpmndi:BPMNLabel><dc:Bounds x="52" y="22" width="70" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__lsnkn7w_di" bpmnElement="Flow__lsnkn7w"><di:waypoint x="75" y="60" /><di:waypoint x="75" y="40" /><di:waypoint x="95" y="40" /><di:waypoint x="75" y="40" /><di:waypoint x="75" y="60" /><bpmndi:BPMNLabel><dc:Bounds x="59" y="22" width="57" height="27" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__zt4w1ai_di" bpmnElement="Flow__zt4w1ai"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="68" y="40" /><di:waypoint x="68" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__ik7ncjb_di" bpmnElement="Flow__ik7ncjb"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="68" y="40" /><di:waypoint x="68" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__wdmspqe_di" bpmnElement="Flow__wdmspqe"><di:waypoint x="68" y="60" /><di:waypoint x="68" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="68" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__s2x3psf_di" bpmnElement="Flow__s2x3psf"><di:waypoint x="75" y="60" /><di:waypoint x="75" y="40" /><di:waypoint x="95" y="40" /><di:waypoint x="75" y="40" /><di:waypoint x="75" y="60" /><bpmndi:BPMNLabel><dc:Bounds x="77" y="22" width="18" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__3t2xiwp_di" bpmnElement="Flow__3t2xiwp"><di:waypoint x="75" y="60" /><di:waypoint x="75" y="40" /><di:waypoint x="95" y="40" /><di:waypoint x="75" y="40" /><di:waypoint x="75" y="60" /><bpmndi:BPMNLabel><dc:Bounds x="49" y="22" width="76" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__8f3cfwm_di" bpmnElement="Flow__8f3cfwm"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="68" y="40" /><di:waypoint x="68" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__8swautv_di" bpmnElement="Flow__8swautv"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="100" y="85" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__49h32gh_di" bpmnElement="Flow__49h32gh"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="100" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__s785a11_di" bpmnElement="Flow__s785a11"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="75" y="40" /><di:waypoint x="75" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__n4zvzbn_di" bpmnElement="Flow__n4zvzbn"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="100" y="85" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__mc3c07x_di" bpmnElement="Flow__mc3c07x"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="120" y="40" /><di:waypoint x="100" y="40" /><di:waypoint x="100" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__r62um7y_di" bpmnElement="Flow__r62um7y"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="120" y="40" /><di:waypoint x="100" y="40" /><di:waypoint x="100" y="60" /></bpmndi:BPMNEdge></bpmndi:BPMNPlane></bpmndi:BPMNDiagram></bpmn:definitions>
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<bpmn:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:forest="https://app.forestadmin.com" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_0hdve55" targetNamespace="http://bpmn.io/schema/bpmn" exporter="bpmn-js (https://demo.bpmn.io)" exporterVersion="18.6.1"><bpmn:process id="Process_1s8zutc" isExecutable="false"><bpmn:startEvent id="StartEvent_0b1zhsz" name="Start of workflow"><bpmn:outgoing>Flow__4asgudy</bpmn:outgoing></bpmn:startEvent><bpmn:SequenceFlow id="Flow__4asgudy" sourceRef="StartEvent_0b1zhsz" targetRef="Activity__74v7y4h" /><bpmn:userTask id="Activity__74v7y4h" name="Perform EDD" forest:description="Perform EDD analysis to clear this customer's onboarding or not."><bpmn:incoming>Flow__4asgudy</bpmn:incoming><bpmn:outgoing>Flow__l6aoc1i</bpmn:outgoing></bpmn:userTask><bpmn:SequenceFlow id="Flow__l6aoc1i" sourceRef="Activity__74v7y4h" targetRef="Activity__15m85t4" /><bpmn:endEvent id="Activity__15m85t4" name="End"><bpmn:incoming>Flow__l6aoc1i</bpmn:incoming></bpmn:endEvent></bpmn:process><bpmndi:BPMNDiagram id="BPMNDiagram_1"><bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1s8zutc"><bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_0b1zhsz"><dc:Bounds x="182" y="352" width="36" height="36" /><bpmndi:BPMNLabel><dc:Bounds x="159" y="395" width="82" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity_0rwm63m_di" bpmnElement="Activity__74v7y4h"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Event_1myasv2_di" bpmnElement="Activity__15m85t4"><dc:Bounds x="50" y="60" width="36" height="36" /><bpmndi:BPMNLabel><dc:Bounds x="58" y="103" width="20" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNEdge id="Flow__4asgudy_di" bpmnElement="Flow__4asgudy"><di:waypoint x="182" y="370" /><di:waypoint x="166" y="370" /><di:waypoint x="166" y="100" /><di:waypoint x="150" y="100" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__l6aoc1i_di" bpmnElement="Flow__l6aoc1i"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="68" y="40" /><di:waypoint x="68" y="60" /></bpmndi:BPMNEdge></bpmndi:BPMNPlane></bpmndi:BPMNDiagram></bpmn:definitions>
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<bpmn:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:forest="https://app.forestadmin.com" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_0hdve55" targetNamespace="http://bpmn.io/schema/bpmn" exporter="bpmn-js (https://demo.bpmn.io)" exporterVersion="18.6.1"><bpmn:process id="Process_1s8zutc" isExecutable="false"><bpmn:startEvent id="StartEvent_0b1zhsz" name="Start of workflow"><bpmn:outgoing>Flow__8v0wyut</bpmn:outgoing></bpmn:startEvent><bpmn:SequenceFlow id="Flow__8v0wyut" sourceRef="StartEvent_0b1zhsz" targetRef="Activity__5ezjc9p" /><bpmn:ServiceTask id="Activity__5ezjc9p" name="Retrieve data from Forest" forest:description="🔎 First, let's load some data available in Forest regarding the selected document: - document type - URL - uploaded date" forest:alternative="get-data" forest:automaticCompletion="true"><bpmn:incoming>Flow__8v0wyut</bpmn:incoming><bpmn:outgoing>Flow__ya2guwx</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__ya2guwx" sourceRef="Activity__5ezjc9p" targetRef="Activity__hhyjybz" /><bpmn:ServiceTask id="Activity__hhyjybz" name="Extract document info" forest:description="🪪 Now, let's extract information from the document, using the Mistral OCR. Click on Done once it's been executed to move on to the next step." forest:alternative="mcp-server" forest:mcpServerId="128" forest:automaticExecution="true" forest:automaticCompletion="false"><bpmn:incoming>Flow__ya2guwx</bpmn:incoming><bpmn:outgoing>Flow__1b0bvhk</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__1b0bvhk" sourceRef="Activity__hhyjybz" targetRef="Activity__sh0g3gf" /><bpmn:ServiceTask id="Activity__sh0g3gf" name="Verify Document" forest:description="⚡️ Now let's trigger the Verify Document action. It's got some logic in it to review the submitted document and either verify or reject it. Click on Execute to execute the action." forest:alternative="trigger-action" forest:automaticCompletion="true"><bpmn:incoming>Flow__1b0bvhk</bpmn:incoming><bpmn:outgoing>Flow__hryop7e</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__hryop7e" sourceRef="Activity__sh0g3gf" targetRef="Activity__4cvvcha" /><bpmn:endEvent id="Activity__zdd5gmm" name="Document verified successfully!" forest:description="🎉 Congrats, the document was verified successfully! 🙅 You may now close this workflow."><bpmn:incoming>Flow__f0l189z</bpmn:incoming></bpmn:endEvent><bpmn:ExclusiveGateway id="Gateway__9iy7l5c" name="Document verified?" forest:description="🧐 Was the document verified successfully?" forest:aiDecision="false"><bpmn:incoming>Flow__4mkf9m7</bpmn:incoming><bpmn:outgoing>Flow__f0l189z</bpmn:outgoing><bpmn:outgoing>Flow__3709hx6</bpmn:outgoing></bpmn:ExclusiveGateway><bpmn:SequenceFlow id="Flow__f0l189z" name="Yes, verified" sourceRef="Gateway__9iy7l5c" targetRef="Activity__zdd5gmm" /><bpmn:SequenceFlow id="Flow__3709hx6" name="Not verified" sourceRef="Gateway__9iy7l5c" targetRef="Activity__8gginj5" forest:buttonColor="red" /><bpmn:ServiceTask id="Activity__4cvvcha" name="Check document's verification status" forest:description="👀 Now let's double check that the data was updated accordingly, by checking the value of the document's Verified field." forest:alternative="get-data" forest:automaticCompletion="false"><bpmn:incoming>Flow__hryop7e</bpmn:incoming><bpmn:outgoing>Flow__4mkf9m7</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__4mkf9m7" sourceRef="Activity__4cvvcha" targetRef="Gateway__9iy7l5c" /><bpmn:endEvent id="Activity__8gginj5" name="Document not verified!" forest:description="❌ The document could not be verified - this is the end of the workflow, but at this point the next step would probably be to contact the Customer and ask them to upload a valid version of this document. 🙅 For the time being, you may now close this workflow."><bpmn:incoming>Flow__3709hx6</bpmn:incoming></bpmn:endEvent></bpmn:process><bpmndi:BPMNDiagram id="BPMNDiagram_1"><bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1s8zutc"><bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_0b1zhsz"><dc:Bounds x="182" y="352" width="36" height="36" /><bpmndi:BPMNLabel><dc:Bounds x="159" y="395" width="82" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity_0qk9ox7_di" bpmnElement="Activity__5ezjc9p"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity_07wi4uh_di" bpmnElement="Activity__hhyjybz"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity_067m19p_di" bpmnElement="Activity__sh0g3gf"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Event_0rto1sl_di" bpmnElement="Activity__zdd5gmm"><dc:Bounds x="50" y="60" width="36" height="36" /><bpmndi:BPMNLabel><dc:Bounds x="27" y="103" width="89" height="27" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Gateway__9iy7l5c_di" bpmnElement="Gateway__9iy7l5c" isMarkerVisible="true"><dc:Bounds x="75" y="75" width="50" height="50" /><bpmndi:BPMNLabel><dc:Bounds x="78" y="132" width="51" height="27" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity__4cvvcha_di" bpmnElement="Activity__4cvvcha"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Event_1snse6c_di" bpmnElement="Activity__8gginj5"><dc:Bounds x="50" y="60" width="36" height="36" /><bpmndi:BPMNLabel><dc:Bounds x="39" y="103" width="69" height="27" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNEdge id="Flow__8v0wyut_di" bpmnElement="Flow__8v0wyut"><di:waypoint x="182" y="370" /><di:waypoint x="166" y="370" /><di:waypoint x="166" y="100" /><di:waypoint x="150" y="100" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__ya2guwx_di" bpmnElement="Flow__ya2guwx"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="120" y="40" /><di:waypoint x="100" y="40" /><di:waypoint x="100" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__1b0bvhk_di" bpmnElement="Flow__1b0bvhk"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="100" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__hryop7e_di" bpmnElement="Flow__hryop7e"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="100" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__f0l189z_di" bpmnElement="Flow__f0l189z"><di:waypoint x="100" y="75" /><di:waypoint x="100" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="0" y="0" /><bpmndi:BPMNLabel><dc:Bounds x="26" y="22" width="60" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__3709hx6_di" bpmnElement="Flow__3709hx6"><di:waypoint x="100" y="75" /><di:waypoint x="100" y="40" /><di:waypoint x="68" y="40" /><di:waypoint x="68" y="60" /><bpmndi:BPMNLabel><dc:Bounds x="69" y="49" width="56" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__4mkf9m7_di" bpmnElement="Flow__4mkf9m7"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="120" y="40" /><di:waypoint x="120" y="50" /><di:waypoint x="100" y="50" /><di:waypoint x="100" y="75" /></bpmndi:BPMNEdge></bpmndi:BPMNPlane></bpmndi:BPMNDiagram></bpmn:definitions>
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<bpmn:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:forest="https://app.forestadmin.com" id="Definitions_0hdve55" targetNamespace="http://bpmn.io/schema/bpmn" exporter="bpmn-js (https://demo.bpmn.io)" exporterVersion="18.6.1"><bpmn:process id="Process_1s8zutc" isExecutable="false"><bpmn:startEvent id="StartEvent_0b1zhsz" name="Start of workflow"><bpmn:outgoing>Flow__lqj4e1q</bpmn:outgoing></bpmn:startEvent><bpmn:SequenceFlow id="Flow__lqj4e1q" sourceRef="StartEvent_0b1zhsz" targetRef="Activity__7ao8ulm" /><bpmn:UserTask id="Activity__7ao8ulm" name="Before you start" forest:description="👋 Welcome to the Customer Onboarding workflow! ✅ This will act as a checklist, taking you through a (very) simple onboarding process, in a few easy steps. 🌲 Forest will help you retrieve data necessary for the onboarding, make easy Decisions using AI, and let you trigger Actions, in this case to either approve/reject a customer's onboarding, or Escalate the case to a Lvl2 agent. 👇 Click here to get started!"><bpmn:incoming>Flow__lqj4e1q</bpmn:incoming><bpmn:outgoing>Flow__qhqypbu</bpmn:outgoing></bpmn:UserTask><bpmn:SequenceFlow id="Flow__qhqypbu" name="Let's go!" sourceRef="Activity__7ao8ulm" targetRef="Activity__ebutdlx" /><bpmn:ServiceTask id="Activity__jy63n9z" name="Retrieve customer's data" forest:description="Now, our AI will retrieve some of the customer's data needed to check whether we should approve, reject, or escalate their onboarding request. We need the following information: - First and last name - Date of birth - Country - Risk score" forest:alternative="get-data" forest:automaticCompletion="true"><bpmn:incoming>Flow__z9sgzu6</bpmn:incoming><bpmn:outgoing>Flow__g2dfmm5</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__g2dfmm5" sourceRef="Activity__jy63n9z" targetRef="Activity__57hu482" /><bpmn:ExclusiveGateway id="Activity__md177lq" name="Safe to onboard?" forest:description="👀 Based on the customer's Risk Score, should we onboard this customer? If the risk is Low, onboard them. If it's High, reject them. Otherwise, let's escalate to a Lvl2." forest:aiDecision="true"><bpmn:incoming>Flow__0v4baj3</bpmn:incoming><bpmn:outgoing>Flow__pvkegu2</bpmn:outgoing><bpmn:outgoing>Flow__q9knbpb</bpmn:outgoing><bpmn:outgoing>Flow__ocsyn4f</bpmn:outgoing></bpmn:ExclusiveGateway><bpmn:SequenceFlow id="Flow__pvkegu2" name="Yes, approve them" sourceRef="Activity__md177lq" targetRef="Activity__kv2b8cd" /><bpmn:SequenceFlow id="Flow__q9knbpb" name="In doubt, escalate" sourceRef="Activity__md177lq" targetRef="Activity__mm99xbj" forest:buttonColor="yellow" /><bpmn:SequenceFlow id="Flow__ocsyn4f" name="Nope, reject them" sourceRef="Activity__md177lq" targetRef="Activity__c737oxi" forest:buttonColor="red" /><bpmn:UserTask id="Activity__57hu482" name="Let's skip a few steps..." forest:description="🪪 In a real world scenario, you'd cross reference that information with a document, such as a proof of ID and/or a proof of address. 📑 You may also want to query official registries to get more in-depth information on this customer; are they politically exposed (PEP), do they have a history sanctions, or adverse media? You can do all this by loading more data from Forest, or plugging in 3rd party vendors and agents right into this workflow. In our simplified case, we'll just use the Risk Score retrieved previously to make that call - and we'll let our AI take care of that Decision for us, to guide us down the relevant branch."><bpmn:incoming>Flow__g2dfmm5</bpmn:incoming><bpmn:outgoing>Flow__0v4baj3</bpmn:outgoing></bpmn:UserTask><bpmn:SequenceFlow id="Flow__0v4baj3" name="Got it!" sourceRef="Activity__57hu482" targetRef="Activity__md177lq" /><bpmn:ServiceTask id="Activity__kv2b8cd" name="Approve onboarding" forest:description="🙌 Alright, then let's trigger the Approve Onboarding action on the KYC Case, so we can get the customer fully signed up! 👇 Click on Execute below to trigger the Action and onboard the customer." forest:alternative="trigger-action" forest:automaticCompletion="true"><bpmn:incoming>Flow__pvkegu2</bpmn:incoming><bpmn:incoming>Flow__3d4ngu8</bpmn:incoming><bpmn:outgoing>Flow__szxp4t6</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__szxp4t6" sourceRef="Activity__kv2b8cd" targetRef="Activity__hb589f3" /><bpmn:ServiceTask id="Activity__ebutdlx" name="Load Customer" forest:description=" First, we need to load the Customer related to this KYC Case. In the Customer collection, select the relevant record, and click on "Use this record". 🪄 The purple box will appear whenever our AI can help you execute a step." forest:alternative="load-related-record" forest:automaticCompletion="true"><bpmn:incoming>Flow__qhqypbu</bpmn:incoming><bpmn:outgoing>Flow__z9sgzu6</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__z9sgzu6" sourceRef="Activity__ebutdlx" targetRef="Activity__jy63n9z" /><bpmn:endEvent id="Activity__tbiqcgu" name="Customer rejected" forest:description="🥲 Alright, you've successfully rejected this customer's sign up. ➡️ You may now close this workflow, and maybe move on to the next KYC Case if you want to Escalate or Approve the next one."><bpmn:incoming>Flow__hc5hhja</bpmn:incoming></bpmn:endEvent><bpmn:ServiceTask id="Activity__c737oxi" name="Reject onboarding" forest:description="😔 Alright, then let's trigger the Reject Onboarding action on the KYC Case. 👇 Click on Execute below to trigger the Action and reject their application." forest:alternative="trigger-action" forest:automaticCompletion="true"><bpmn:incoming>Flow__ocsyn4f</bpmn:incoming><bpmn:incoming>Flow__1d0u9zt</bpmn:incoming><bpmn:outgoing>Flow__hc5hhja</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__hc5hhja" sourceRef="Activity__c737oxi" targetRef="Activity__tbiqcgu" /><bpmn:endEvent id="Activity__hb589f3" name="Customer onboarded" forest:description="🎉 Congrats, you've successfully onboarded this customer! ➡️ You may now close this workflow, and maybe move on to the next KYC Case if you want to Escalate or Reject the next one."><bpmn:incoming>Flow__szxp4t6</bpmn:incoming></bpmn:endEvent><bpmn:IntermediateThrowEvent id="Activity__mm99xbj" name="Escalation" forest:inboxId="a2d69bb7-fb5b-4fd5-b8d1-5b0727bab91d"><bpmn:incoming>Flow__q9knbpb</bpmn:incoming><bpmn:outgoing>Flow__wz290pt</bpmn:outgoing></bpmn:IntermediateThrowEvent><bpmn:SequenceFlow id="Flow__wz290pt" sourceRef="Activity__mm99xbj" targetRef="Gateway__3joix88" /><bpmn:ExclusiveGateway id="Gateway__3joix88" name="Lvl2 - Safe to onboard?" forest:description="👋 Hi Lvl2 agent, thanks for taking over! 🧐 This KYC Case was escalated, as the Lvl1 agent didn't have the necessary information to make the decision as to whether this customer should be onboarded or not. 👀 So the Decision is yours now - should we approve or reject this customer's sign-up?"><bpmn:incoming>Flow__wz290pt</bpmn:incoming><bpmn:outgoing>Flow__3d4ngu8</bpmn:outgoing><bpmn:outgoing>Flow__1d0u9zt</bpmn:outgoing></bpmn:ExclusiveGateway><bpmn:SequenceFlow id="Flow__3d4ngu8" name="Approve" sourceRef="Gateway__3joix88" targetRef="Activity__kv2b8cd" forest:isLinkTo="true" /><bpmn:SequenceFlow id="Flow__1d0u9zt" name="Reject" sourceRef="Gateway__3joix88" targetRef="Activity__c737oxi" forest:buttonColor="red" forest:isLinkTo="true" /></bpmn:process><bpmndi:BPMNDiagram id="BPMNDiagram_1"><bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1s8zutc"><bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_0b1zhsz"><dc:Bounds x="182" y="352" width="36" height="36" /><bpmndi:BPMNLabel><dc:Bounds x="159" y="395" width="82" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity_0coyc5f_di" bpmnElement="Activity__7ao8ulm"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity_0vgx5je_di" bpmnElement="Activity__jy63n9z"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Gateway_12c8cep_di" bpmnElement="Activity__md177lq" isMarkerVisible="true"><dc:Bounds x="50" y="60" width="50" height="50" /><bpmndi:BPMNLabel><dc:Bounds x="34" y="117" width="85" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity__57hu482_di" bpmnElement="Activity__57hu482"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity_17vsjpa_di" bpmnElement="Activity__kv2b8cd"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity__ebutdlx_di" bpmnElement="Activity__ebutdlx"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Event_017hsqc_di" bpmnElement="Activity__tbiqcgu"><dc:Bounds x="50" y="60" width="36" height="36" /><bpmndi:BPMNLabel><dc:Bounds x="28" y="103" width="90" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity__c737oxi_di" bpmnElement="Activity__c737oxi"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Event_1xmrha2_di" bpmnElement="Activity__hb589f3"><dc:Bounds x="50" y="60" width="36" height="36" /><bpmndi:BPMNLabel><dc:Bounds x="47" y="103" width="53" height="27" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity__mm99xbj_di" bpmnElement="Activity__mm99xbj"><dc:Bounds x="82" y="82" width="36" height="36" /><bpmndi:BPMNLabel><dc:Bounds x="75" y="125" width="51" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Gateway__3joix88_di" bpmnElement="Gateway__3joix88" isMarkerVisible="true"><dc:Bounds x="75" y="75" width="50" height="50" /><bpmndi:BPMNLabel><dc:Bounds x="62" y="132" width="85" height="40" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNEdge id="Flow__lqj4e1q_di" bpmnElement="Flow__lqj4e1q"><di:waypoint x="182" y="370" /><di:waypoint x="166" y="370" /><di:waypoint x="166" y="100" /><di:waypoint x="150" y="100" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__qhqypbu_di" bpmnElement="Flow__qhqypbu"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="100" y="60" /><bpmndi:BPMNLabel><dc:Bounds x="19" y="22" width="42" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__g2dfmm5_di" bpmnElement="Flow__g2dfmm5"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="100" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__pvkegu2_di" bpmnElement="Flow__pvkegu2"><di:waypoint x="75" y="60" /><di:waypoint x="75" y="40" /><di:waypoint x="95" y="40" /><di:waypoint x="75" y="40" /><di:waypoint x="75" y="60" /><bpmndi:BPMNLabel><dc:Bounds x="56" y="22" width="64" height="27" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__q9knbpb_di" bpmnElement="Flow__q9knbpb"><di:waypoint x="75" y="60" /><di:waypoint x="75" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="0" y="0" /><bpmndi:BPMNLabel><dc:Bounds x="-29" y="22" width="87" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__ocsyn4f_di" bpmnElement="Flow__ocsyn4f"><di:waypoint x="75" y="60" /><di:waypoint x="75" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="75" y="60" /><bpmndi:BPMNLabel><dc:Bounds x="-18" y="22" width="87" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__0v4baj3_di" bpmnElement="Flow__0v4baj3"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="75" y="40" /><di:waypoint x="75" y="60" /><bpmndi:BPMNLabel><dc:Bounds x="74" y="22" width="30" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__szxp4t6_di" bpmnElement="Flow__szxp4t6"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="68" y="40" /><di:waypoint x="68" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__z9sgzu6_di" bpmnElement="Flow__z9sgzu6"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="120" y="40" /><di:waypoint x="100" y="40" /><di:waypoint x="100" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__hc5hhja_di" bpmnElement="Flow__hc5hhja"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="68" y="40" /><di:waypoint x="68" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__wz290pt_di" bpmnElement="Flow__wz290pt"><di:waypoint x="100" y="82" /><di:waypoint x="100" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="100" y="75" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__3d4ngu8_di" bpmnElement="Flow__3d4ngu8"><di:waypoint x="100" y="75" /><di:waypoint x="100" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="100" y="60" /><bpmndi:BPMNLabel><dc:Bounds x="32" y="22" width="41" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__1d0u9zt_di" bpmnElement="Flow__1d0u9zt"><di:waypoint x="100" y="75" /><di:waypoint x="100" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="100" y="60" /><bpmndi:BPMNLabel><dc:Bounds x="74" y="49" width="32" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge></bpmndi:BPMNPlane></bpmndi:BPMNDiagram></bpmn:definitions>
|
package/oclif.manifest.json
CHANGED
|
@@ -1835,7 +1835,7 @@
|
|
|
1835
1835
|
"apply.js"
|
|
1836
1836
|
]
|
|
1837
1837
|
},
|
|
1838
|
-
"projects:
|
|
1838
|
+
"projects:create:demo": {
|
|
1839
1839
|
"aliases": [],
|
|
1840
1840
|
"args": {
|
|
1841
1841
|
"applicationName": {
|
|
@@ -1844,7 +1844,116 @@
|
|
|
1844
1844
|
"required": true
|
|
1845
1845
|
}
|
|
1846
1846
|
},
|
|
1847
|
-
"description": "
|
|
1847
|
+
"description": "Create a new Forest Admin project with demo data — no database required.",
|
|
1848
|
+
"flags": {
|
|
1849
|
+
"applicationHost": {
|
|
1850
|
+
"char": "H",
|
|
1851
|
+
"description": "Hostname of your admin backend application.",
|
|
1852
|
+
"name": "applicationHost",
|
|
1853
|
+
"required": false,
|
|
1854
|
+
"hasDynamicHelp": false,
|
|
1855
|
+
"multiple": false,
|
|
1856
|
+
"type": "option"
|
|
1857
|
+
},
|
|
1858
|
+
"applicationPort": {
|
|
1859
|
+
"char": "P",
|
|
1860
|
+
"description": "Port of your admin backend application.",
|
|
1861
|
+
"name": "applicationPort",
|
|
1862
|
+
"required": false,
|
|
1863
|
+
"hasDynamicHelp": false,
|
|
1864
|
+
"multiple": false,
|
|
1865
|
+
"type": "option"
|
|
1866
|
+
},
|
|
1867
|
+
"language": {
|
|
1868
|
+
"char": "l",
|
|
1869
|
+
"description": "Choose the language you want to use for your project.",
|
|
1870
|
+
"name": "language",
|
|
1871
|
+
"required": false,
|
|
1872
|
+
"hasDynamicHelp": false,
|
|
1873
|
+
"multiple": false,
|
|
1874
|
+
"options": [
|
|
1875
|
+
"javascript",
|
|
1876
|
+
"typescript"
|
|
1877
|
+
],
|
|
1878
|
+
"type": "option"
|
|
1879
|
+
}
|
|
1880
|
+
},
|
|
1881
|
+
"hasDynamicHelp": false,
|
|
1882
|
+
"hiddenAliases": [],
|
|
1883
|
+
"id": "projects:create:demo",
|
|
1884
|
+
"pluginAlias": "forest-cli",
|
|
1885
|
+
"pluginName": "forest-cli",
|
|
1886
|
+
"pluginType": "core",
|
|
1887
|
+
"options": {
|
|
1888
|
+
"applicationHost": {
|
|
1889
|
+
"default": "http://localhost",
|
|
1890
|
+
"oclif": {
|
|
1891
|
+
"char": "H",
|
|
1892
|
+
"description": "Hostname of your admin backend application."
|
|
1893
|
+
},
|
|
1894
|
+
"prompter": {
|
|
1895
|
+
"question": "What's the IP/hostname on which your application will be running?"
|
|
1896
|
+
}
|
|
1897
|
+
},
|
|
1898
|
+
"applicationPort": {
|
|
1899
|
+
"default": "3310",
|
|
1900
|
+
"oclif": {
|
|
1901
|
+
"char": "P",
|
|
1902
|
+
"description": "Port of your admin backend application."
|
|
1903
|
+
},
|
|
1904
|
+
"prompter": {
|
|
1905
|
+
"question": "What's the port on which your application will be running?"
|
|
1906
|
+
}
|
|
1907
|
+
},
|
|
1908
|
+
"language": {
|
|
1909
|
+
"choices": [
|
|
1910
|
+
{
|
|
1911
|
+
"name": "javascript",
|
|
1912
|
+
"value": {
|
|
1913
|
+
"name": "javascript",
|
|
1914
|
+
"fileExtension": "js"
|
|
1915
|
+
}
|
|
1916
|
+
},
|
|
1917
|
+
{
|
|
1918
|
+
"name": "typescript",
|
|
1919
|
+
"value": {
|
|
1920
|
+
"name": "typescript",
|
|
1921
|
+
"fileExtension": "ts"
|
|
1922
|
+
}
|
|
1923
|
+
}
|
|
1924
|
+
],
|
|
1925
|
+
"default": {
|
|
1926
|
+
"name": "javascript",
|
|
1927
|
+
"fileExtension": "js"
|
|
1928
|
+
},
|
|
1929
|
+
"oclif": {
|
|
1930
|
+
"char": "l",
|
|
1931
|
+
"description": "Choose the language you want to use for your project."
|
|
1932
|
+
},
|
|
1933
|
+
"prompter": {
|
|
1934
|
+
"question": "In which language would you like to generate your sources?"
|
|
1935
|
+
}
|
|
1936
|
+
}
|
|
1937
|
+
},
|
|
1938
|
+
"isESM": false,
|
|
1939
|
+
"relativePath": [
|
|
1940
|
+
"dist",
|
|
1941
|
+
"commands",
|
|
1942
|
+
"projects",
|
|
1943
|
+
"create",
|
|
1944
|
+
"demo.js"
|
|
1945
|
+
]
|
|
1946
|
+
},
|
|
1947
|
+
"projects:create:nosql": {
|
|
1948
|
+
"aliases": [],
|
|
1949
|
+
"args": {
|
|
1950
|
+
"applicationName": {
|
|
1951
|
+
"description": "Name of the project to create.",
|
|
1952
|
+
"name": "applicationName",
|
|
1953
|
+
"required": true
|
|
1954
|
+
}
|
|
1955
|
+
},
|
|
1956
|
+
"description": "Create a new Forest Admin project.",
|
|
1848
1957
|
"flags": {
|
|
1849
1958
|
"databaseConnectionURL": {
|
|
1850
1959
|
"char": "c",
|
|
@@ -1985,7 +2094,7 @@
|
|
|
1985
2094
|
},
|
|
1986
2095
|
"hasDynamicHelp": false,
|
|
1987
2096
|
"hiddenAliases": [],
|
|
1988
|
-
"id": "projects:
|
|
2097
|
+
"id": "projects:create:nosql",
|
|
1989
2098
|
"pluginAlias": "forest-cli",
|
|
1990
2099
|
"pluginName": "forest-cli",
|
|
1991
2100
|
"pluginType": "core",
|
|
@@ -2164,11 +2273,11 @@
|
|
|
2164
2273
|
"dist",
|
|
2165
2274
|
"commands",
|
|
2166
2275
|
"projects",
|
|
2167
|
-
"
|
|
2276
|
+
"create",
|
|
2168
2277
|
"nosql.js"
|
|
2169
2278
|
]
|
|
2170
2279
|
},
|
|
2171
|
-
"projects:
|
|
2280
|
+
"projects:create:sql": {
|
|
2172
2281
|
"aliases": [],
|
|
2173
2282
|
"args": {
|
|
2174
2283
|
"applicationName": {
|
|
@@ -2177,7 +2286,7 @@
|
|
|
2177
2286
|
"required": true
|
|
2178
2287
|
}
|
|
2179
2288
|
},
|
|
2180
|
-
"description": "
|
|
2289
|
+
"description": "Create a new Forest Admin project.",
|
|
2181
2290
|
"flags": {
|
|
2182
2291
|
"databaseConnectionURL": {
|
|
2183
2292
|
"char": "c",
|
|
@@ -2334,7 +2443,7 @@
|
|
|
2334
2443
|
},
|
|
2335
2444
|
"hasDynamicHelp": false,
|
|
2336
2445
|
"hiddenAliases": [],
|
|
2337
|
-
"id": "projects:
|
|
2446
|
+
"id": "projects:create:sql",
|
|
2338
2447
|
"pluginAlias": "forest-cli",
|
|
2339
2448
|
"pluginName": "forest-cli",
|
|
2340
2449
|
"pluginType": "core",
|
|
@@ -2532,124 +2641,15 @@
|
|
|
2532
2641
|
}
|
|
2533
2642
|
},
|
|
2534
2643
|
"isESM": false,
|
|
2535
|
-
"relativePath": [
|
|
2536
|
-
"dist",
|
|
2537
|
-
"commands",
|
|
2538
|
-
"projects",
|
|
2539
|
-
"bundle",
|
|
2540
|
-
"sql.js"
|
|
2541
|
-
]
|
|
2542
|
-
},
|
|
2543
|
-
"projects:create:demo": {
|
|
2544
|
-
"aliases": [],
|
|
2545
|
-
"args": {
|
|
2546
|
-
"applicationName": {
|
|
2547
|
-
"description": "Name of the project to create.",
|
|
2548
|
-
"name": "applicationName",
|
|
2549
|
-
"required": true
|
|
2550
|
-
}
|
|
2551
|
-
},
|
|
2552
|
-
"description": "Create a new Forest Admin project with demo data — no database required.",
|
|
2553
|
-
"flags": {
|
|
2554
|
-
"applicationHost": {
|
|
2555
|
-
"char": "H",
|
|
2556
|
-
"description": "Hostname of your admin backend application.",
|
|
2557
|
-
"name": "applicationHost",
|
|
2558
|
-
"required": false,
|
|
2559
|
-
"hasDynamicHelp": false,
|
|
2560
|
-
"multiple": false,
|
|
2561
|
-
"type": "option"
|
|
2562
|
-
},
|
|
2563
|
-
"applicationPort": {
|
|
2564
|
-
"char": "P",
|
|
2565
|
-
"description": "Port of your admin backend application.",
|
|
2566
|
-
"name": "applicationPort",
|
|
2567
|
-
"required": false,
|
|
2568
|
-
"hasDynamicHelp": false,
|
|
2569
|
-
"multiple": false,
|
|
2570
|
-
"type": "option"
|
|
2571
|
-
},
|
|
2572
|
-
"language": {
|
|
2573
|
-
"char": "l",
|
|
2574
|
-
"description": "Choose the language you want to use for your project.",
|
|
2575
|
-
"name": "language",
|
|
2576
|
-
"required": false,
|
|
2577
|
-
"hasDynamicHelp": false,
|
|
2578
|
-
"multiple": false,
|
|
2579
|
-
"options": [
|
|
2580
|
-
"javascript",
|
|
2581
|
-
"typescript"
|
|
2582
|
-
],
|
|
2583
|
-
"type": "option"
|
|
2584
|
-
}
|
|
2585
|
-
},
|
|
2586
|
-
"hasDynamicHelp": false,
|
|
2587
|
-
"hiddenAliases": [],
|
|
2588
|
-
"id": "projects:create:demo",
|
|
2589
|
-
"pluginAlias": "forest-cli",
|
|
2590
|
-
"pluginName": "forest-cli",
|
|
2591
|
-
"pluginType": "core",
|
|
2592
|
-
"options": {
|
|
2593
|
-
"applicationHost": {
|
|
2594
|
-
"default": "http://localhost",
|
|
2595
|
-
"oclif": {
|
|
2596
|
-
"char": "H",
|
|
2597
|
-
"description": "Hostname of your admin backend application."
|
|
2598
|
-
},
|
|
2599
|
-
"prompter": {
|
|
2600
|
-
"question": "What's the IP/hostname on which your application will be running?"
|
|
2601
|
-
}
|
|
2602
|
-
},
|
|
2603
|
-
"applicationPort": {
|
|
2604
|
-
"default": "3310",
|
|
2605
|
-
"oclif": {
|
|
2606
|
-
"char": "P",
|
|
2607
|
-
"description": "Port of your admin backend application."
|
|
2608
|
-
},
|
|
2609
|
-
"prompter": {
|
|
2610
|
-
"question": "What's the port on which your application will be running?"
|
|
2611
|
-
}
|
|
2612
|
-
},
|
|
2613
|
-
"language": {
|
|
2614
|
-
"choices": [
|
|
2615
|
-
{
|
|
2616
|
-
"name": "javascript",
|
|
2617
|
-
"value": {
|
|
2618
|
-
"name": "javascript",
|
|
2619
|
-
"fileExtension": "js"
|
|
2620
|
-
}
|
|
2621
|
-
},
|
|
2622
|
-
{
|
|
2623
|
-
"name": "typescript",
|
|
2624
|
-
"value": {
|
|
2625
|
-
"name": "typescript",
|
|
2626
|
-
"fileExtension": "ts"
|
|
2627
|
-
}
|
|
2628
|
-
}
|
|
2629
|
-
],
|
|
2630
|
-
"default": {
|
|
2631
|
-
"name": "javascript",
|
|
2632
|
-
"fileExtension": "js"
|
|
2633
|
-
},
|
|
2634
|
-
"oclif": {
|
|
2635
|
-
"char": "l",
|
|
2636
|
-
"description": "Choose the language you want to use for your project."
|
|
2637
|
-
},
|
|
2638
|
-
"prompter": {
|
|
2639
|
-
"question": "In which language would you like to generate your sources?"
|
|
2640
|
-
}
|
|
2641
|
-
}
|
|
2642
|
-
},
|
|
2643
|
-
"isESM": false,
|
|
2644
2644
|
"relativePath": [
|
|
2645
2645
|
"dist",
|
|
2646
2646
|
"commands",
|
|
2647
2647
|
"projects",
|
|
2648
2648
|
"create",
|
|
2649
|
-
"
|
|
2649
|
+
"sql.js"
|
|
2650
2650
|
]
|
|
2651
2651
|
},
|
|
2652
|
-
"projects:
|
|
2652
|
+
"projects:bundle:nosql": {
|
|
2653
2653
|
"aliases": [],
|
|
2654
2654
|
"args": {
|
|
2655
2655
|
"applicationName": {
|
|
@@ -2658,7 +2658,7 @@
|
|
|
2658
2658
|
"required": true
|
|
2659
2659
|
}
|
|
2660
2660
|
},
|
|
2661
|
-
"description": "
|
|
2661
|
+
"description": "Bundle files for Forest Admin project.",
|
|
2662
2662
|
"flags": {
|
|
2663
2663
|
"databaseConnectionURL": {
|
|
2664
2664
|
"char": "c",
|
|
@@ -2799,7 +2799,7 @@
|
|
|
2799
2799
|
},
|
|
2800
2800
|
"hasDynamicHelp": false,
|
|
2801
2801
|
"hiddenAliases": [],
|
|
2802
|
-
"id": "projects:
|
|
2802
|
+
"id": "projects:bundle:nosql",
|
|
2803
2803
|
"pluginAlias": "forest-cli",
|
|
2804
2804
|
"pluginName": "forest-cli",
|
|
2805
2805
|
"pluginType": "core",
|
|
@@ -2978,11 +2978,11 @@
|
|
|
2978
2978
|
"dist",
|
|
2979
2979
|
"commands",
|
|
2980
2980
|
"projects",
|
|
2981
|
-
"
|
|
2981
|
+
"bundle",
|
|
2982
2982
|
"nosql.js"
|
|
2983
2983
|
]
|
|
2984
2984
|
},
|
|
2985
|
-
"projects:
|
|
2985
|
+
"projects:bundle:sql": {
|
|
2986
2986
|
"aliases": [],
|
|
2987
2987
|
"args": {
|
|
2988
2988
|
"applicationName": {
|
|
@@ -2991,7 +2991,7 @@
|
|
|
2991
2991
|
"required": true
|
|
2992
2992
|
}
|
|
2993
2993
|
},
|
|
2994
|
-
"description": "
|
|
2994
|
+
"description": "Bundle files for Forest Admin project.",
|
|
2995
2995
|
"flags": {
|
|
2996
2996
|
"databaseConnectionURL": {
|
|
2997
2997
|
"char": "c",
|
|
@@ -3148,7 +3148,7 @@
|
|
|
3148
3148
|
},
|
|
3149
3149
|
"hasDynamicHelp": false,
|
|
3150
3150
|
"hiddenAliases": [],
|
|
3151
|
-
"id": "projects:
|
|
3151
|
+
"id": "projects:bundle:sql",
|
|
3152
3152
|
"pluginAlias": "forest-cli",
|
|
3153
3153
|
"pluginName": "forest-cli",
|
|
3154
3154
|
"pluginType": "core",
|
|
@@ -3350,10 +3350,10 @@
|
|
|
3350
3350
|
"dist",
|
|
3351
3351
|
"commands",
|
|
3352
3352
|
"projects",
|
|
3353
|
-
"
|
|
3353
|
+
"bundle",
|
|
3354
3354
|
"sql.js"
|
|
3355
3355
|
]
|
|
3356
3356
|
}
|
|
3357
3357
|
},
|
|
3358
|
-
"version": "5.18.
|
|
3358
|
+
"version": "5.18.1"
|
|
3359
3359
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "forest-cli",
|
|
3
3
|
"description": "The Lumberjacks' toolbelt is the Forest CLI which makes easy to manage your back office application directly from the terminal.",
|
|
4
|
-
"version": "5.18.
|
|
4
|
+
"version": "5.18.1",
|
|
5
5
|
"author": "Sandro Munda",
|
|
6
6
|
"contributors": [
|
|
7
7
|
"Arnaud Valensi <arnaud.valensi@gmail.com>",
|
|
@@ -138,6 +138,10 @@
|
|
|
138
138
|
},
|
|
139
139
|
"resolutions": {
|
|
140
140
|
"semantic-release-slack-bot/**/micromatch": "^4.0.8",
|
|
141
|
+
"@oclif/core/js-yaml": "3.15.0",
|
|
142
|
+
"**/@istanbuljs/load-nyc-config/js-yaml": "3.15.0",
|
|
143
|
+
"@semantic-release/npm/**/sigstore": "^4.1.1",
|
|
144
|
+
"@semantic-release/npm/**/@sigstore/core": "^3.2.1",
|
|
141
145
|
"@azure/core-tracing": "1.0.1",
|
|
142
146
|
"jws": ">=4.0.1",
|
|
143
147
|
"fast-xml-parser": ">=5.7.0",
|