Skip to content

Commit

Permalink
Merge pull request #205 from docusign/DEVDOCS-16118
Browse files Browse the repository at this point in the history
DEVDOCS-16118 - removing maestro
  • Loading branch information
raileendr authored Jan 21, 2025
2 parents 64674d0 + e2f502e commit 08a151f
Show file tree
Hide file tree
Showing 20 changed files with 2 additions and 1,376 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
>
### GitHub repo: [code-examples-node](./README.md)

This GitHub repo includes code examples for the [Web Forms API](https://developers.docusign.com/docs/web-forms-api/), [Maestro API](https://developers.docusign.com/docs/maestro-api/), [Docusign Admin API](https://developers.docusign.com/docs/admin-api/), [Click API](https://developers.docusign.com/docs/click-api/), [eSignature REST API](https://developers.docusign.com/docs/esign-rest-api/), [Monitor API](https://developers.docusign.com/docs/monitor-api/), and [Rooms API](https://developers.docusign.com/docs/rooms-api/).
This GitHub repo includes code examples for the [Web Forms API](https://developers.docusign.com/docs/web-forms-api/), [Click API](https://developers.docusign.com/docs/click-api/), [eSignature REST API](https://developers.docusign.com/docs/esign-rest-api/), [Monitor API](https://developers.docusign.com/docs/monitor-api/), and [Rooms API](https://developers.docusign.com/docs/rooms-api/).

## Introduction

Expand Down
1 change: 0 additions & 1 deletion config/appsettings.example.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
"clickAPIUrl": "https://demo.docusign.net/clickapi",
"adminAPIUrl": "https://api-d.docusign.net/management",
"monitorApiUrl": "https://lens-d.docusign.net",
"maestroApiUrl": "https://apps-d.docusign.com/api/maestro",
"webformsApiUrl": "https://apps-d.docusign.com/api/webforms/v1.1",
"codeExamplesManifest": "https://raw.githubusercontent.com/docusign/code-examples-csharp/master/manifest/CodeExamplesManifest.json"
}
12 changes: 1 addition & 11 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ const {
} = require('./lib/admin/controllers');

const { eg001connect } = require('./lib/connect/controllers');
const { eg001maestro, eg002maestro, eg003maestro } = require('./lib/maestro/controllers');
const { eg001webforms } = require('./lib/webforms/controllers');

const PORT = process.env.PORT || 3000;
Expand Down Expand Up @@ -281,14 +280,6 @@ app.get('/eg001', eg001.getController)
app.get('/cneg001', eg001connect.getController)
.post('/cneg001', eg001connect.createController);

app.get('/mseg001', eg001maestro.getController)
.post('/mseg001', eg001maestro.createController)
.post('/mseg001publish', eg001maestro.publishController)
.get('/mseg002', eg002maestro.getController)
.post('/mseg002', eg002maestro.createController)
.get('/mseg003', eg003maestro.getController)
.post('/mseg003', eg003maestro.createController);

app.get('/weg001', eg001webforms.getController)
.get('/weg001webForm', eg001webforms.getWebFormCreateController)
.post('/weg001', eg001webforms.createWebFormTemplate)
Expand Down Expand Up @@ -339,12 +330,11 @@ const ADMIN_SCOPES = [
'user_data_redact', 'asset_group_account_read', 'asset_group_account_clone_write',
'asset_group_account_clone_read', 'organization_sub_account_write', 'organization_sub_account_read'
];
const MAESTRO_SCOPES = ['signature', 'aow_manage'];
const WEBFORMS_SCOPES = [
'webforms_read', 'webforms_instance_read', 'webforms_instance_write'
];

const scope = [...ROOM_SCOPES, ...CLICK_SCOPES, ...MONITOR_SCOPES, ...ADMIN_SCOPES, ...SCOPES, ...WEBFORMS_SCOPES, ...MAESTRO_SCOPES];
const scope = [...ROOM_SCOPES, ...CLICK_SCOPES, ...MONITOR_SCOPES, ...ADMIN_SCOPES, ...SCOPES, ...WEBFORMS_SCOPES];

// Configure passport for DocusignStrategy
const docusignStrategyOptions = {
Expand Down
232 changes: 0 additions & 232 deletions lib/maestro/controllers/eg001TriggerWorkflow.js

This file was deleted.

Loading

0 comments on commit 08a151f

Please sign in to comment.