From f8dfedd7b485ec3cb6e07ddb510c3cb9f4865679 Mon Sep 17 00:00:00 2001 From: anablaz Date: Sun, 10 Mar 2024 00:48:05 +0100 Subject: [PATCH 1/2] Fix: add missing elements to the docusign-connect@0.10.0.html file Signed-off-by: anablaz --- build/docusign-connect@0.10.0.html | 608 ++++++++++++++++++++++++++++- 1 file changed, 607 insertions(+), 1 deletion(-) diff --git a/build/docusign-connect@0.10.0.html b/build/docusign-connect@0.10.0.html index 17071824..9b85169d 100644 --- a/build/docusign-connect@0.10.0.html +++ b/build/docusign-connect@0.10.0.html @@ -1 +1,607 @@ - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Accord Project Template Library + + + + + + + + + + + + + + + + +
+
+

+ Docusign Connect +

+ +

+ Author: Accord Project +

+ +
+ docusign-connect@0.10.0 + Contract + ^0.21.0 + adb659db6238cefb5d06120a43b4cf325d5bba65bc51863b4e004da83db8dc44 +
+

+ Counts events from DocuSign connect with a given envelope status. +

+ +

+

+ Download Archive + Download Compiled Archive + Open in Template Studio +Open in VSCode Web +

+ +
+

+

DocuSign Connect

+

A template that counts events from DocuSign connect with a given envelope status.

+

+
+ +

Template Text

+ + +
+
+ +

Count DocuSign connect events with the status: Completed.

+
+
+
+
Count DocuSign connect events with the status: Completed.
+
+
+
+
Count DocuSign connect events with the status: {{status}}.
+
+
+
+
{
+"$class": "com.docusign.connect.counter.DocuSignEnvelopeCounterClause",
+"status": "Completed",
+"contractId": "d1f984a8-a986-4c61-b83d-1a4e205cd532"
+}
+
+
+ +

Template Model

+ + +
+
+ +
+
+
namespace com.docusign.connect.counter
+
+import org.accordproject.cicero.contract.* from https://models.accordproject.org/cicero/contract.cto
+import org.accordproject.cicero.runtime.* from https://models.accordproject.org/cicero/runtime.cto
+import com.docusign.connect.DocuSignEnvelopeInformation from https://models.accordproject.org/docusign/connect@0.2.0.cto
+import com.docusign.connect.EnvelopeStatusCode from https://models.accordproject.org/docusign/connect@0.2.0.cto
+
+transaction MyResponse extends Response {
+o String output
+o Integer counter
+}
+
+asset DocuSignEnvelopeCounterState extends AccordContractState {
+o Integer counter
+}
+
+/**
+* The template model
+*/
+asset DocuSignEnvelopeCounterClause extends AccordContract {
+/**
+* The status of the envelope
+*/
+o EnvelopeStatusCode status
+}
+
+
+ +

Model Dependencies

+ + +
+

Template Logic

+
+

+ Find the full logic for this template on on GitHub. +

+
+ +

State Types

+ + + + + + + + + + + + + + + +
TypeSample JSON
com.docusign.connect.counter.DocuSignEnvelopeCounterState
{
+"$class": "com.docusign.connect.counter.DocuSignEnvelopeCounterState",
+"counter": 57685,
+"stateId": "59abfa10-cd1d-11ea-920c-ade26666d144"
+}
+ +

Request Types

+ + + + + + + + + + + + + + + +
TypeSample JSON
com.docusign.connect.DocuSignEnvelopeInformation
{
+"$class": "com.docusign.connect.DocuSignEnvelopeInformation",
+"envelopeStatus": {
+    "$class": "com.docusign.connect.EnvelopeStatus",
+    "status": "Sent",
+    "envelopeId": "Commodo occaecat veniam sint aliqua.",
+    "created": "2021-03-19T17:40:35.074-04:00",
+    "sent": "2021-03-19T17:40:35.074-04:00",
+    "delivered": "2021-03-19T17:40:35.074-04:00",
+    "signed": "2021-03-19T17:40:35.074-04:00",
+    "completed": "2021-03-19T17:40:35.074-04:00",
+    "declined": "2021-03-19T17:40:35.074-04:00",
+    "email": "In do commodo."
+},
+"recipients": [
+    {
+        "$class": "com.docusign.connect.Recipient",
+        "status": "Declined",
+        "email": "Lorem.",
+        "userName": "Laborum voluptate Lorem eiusmod magna.",
+        "sent": "2021-03-19T17:40:35.074-04:00",
+        "delivered": "2021-03-19T17:40:35.074-04:00",
+        "signed": "2021-03-19T17:40:35.074-04:00",
+        "declined": "2021-03-19T17:40:35.074-04:00",
+        "declineReason": "Consequat eiusmod.",
+        "tabStatuses": [
+            {
+                "$class": "com.docusign.connect.NumberTabStatus",
+                "tabName": "Officia anim id eu cupidatat.",
+                "tabValue": 233.729,
+                "tabType": "Decline",
+                "status": "Occaecat incididunt occaecat magna.",
+                "tabLabel": "Consequat.",
+                "originalValue": "Qui nisi velit.",
+                "signed": "2021-03-19T17:40:35.074-04:00",
+                "customTabType": "List"
+            }
+        ]
+    }
+],
+"customFields": [
+    {
+        "$class": "com.docusign.connect.CustomField",
+        "name": "Qui amet.",
+        "value": "Consectetur fugiat quis laboris."
+    }
+],
+"attachments": [
+    {
+        "$class": "com.docusign.connect.Attachment",
+        "docType": "Principal",
+        "identifier": "0220",
+        "name": "Deserunt nulla occaecat.",
+        "mimeType": "Aliquip ullamco aute.",
+        "encoding": "base64"
+    }
+],
+"transactionId": "bcce5620-88fb-11eb-b575-b9626a34b799",
+"timestamp": "2021-03-19T17:40:35.074-04:00"
+}
+ +

Response Types

+ + + + + + + + + + + + + + + +
TypeSample JSON
com.docusign.connect.counter.MyResponse
{
+"$class": "com.docusign.connect.counter.MyResponse",
+"output": "Dolore ex est.",
+"counter": 54142,
+"transactionId": "bccef260-88fb-11eb-b575-b9626a34b799",
+"timestamp": "2021-03-19T17:40:35.078-04:00"
+}
+ +

Events Types

+ + + + + + + + + + + + + + + +
TypeSample JSON
org.accordproject.cicero.runtime.NotificationObligation
{
+"$class": "org.accordproject.cicero.runtime.NotificationObligation",
+"title": "Reprehenderit ea.",
+"message": "Et exercitation culpa exercitation.",
+"contract": "resource:com.docusign.connect.counter.DocuSignEnvelopeCounterClause#1575",
+"promisor": "resource:org.accordproject.cicero.contract.AccordParty#9940",
+"promisee": "resource:org.accordproject.cicero.contract.AccordParty#9714",
+"deadline": "2021-03-19T17:40:35.078-04:00",
+"eventId": "bccef262-88fb-11eb-b575-b9626a34b799",
+"timestamp": "2021-03-19T17:40:35.078-04:00"
+}
+ +

Technical Integration

+
+

+ Please refer to the Accord Project documentation for how to use a template or integrate it within your application. +

+

+ View the Latest code for this template on GitHub. +

+
+ +
+
+
+ + +
+
+ +
+ +

+ Copyright 2018-2019 Accord Project. Licensed under the + Apache-2.0 Open Source software license. +

+
+
+

+ The materials on this site are for informational purposes only and do not constitute legal advice. The Accord Project is not a law firm or a substitute for an attorney or law firm. The Accord Project cannot provide any kind of advice, explanation, opinion, or recommendation about possible legal rights, remedies, defenses, options, selection of forms, or strategies. The information provided is not intended to create, and receipt or use of it does not constitute, a lawyer-client relationship. Users should not act upon this information without seeking professional counsel. +

+
+
+
+ + \ No newline at end of file From d5fa9853847616d5ab4991e4e78bc86c157ae910 Mon Sep 17 00:00:00 2001 From: anablaz Date: Sun, 10 Mar 2024 01:19:00 +0100 Subject: [PATCH 2/2] Fix: add missing elements to the docusign-connect@0.10.0.html file Signed-off-by: anablaz --- build/docusign-connect@0.10.0.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/docusign-connect@0.10.0.html b/build/docusign-connect@0.10.0.html index 9b85169d..7371d0ac 100644 --- a/build/docusign-connect@0.10.0.html +++ b/build/docusign-connect@0.10.0.html @@ -211,7 +211,7 @@

docusign-connect@0.10.0 Contract ^0.21.0 - adb659db6238cefb5d06120a43b4cf325d5bba65bc51863b4e004da83db8dc44 + 8022d488459b0696e574a0d47792e75710259b40056f6e832a773212a79a722d

Counts events from DocuSign connect with a given envelope status.