Skip to content

Commit 5a9ad5a

Browse files
committed
move templates to functions
1 parent 842a384 commit 5a9ad5a

File tree

9 files changed

+5991
-55
lines changed

9 files changed

+5991
-55
lines changed

client/src/assets/text.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
},
3232
"home": {
3333
"card1": {
34-
"title": "'Create a workflow'",
34+
"title": "Create a workflow",
3535
"description": "Create workflow definitions from the dropdown list below"
3636
},
3737
"card2": {

client/src/constants.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ export const TemplateType = {
2727
I9: '1-9 document',
2828
OFFER: 'Offer letter',
2929
NDA: 'NDA document',
30+
31+
I92: 'MyMaestro: I-9',
32+
OFFER2: 'MyMaestro: Offer Letter',
33+
NDA2: 'MyMaestro: NDA',
3034
};
3135

3236
export const WorkflowOptions = [

server/assets/templates/Maestro_Test__NDA.json

Lines changed: 177 additions & 0 deletions
Large diffs are not rendered by default.

server/assets/templates/WORKFLOW_1-9.json

Lines changed: 57 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,24 @@
8080
"participants": {}
8181
},
8282
"output": {
83-
"dacId_c30c7afc-7d56-451c-b889-0a6488822fca": { "source": "step", "propertyName": "dacId", "stepId": "c30c7afc-7d56-451c-b889-0a6488822fca" }
83+
"dacId_c30c7afc-7d56-451c-b889-0a6488822fca": {
84+
"source": "step",
85+
"propertyName": "dacId",
86+
"stepId": "c30c7afc-7d56-451c-b889-0a6488822fca"
87+
}
8488
}
8589
},
8690
"variables": {
87-
"dacId_c30c7afc-7d56-451c-b889-0a6488822fca": { "source": "step", "propertyName": "dacId", "stepId": "c30c7afc-7d56-451c-b889-0a6488822fca" },
88-
"id_c30c7afc-7d56-451c-b889-0a6488822fca": { "source": "step", "propertyName": "id", "stepId": "c30c7afc-7d56-451c-b889-0a6488822fca" },
91+
"dacId_c30c7afc-7d56-451c-b889-0a6488822fca": {
92+
"source": "step",
93+
"propertyName": "dacId",
94+
"stepId": "c30c7afc-7d56-451c-b889-0a6488822fca"
95+
},
96+
"id_c30c7afc-7d56-451c-b889-0a6488822fca": {
97+
"source": "step",
98+
"propertyName": "id",
99+
"stepId": "c30c7afc-7d56-451c-b889-0a6488822fca"
100+
},
89101
"Employee name_c30c7afc-7d56-451c-b889-0a6488822fca": {
90102
"propertyName": "Employee name",
91103
"source": "step",
@@ -897,8 +909,18 @@
897909
"input": {
898910
"recipients": [
899911
{
900-
"name": { "propertyName": "Employee name", "source": "step", "stepId": "c30c7afc-7d56-451c-b889-0a6488822fca", "type": "String" },
901-
"email": { "propertyName": "Employee email", "source": "step", "stepId": "c30c7afc-7d56-451c-b889-0a6488822fca", "type": "String" }
912+
"name": {
913+
"propertyName": "Employee name",
914+
"source": "step",
915+
"stepId": "c30c7afc-7d56-451c-b889-0a6488822fca",
916+
"type": "String"
917+
},
918+
"email": {
919+
"propertyName": "Employee email",
920+
"source": "step",
921+
"stepId": "c30c7afc-7d56-451c-b889-0a6488822fca",
922+
"type": "String"
923+
}
902924
}
903925
],
904926
"mergeValues": {
@@ -2156,8 +2178,18 @@
21562178
"agentCanEditEmail": "false",
21572179
"agentCanEditName": "false",
21582180
"requireUploadSignature": "false",
2159-
"name": { "propertyName": "Employee name", "source": "step", "stepId": "c30c7afc-7d56-451c-b889-0a6488822fca", "type": "String" },
2160-
"email": { "propertyName": "Employee email", "source": "step", "stepId": "c30c7afc-7d56-451c-b889-0a6488822fca", "type": "String" },
2181+
"name": {
2182+
"propertyName": "Employee name",
2183+
"source": "step",
2184+
"stepId": "c30c7afc-7d56-451c-b889-0a6488822fca",
2185+
"type": "String"
2186+
},
2187+
"email": {
2188+
"propertyName": "Employee email",
2189+
"source": "step",
2190+
"stepId": "c30c7afc-7d56-451c-b889-0a6488822fca",
2191+
"type": "String"
2192+
},
21612193
"recipientId": "2",
21622194
"recipientIdGuid": "00000000-0000-0000-0000-000000000000",
21632195
"accessCode": "",
@@ -2499,8 +2531,18 @@
24992531
"agentCanEditEmail": "false",
25002532
"agentCanEditName": "false",
25012533
"requireUploadSignature": "false",
2502-
"name": { "propertyName": "Preparer name", "source": "step", "stepId": "c30c7afc-7d56-451c-b889-0a6488822fca", "type": "String" },
2503-
"email": { "propertyName": "Preparer email", "source": "step", "stepId": "c30c7afc-7d56-451c-b889-0a6488822fca", "type": "String" },
2534+
"name": {
2535+
"propertyName": "Preparer name",
2536+
"source": "step",
2537+
"stepId": "c30c7afc-7d56-451c-b889-0a6488822fca",
2538+
"type": "String"
2539+
},
2540+
"email": {
2541+
"propertyName": "Preparer email",
2542+
"source": "step",
2543+
"stepId": "c30c7afc-7d56-451c-b889-0a6488822fca",
2544+
"type": "String"
2545+
},
25042546
"recipientId": "50834148",
25052547
"recipientIdGuid": "00000000-0000-0000-0000-000000000000",
25062548
"accessCode": "",
@@ -3653,7 +3695,12 @@
36533695
"agentCanEditEmail": "false",
36543696
"agentCanEditName": "false",
36553697
"requireUploadSignature": "false",
3656-
"name": { "propertyName": "HR Approver name", "source": "step", "stepId": "c30c7afc-7d56-451c-b889-0a6488822fca", "type": "String" },
3698+
"name": {
3699+
"propertyName": "HR Approver name",
3700+
"source": "step",
3701+
"stepId": "c30c7afc-7d56-451c-b889-0a6488822fca",
3702+
"type": "String"
3703+
},
36573704
"email": {
36583705
"propertyName": "HR Approver email",
36593706
"source": "step",

server/assets/templates/WORKFLOW_NDA.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@
192192
"config": { "participantId": "756c29b4-45ba-4da2-bb55-0b5476ebad83" },
193193
"input": {
194194
"isEmbeddedSign": true,
195-
"documents": [{ "type": "FromDSTemplate", "eSignTemplateId": "{templateId}" }],
195+
"documents": [{ "type": "FromDSTemplate", "eSignTemplateId": "4bf2cc6c-ef2d-4d4b-bb8c-9b3b77d1323b" }],
196196
"emailSubject": "Please DocuSign the Mutual NDA",
197197
"emailBlurb": "",
198198
"recipients": {

0 commit comments

Comments
 (0)