├── loanco.png ├── jsconfig.json ├── src ├── oauth │ ├── ResponseType.js │ ├── BasePath.js │ ├── Scope.js │ ├── Link.js │ ├── Organization.js │ └── Account.js ├── RestApi.js ├── OAuth.js ├── Configuration.js └── model │ ├── DSWorkflowStepTypesLoop.js │ ├── DSWorkflowStepTypesDSIdv.js │ ├── DSWorkflowStepTypesDSSign.js │ ├── DSWorkflowStepTypesDoUntil.js │ ├── DSWorkflowStepTypesDSDocGen.js │ ├── DSWorkflowStepTypesDSIfElse.js │ ├── DSWorkflowStepTypesParallel.js │ ├── DSWorkflowStepTypesDSWebForms.js │ ├── DSWorkflowVariableSourceTypesStep.js │ ├── ESignDocumentTypesFromDSTemplate.js │ ├── DSWorkflowVariableSourceTypesVariable.js │ ├── DSWorkflowTriggerTypes.js │ ├── ESignDocumentTypesFromPreviousStep.js │ ├── DSWorkflowStepTypesDSTransformation.js │ ├── DSWorkflowVariableSourceTypesParticipant.js │ ├── DSWorkflowLogicalOperatorTypes.js │ ├── DSWorkflowDocGenDocOutputFormat.js │ ├── DSWorkflowExpressionTypesBooleanExpression.js │ ├── DeployStatus.js │ ├── DSWorkflowExpressionTypesParallelExpression.js │ ├── DSWorkflowExpressionTypesComparisonExpression.js │ ├── HttpTypes.js │ ├── AccessTokenTokenTypes.js │ ├── DSWorkflowTransformationExpressionTypesConcatExpression.js │ ├── DSWorkflowTransformationExpressionTypesIndexOfExpression.js │ ├── DSWorkflowTransformationExpressionTypesReplaceExpression.js │ ├── DSWorkflowTransformationExpressionTypesToLowerExpression.js │ ├── DSWorkflowTransformationExpressionTypesToUpperExpression.js │ ├── DSWorkflowTransformationExpressionTypesSubstringExpression.js │ ├── DSWorkflowTransformationExpressionTypesLastIndexOfExpression.js │ ├── ParticipantKeys.js │ ├── AowUUID.js │ ├── UserId.js │ ├── WorkflowStepHistoryState.js │ ├── DsStepId.js │ ├── AccountId.js │ ├── AowUUIDString.js │ ├── RecordToNever.js │ ├── TemplateId.js │ ├── VersionString.js │ ├── LastDeployedId.js │ ├── WorkflowDateTime.js │ ├── WorkflowInstanceState.js │ ├── DSWorkflowVariable.js │ ├── WorkflowInstanceId.js │ ├── WorkflowCreatorId.js │ ├── ESignLocalePolicy.js │ ├── WorkflowInstanceMap.js │ ├── WorkflowMetadataStatus.js │ ├── RecordStringBoolean.js │ ├── ESignDocuments.js │ ├── NumberOrVariable.js │ ├── DSServiceStep.js │ ├── DSWorkflowStep.js │ ├── DSWorkflowVariableRecord.js │ ├── DSWorkflowLanesRecord.js │ ├── DSWorkflowVariableFromParticipant.js │ ├── SuccessMessageResponse.js │ ├── DSWebFormsStepConfig.js │ ├── DSWorkflowParticipantRecord.js │ ├── StringOrVariableOrTransformation.js │ ├── WorkflowInstancesList.js │ ├── RecordStringOrVariableOrTransformation.js │ ├── DeploymentStatus.js │ ├── WorkflowStepHistoryList.js │ ├── DeployRequest.js │ ├── CancelResponse.js │ ├── DSWorkflowTransformationExpression.js │ ├── ErrorResponse.js │ ├── ValidationErrors.js │ ├── WorkflowStepErrorError.js │ ├── CreateOrUpdateWorkflowDefinitionRequestBody.js │ ├── WorkflowDeleteResponse.js │ ├── GetConfigurationInstancesResponseConfigInstances.js │ ├── TriggerWorkflowViaPostResponse.js │ ├── WorkflowDefinitionList.js │ ├── InvalidWorkflowResponse.js │ ├── GetConfigurationInstanceResponse.js │ ├── ReplicationStatus.js │ ├── DSWorkflowComparisonOperatorTypes.js │ ├── AccessTokenResponse.js │ ├── TriggerPayload.js │ ├── ProgressInstance.js │ └── DeployResponse.js ├── .travis.yml ├── test-config.js ├── .jsdoc.json ├── LICENSE ├── .swagger-codegen-ignore ├── package.json ├── .gitignore └── CHANGELOG.md /loanco.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docusign/docusign-maestro-node-client/master/loanco.png -------------------------------------------------------------------------------- /jsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "ES6", 4 | "module": "commonjs" 5 | } 6 | } -------------------------------------------------------------------------------- /src/oauth/ResponseType.js: -------------------------------------------------------------------------------- 1 | var CODE = 'code'; 2 | var TOKEN = 'token'; 3 | 4 | module.exports = { 5 | CODE: CODE, 6 | TOKEN: TOKEN, 7 | } 8 | 9 | Object.freeze(module.exports); -------------------------------------------------------------------------------- /src/oauth/BasePath.js: -------------------------------------------------------------------------------- 1 | var PRODUCTION = "account.docusign.com"; 2 | var DEMO = "account-d.docusign.com"; 3 | var STAGE = "account-s.docusign.com"; 4 | 5 | module.exports = { 6 | PRODUCTION: PRODUCTION, 7 | DEMO: DEMO, 8 | STAGE: STAGE 9 | }; 10 | 11 | Object.freeze(module.exports) -------------------------------------------------------------------------------- /src/oauth/Scope.js: -------------------------------------------------------------------------------- 1 | var SIGNATURE = 'signature'; 2 | var EXTENDED = 'extended'; 3 | var IMPERSONATION = 'impersonation'; 4 | var AOW_MANAGE = 'aow_manage'; 5 | 6 | module.exports = { 7 | SIGNATURE: SIGNATURE, 8 | EXTENDED: EXTENDED, 9 | IMPERSONATION: IMPERSONATION, 10 | AOW_MANAGE: AOW_MANAGE 11 | }; 12 | 13 | Object.freeze(module.exports); -------------------------------------------------------------------------------- /src/RestApi.js: -------------------------------------------------------------------------------- 1 | const PRODUCTION_BASE_PATH = 'https://www.docusign.net/restapi'; 2 | const DEMO_BASE_PATH = 'https://demo.services.docusign.net'; 3 | const STAGE_BASE_PATH = 'https://stage.docusign.net/restapi'; 4 | 5 | module.exports = { 6 | BasePath: { 7 | PRODUCTION: PRODUCTION_BASE_PATH, 8 | DEMO: DEMO_BASE_PATH, 9 | STAGE: STAGE_BASE_PATH 10 | } 11 | }; -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | 3 | branches: 4 | only: 5 | - master 6 | - v2-master 7 | 8 | language: node_js 9 | 10 | notifications: 11 | email: 12 | recipients: 13 | - devcenter@docusign.com 14 | on_success: never 15 | on_failure: change 16 | 17 | node_js: 18 | - "12" 19 | - "14" 20 | - "16" 21 | 22 | cache: 23 | directories: 24 | - "node_modules" 25 | 26 | after_script: "npm install coveralls@2 && cat ./coverage/lcov.info | coveralls" 27 | 28 | -------------------------------------------------------------------------------- /test-config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | integratorKey: process.env.INTEGRATOR_KEY_JWT, 3 | apiEnv: 'demo', 4 | debug: false, 5 | email: process.env.EMAIL, 6 | userId: process.env.USER_ID, 7 | templateId: process.env.TEMPLATE_ID, 8 | templateRole: 'bob', 9 | integratorKeyAuthCode: process.env.INTEGRATOR_KEY_AUTH_CODE, 10 | integratorKeyImplicit: process.env.INTEGRATOR_KEY_IMPLICIT, 11 | clientSecret: process.env.CLIENT_SECRET, 12 | brandId: process.env.BRAND_ID, 13 | privateKey: process.env.PRIVATE_KEY 14 | }; 15 | -------------------------------------------------------------------------------- /.jsdoc.json: -------------------------------------------------------------------------------- 1 | { 2 | "tags": { 3 | "allowUnknownTags": true 4 | }, 5 | "source": { 6 | "include": ["src", "package.json"], 7 | "includePattern": ".js$", 8 | "excludePattern": "(node_modules/|docs)" 9 | }, 10 | "plugins": [ 11 | "plugins/markdown" 12 | ], 13 | "markdown": { 14 | "parser": "gfm", 15 | "hardwrap": true 16 | }, 17 | "templates": { 18 | "cleverLinks": false, 19 | "monospaceLinks": true, 20 | "useLongnameInNav": false 21 | }, 22 | "opts": { 23 | "source": "./src/", 24 | "destination": "./docs/", 25 | "encoding": "utf8", 26 | "recurse": true, 27 | "template": "./node_modules/docdash" 28 | }, 29 | "docdash": { 30 | "static": false, 31 | "sort": true 32 | } 33 | } -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License 2 | 3 | Copyright (c) 2023- DocuSign, Inc. (https://www.docusign.com) 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /src/OAuth.js: -------------------------------------------------------------------------------- 1 | var Scope_SIGNATURE = require('./oauth/Scope').SIGNATURE; 2 | var Scope_AOW_MANAGE = require('./oauth/Scope').AOW_MANAGE; 3 | var Scope_EXTENDED = require('./oauth/Scope').EXTENDED; 4 | var Scope_IMPERSONATION = require('./oauth/Scope').IMPERSONATION; 5 | var PRODUCTION_OAUTH_BASE_PATH = require('./oauth/BasePath').PRODUCTION; 6 | var DEMO_OAUTH_BASE_PATH = require('./oauth/BasePath').DEMO; 7 | var STAGE_OAUTH_BASE_PATH = require('./oauth/BasePath').STAGE; 8 | var CODE = require('./oauth/ResponseType').CODE; 9 | var TOKEN = require('./oauth/ResponseType').TOKEN; 10 | var UserInfo = require('./oauth/UserInfo'); 11 | var OAuthToken = require('./oauth/OAuthToken'); 12 | 13 | module.exports = { 14 | Scope: { 15 | AOW_MANAGE: Scope_AOW_MANAGE, 16 | EXTENDED: Scope_EXTENDED, 17 | IMPERSONATION: Scope_IMPERSONATION, 18 | }, 19 | ResponseType: { 20 | CODE: CODE, 21 | TOKEN: TOKEN, 22 | }, 23 | BasePath: { 24 | PRODUCTION: PRODUCTION_OAUTH_BASE_PATH, 25 | STAGE: STAGE_OAUTH_BASE_PATH, 26 | DEMO: DEMO_OAUTH_BASE_PATH, 27 | }, 28 | UserInfo: UserInfo, 29 | OAuthToken: OAuthToken 30 | }; 31 | 32 | Object.freeze(module.exports.Scope); 33 | Object.freeze(module.exports.ResponseType); 34 | Object.freeze(module.exports.BasePath); -------------------------------------------------------------------------------- /.swagger-codegen-ignore: -------------------------------------------------------------------------------- 1 | # Swagger Codegen Ignore 2 | 3 | # Use this file to prevent files from being overwritten by the generator. 4 | # The patterns follow closely to .gitignore or .dockerignore. 5 | 6 | # As an example, the C# client generator defines ApiClient.cs. 7 | # You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line: 8 | #ApiClient.cs 9 | 10 | # You can match any string of characters against a directory, file or extension with a single asterisk (*): 11 | #foo/*/qux 12 | # The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux 13 | 14 | # You can recursively match patterns against a directory, file or extension with a double asterisk (**): 15 | #foo/**/qux 16 | # This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux 17 | 18 | # You can also negate patterns with an exclamation (!). 19 | # For example, you can ignore all files in a docs folder with the file extension .md: 20 | #docs/*.md 21 | # Then explicitly reverse the ignore rule for a single file: 22 | #!docs/README.md 23 | 24 | # Swagger and Git files 25 | .swagger-codegen-ignore 26 | .gitignore 27 | CHANGELOG.md 28 | README.md 29 | git_push.sh 30 | 31 | # Project files 32 | LICENSE 33 | .travis.yml 34 | mocha.opts 35 | 36 | # Specific src and test files 37 | docs/*.md 38 | test/*/*.spec.js 39 | test/assert-equals.js 40 | src/OAuth.js 41 | src/RestApi.js 42 | src/oauth/ 43 | src/ApiClient.js -------------------------------------------------------------------------------- /src/Configuration.js: -------------------------------------------------------------------------------- 1 | (function(root, factory) { 2 | if (typeof define === 'function' && define.amd) { 3 | // AMD. Register as an anonymous module. 4 | define([undefined, './ApiClient'], factory); 5 | } else if (typeof module === 'object' && module.exports) { 6 | // CommonJS-like environments that support module.exports, like Node. 7 | module.exports = factory(undefined, require('./ApiClient')); 8 | } else { 9 | // Browser globals (root is window) 10 | if (!root.Docusign) { 11 | root.Docusign = {}; 12 | } 13 | factory(root.Docusign, root.Docusign.ApiClient); 14 | } 15 | }(this, function(module, ApiClient) { 16 | 'use strict'; 17 | 18 | var Configuration = function Configuration() { 19 | /** 20 | * The API client to use for every API call. 21 | */ 22 | this.defaultApiClient = new ApiClient(); 23 | 24 | /** 25 | * The default HTTP headers to be included for all API calls. 26 | */ 27 | // Add DocuSign Tracking Header 28 | this.defaultHeaders = { "X-DocuSign-SDK": "Node" }; 29 | }; 30 | 31 | /** 32 | * Get the default API client, which would be used when creating API 33 | * instances without providing an API client. 34 | */ 35 | Configuration.prototype.getDefaultApiClient = function getDefaultApiClient() { 36 | return this.defaultApiClient; 37 | }; 38 | 39 | /** 40 | * Sets the default API client. 41 | */ 42 | Configuration.prototype.setDefaultApiClient = function setDefaultApiClient(defaultApiClient) { 43 | this.defaultApiClient = defaultApiClient; 44 | }; 45 | 46 | Configuration.default = new Configuration(); 47 | 48 | return Configuration; 49 | })); -------------------------------------------------------------------------------- /src/model/DSWorkflowStepTypesLoop.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.DSWorkflowStepTypesLoop = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | /** 30 | * Enum class DSWorkflowStepTypesLoop. 31 | * @enum {} 32 | * @readonly 33 | */ 34 | var exports = { 35 | /** 36 | * value: "DS-Loop" 37 | * @const 38 | */ 39 | "dSLoop": "DS-Loop" }; 40 | 41 | /** 42 | * Returns a DSWorkflowStepTypesLoop enum value from a Javascript object name. 43 | * @param {Object} data The plain JavaScript object containing the name of the enum value. 44 | * @return {module:model/DSWorkflowStepTypesLoop} The enum DSWorkflowStepTypesLoop value. 45 | */ 46 | exports.constructFromObject = function(object) { 47 | return object; 48 | }; 49 | 50 | return exports; 51 | })); 52 | 53 | 54 | -------------------------------------------------------------------------------- /src/model/DSWorkflowStepTypesDSIdv.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.DSWorkflowStepTypesDSIdv = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | /** 30 | * Enum class DSWorkflowStepTypesDSIdv. 31 | * @enum {} 32 | * @readonly 33 | */ 34 | var exports = { 35 | /** 36 | * value: "DS-IDV" 37 | * @const 38 | */ 39 | "DS_IDV": "DS-IDV" }; 40 | 41 | /** 42 | * Returns a DSWorkflowStepTypesDSIdv enum value from a Javascript object name. 43 | * @param {Object} data The plain JavaScript object containing the name of the enum value. 44 | * @return {module:model/DSWorkflowStepTypesDSIdv} The enum DSWorkflowStepTypesDSIdv value. 45 | */ 46 | exports.constructFromObject = function(object) { 47 | return object; 48 | }; 49 | 50 | return exports; 51 | })); 52 | 53 | 54 | -------------------------------------------------------------------------------- /src/model/DSWorkflowStepTypesDSSign.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.DSWorkflowStepTypesDSSign = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | /** 30 | * Enum class DSWorkflowStepTypesDSSign. 31 | * @enum {} 32 | * @readonly 33 | */ 34 | var exports = { 35 | /** 36 | * value: "DS-Sign" 37 | * @const 38 | */ 39 | "dSSign": "DS-Sign" }; 40 | 41 | /** 42 | * Returns a DSWorkflowStepTypesDSSign enum value from a Javascript object name. 43 | * @param {Object} data The plain JavaScript object containing the name of the enum value. 44 | * @return {module:model/DSWorkflowStepTypesDSSign} The enum DSWorkflowStepTypesDSSign value. 45 | */ 46 | exports.constructFromObject = function(object) { 47 | return object; 48 | }; 49 | 50 | return exports; 51 | })); 52 | 53 | 54 | -------------------------------------------------------------------------------- /src/model/DSWorkflowStepTypesDoUntil.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.DSWorkflowStepTypesDoUntil = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | /** 30 | * Enum class DSWorkflowStepTypesDoUntil. 31 | * @enum {} 32 | * @readonly 33 | */ 34 | var exports = { 35 | /** 36 | * value: "DS-DoUntil" 37 | * @const 38 | */ 39 | "dSDoUntil": "DS-DoUntil" }; 40 | 41 | /** 42 | * Returns a DSWorkflowStepTypesDoUntil enum value from a Javascript object name. 43 | * @param {Object} data The plain JavaScript object containing the name of the enum value. 44 | * @return {module:model/DSWorkflowStepTypesDoUntil} The enum DSWorkflowStepTypesDoUntil value. 45 | */ 46 | exports.constructFromObject = function(object) { 47 | return object; 48 | }; 49 | 50 | return exports; 51 | })); 52 | 53 | 54 | -------------------------------------------------------------------------------- /src/model/DSWorkflowStepTypesDSDocGen.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.DSWorkflowStepTypesDSDocGen = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | /** 30 | * Enum class DSWorkflowStepTypesDSDocGen. 31 | * @enum {} 32 | * @readonly 33 | */ 34 | var exports = { 35 | /** 36 | * value: "DS-DocGen" 37 | * @const 38 | */ 39 | "dSDocGen": "DS-DocGen" }; 40 | 41 | /** 42 | * Returns a DSWorkflowStepTypesDSDocGen enum value from a Javascript object name. 43 | * @param {Object} data The plain JavaScript object containing the name of the enum value. 44 | * @return {module:model/DSWorkflowStepTypesDSDocGen} The enum DSWorkflowStepTypesDSDocGen value. 45 | */ 46 | exports.constructFromObject = function(object) { 47 | return object; 48 | }; 49 | 50 | return exports; 51 | })); 52 | 53 | 54 | -------------------------------------------------------------------------------- /src/model/DSWorkflowStepTypesDSIfElse.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.DSWorkflowStepTypesDSIfElse = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | /** 30 | * Enum class DSWorkflowStepTypesDSIfElse. 31 | * @enum {} 32 | * @readonly 33 | */ 34 | var exports = { 35 | /** 36 | * value: "DS-IfElse" 37 | * @const 38 | */ 39 | "dSIfElse": "DS-IfElse" }; 40 | 41 | /** 42 | * Returns a DSWorkflowStepTypesDSIfElse enum value from a Javascript object name. 43 | * @param {Object} data The plain JavaScript object containing the name of the enum value. 44 | * @return {module:model/DSWorkflowStepTypesDSIfElse} The enum DSWorkflowStepTypesDSIfElse value. 45 | */ 46 | exports.constructFromObject = function(object) { 47 | return object; 48 | }; 49 | 50 | return exports; 51 | })); 52 | 53 | 54 | -------------------------------------------------------------------------------- /src/model/DSWorkflowStepTypesParallel.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.DSWorkflowStepTypesParallel = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | /** 30 | * Enum class DSWorkflowStepTypesParallel. 31 | * @enum {} 32 | * @readonly 33 | */ 34 | var exports = { 35 | /** 36 | * value: "DS-Parallel" 37 | * @const 38 | */ 39 | "dSParallel": "DS-Parallel" }; 40 | 41 | /** 42 | * Returns a DSWorkflowStepTypesParallel enum value from a Javascript object name. 43 | * @param {Object} data The plain JavaScript object containing the name of the enum value. 44 | * @return {module:model/DSWorkflowStepTypesParallel} The enum DSWorkflowStepTypesParallel value. 45 | */ 46 | exports.constructFromObject = function(object) { 47 | return object; 48 | }; 49 | 50 | return exports; 51 | })); 52 | 53 | 54 | -------------------------------------------------------------------------------- /src/model/DSWorkflowStepTypesDSWebForms.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.DSWorkflowStepTypesDSWebForms = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | /** 30 | * Enum class DSWorkflowStepTypesDSWebForms. 31 | * @enum {} 32 | * @readonly 33 | */ 34 | var exports = { 35 | /** 36 | * value: "DS-WebForms" 37 | * @const 38 | */ 39 | "dSWebForms": "DS-WebForms" }; 40 | 41 | /** 42 | * Returns a DSWorkflowStepTypesDSWebForms enum value from a Javascript object name. 43 | * @param {Object} data The plain JavaScript object containing the name of the enum value. 44 | * @return {module:model/DSWorkflowStepTypesDSWebForms} The enum DSWorkflowStepTypesDSWebForms value. 45 | */ 46 | exports.constructFromObject = function(object) { 47 | return object; 48 | }; 49 | 50 | return exports; 51 | })); 52 | 53 | 54 | -------------------------------------------------------------------------------- /src/model/DSWorkflowVariableSourceTypesStep.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.DSWorkflowVariableSourceTypesStep = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | /** 30 | * Enum class DSWorkflowVariableSourceTypesStep. 31 | * @enum {} 32 | * @readonly 33 | */ 34 | var exports = { 35 | /** 36 | * value: "step" 37 | * @const 38 | */ 39 | "step": "step" }; 40 | 41 | /** 42 | * Returns a DSWorkflowVariableSourceTypesStep enum value from a Javascript object name. 43 | * @param {Object} data The plain JavaScript object containing the name of the enum value. 44 | * @return {module:model/DSWorkflowVariableSourceTypesStep} The enum DSWorkflowVariableSourceTypesStep value. 45 | */ 46 | exports.constructFromObject = function(object) { 47 | return object; 48 | }; 49 | 50 | return exports; 51 | })); 52 | 53 | 54 | -------------------------------------------------------------------------------- /src/model/ESignDocumentTypesFromDSTemplate.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.ESignDocumentTypesFromDSTemplate = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | /** 30 | * Enum class ESignDocumentTypesFromDSTemplate. 31 | * @enum {} 32 | * @readonly 33 | */ 34 | var exports = { 35 | /** 36 | * value: "FromDSTemplate" 37 | * @const 38 | */ 39 | "fromDSTemplate": "FromDSTemplate" }; 40 | 41 | /** 42 | * Returns a ESignDocumentTypesFromDSTemplate enum value from a Javascript object name. 43 | * @param {Object} data The plain JavaScript object containing the name of the enum value. 44 | * @return {module:model/ESignDocumentTypesFromDSTemplate} The enum ESignDocumentTypesFromDSTemplate value. 45 | */ 46 | exports.constructFromObject = function(object) { 47 | return object; 48 | }; 49 | 50 | return exports; 51 | })); 52 | 53 | 54 | -------------------------------------------------------------------------------- /src/model/DSWorkflowVariableSourceTypesVariable.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.DSWorkflowVariableSourceTypesVariable = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | /** 30 | * Enum class DSWorkflowVariableSourceTypesVariable. 31 | * @enum {} 32 | * @readonly 33 | */ 34 | var exports = { 35 | /** 36 | * value: "variable" 37 | * @const 38 | */ 39 | "variable": "variable" }; 40 | 41 | /** 42 | * Returns a DSWorkflowVariableSourceTypesVariable enum value from a Javascript object name. 43 | * @param {Object} data The plain JavaScript object containing the name of the enum value. 44 | * @return {module:model/DSWorkflowVariableSourceTypesVariable} The enum DSWorkflowVariableSourceTypesVariable value. 45 | */ 46 | exports.constructFromObject = function(object) { 47 | return object; 48 | }; 49 | 50 | return exports; 51 | })); 52 | 53 | 54 | -------------------------------------------------------------------------------- /src/model/DSWorkflowTriggerTypes.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.DSWorkflowTriggerTypes = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | /** 30 | * Enum class DSWorkflowTriggerTypes. 31 | * @enum {} 32 | * @readonly 33 | */ 34 | var exports = { 35 | /** 36 | * value: "Http" 37 | * @const 38 | */ 39 | "http": "Http", 40 | /** 41 | * value: "Http-API" 42 | * @const 43 | */ 44 | "httpAPI": "Http-API" }; 45 | 46 | /** 47 | * Returns a DSWorkflowTriggerTypes enum value from a Javascript object name. 48 | * @param {Object} data The plain JavaScript object containing the name of the enum value. 49 | * @return {module:model/DSWorkflowTriggerTypes} The enum DSWorkflowTriggerTypes value. 50 | */ 51 | exports.constructFromObject = function(object) { 52 | return object; 53 | }; 54 | 55 | return exports; 56 | })); 57 | 58 | 59 | -------------------------------------------------------------------------------- /src/model/ESignDocumentTypesFromPreviousStep.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.ESignDocumentTypesFromPreviousStep = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | /** 30 | * Enum class ESignDocumentTypesFromPreviousStep. 31 | * @enum {} 32 | * @readonly 33 | */ 34 | var exports = { 35 | /** 36 | * value: "FromPreviousStep" 37 | * @const 38 | */ 39 | "fromPreviousStep": "FromPreviousStep" }; 40 | 41 | /** 42 | * Returns a ESignDocumentTypesFromPreviousStep enum value from a Javascript object name. 43 | * @param {Object} data The plain JavaScript object containing the name of the enum value. 44 | * @return {module:model/ESignDocumentTypesFromPreviousStep} The enum ESignDocumentTypesFromPreviousStep value. 45 | */ 46 | exports.constructFromObject = function(object) { 47 | return object; 48 | }; 49 | 50 | return exports; 51 | })); 52 | 53 | 54 | -------------------------------------------------------------------------------- /src/model/DSWorkflowStepTypesDSTransformation.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.DSWorkflowStepTypesDSTransformation = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | /** 30 | * Enum class DSWorkflowStepTypesDSTransformation. 31 | * @enum {} 32 | * @readonly 33 | */ 34 | var exports = { 35 | /** 36 | * value: "DS-Transformation" 37 | * @const 38 | */ 39 | "dSTransformation": "DS-Transformation" }; 40 | 41 | /** 42 | * Returns a DSWorkflowStepTypesDSTransformation enum value from a Javascript object name. 43 | * @param {Object} data The plain JavaScript object containing the name of the enum value. 44 | * @return {module:model/DSWorkflowStepTypesDSTransformation} The enum DSWorkflowStepTypesDSTransformation value. 45 | */ 46 | exports.constructFromObject = function(object) { 47 | return object; 48 | }; 49 | 50 | return exports; 51 | })); 52 | 53 | 54 | -------------------------------------------------------------------------------- /src/model/DSWorkflowVariableSourceTypesParticipant.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.DSWorkflowVariableSourceTypesParticipant = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | /** 30 | * Enum class DSWorkflowVariableSourceTypesParticipant. 31 | * @enum {} 32 | * @readonly 33 | */ 34 | var exports = { 35 | /** 36 | * value: "participant" 37 | * @const 38 | */ 39 | "participant": "participant" }; 40 | 41 | /** 42 | * Returns a DSWorkflowVariableSourceTypesParticipant enum value from a Javascript object name. 43 | * @param {Object} data The plain JavaScript object containing the name of the enum value. 44 | * @return {module:model/DSWorkflowVariableSourceTypesParticipant} The enum DSWorkflowVariableSourceTypesParticipant value. 45 | */ 46 | exports.constructFromObject = function(object) { 47 | return object; 48 | }; 49 | 50 | return exports; 51 | })); 52 | 53 | 54 | -------------------------------------------------------------------------------- /src/model/DSWorkflowLogicalOperatorTypes.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.DSWorkflowLogicalOperatorTypes = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | /** 30 | * Enum class DSWorkflowLogicalOperatorTypes. 31 | * @enum {} 32 | * @readonly 33 | */ 34 | var exports = { 35 | /** 36 | * value: "And" 37 | * @const 38 | */ 39 | "and": "And", 40 | /** 41 | * value: "Or" 42 | * @const 43 | */ 44 | "or": "Or" }; 45 | 46 | /** 47 | * Returns a DSWorkflowLogicalOperatorTypes enum value from a Javascript object name. 48 | * @param {Object} data The plain JavaScript object containing the name of the enum value. 49 | * @return {module:model/DSWorkflowLogicalOperatorTypes} The enum DSWorkflowLogicalOperatorTypes value. 50 | */ 51 | exports.constructFromObject = function(object) { 52 | return object; 53 | }; 54 | 55 | return exports; 56 | })); 57 | 58 | 59 | -------------------------------------------------------------------------------- /src/model/DSWorkflowDocGenDocOutputFormat.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.DSWorkflowDocGenDocOutputFormat = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | /** 30 | * Enum class DSWorkflowDocGenDocOutputFormat. 31 | * @enum {} 32 | * @readonly 33 | */ 34 | var exports = { 35 | /** 36 | * value: "pdf" 37 | * @const 38 | */ 39 | "pdf": "pdf", 40 | /** 41 | * value: "docx" 42 | * @const 43 | */ 44 | "docx": "docx" }; 45 | 46 | /** 47 | * Returns a DSWorkflowDocGenDocOutputFormat enum value from a Javascript object name. 48 | * @param {Object} data The plain JavaScript object containing the name of the enum value. 49 | * @return {module:model/DSWorkflowDocGenDocOutputFormat} The enum DSWorkflowDocGenDocOutputFormat value. 50 | */ 51 | exports.constructFromObject = function(object) { 52 | return object; 53 | }; 54 | 55 | return exports; 56 | })); 57 | 58 | 59 | -------------------------------------------------------------------------------- /src/model/DSWorkflowExpressionTypesBooleanExpression.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.DSWorkflowExpressionTypesBooleanExpression = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | /** 30 | * Enum class DSWorkflowExpressionTypesBooleanExpression. 31 | * @enum {} 32 | * @readonly 33 | */ 34 | var exports = { 35 | /** 36 | * value: "BooleanExpression" 37 | * @const 38 | */ 39 | "booleanExpression": "BooleanExpression" }; 40 | 41 | /** 42 | * Returns a DSWorkflowExpressionTypesBooleanExpression enum value from a Javascript object name. 43 | * @param {Object} data The plain JavaScript object containing the name of the enum value. 44 | * @return {module:model/DSWorkflowExpressionTypesBooleanExpression} The enum DSWorkflowExpressionTypesBooleanExpression value. 45 | */ 46 | exports.constructFromObject = function(object) { 47 | return object; 48 | }; 49 | 50 | return exports; 51 | })); 52 | 53 | 54 | -------------------------------------------------------------------------------- /src/model/DeployStatus.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.DeployStatus = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | /** 30 | * Enum class DeployStatus. 31 | * @enum {} 32 | * @readonly 33 | */ 34 | var exports = { 35 | /** 36 | * value: "Publish" 37 | * @const 38 | */ 39 | "publish": "Publish", 40 | /** 41 | * value: "UnPublish" 42 | * @const 43 | */ 44 | "unPublish": "UnPublish", 45 | /** 46 | * value: "Disable" 47 | * @const 48 | */ 49 | "disable": "Disable" }; 50 | 51 | /** 52 | * Returns a DeployStatus enum value from a Javascript object name. 53 | * @param {Object} data The plain JavaScript object containing the name of the enum value. 54 | * @return {module:model/DeployStatus} The enum DeployStatus value. 55 | */ 56 | exports.constructFromObject = function(object) { 57 | return object; 58 | }; 59 | 60 | return exports; 61 | })); 62 | 63 | 64 | -------------------------------------------------------------------------------- /src/model/DSWorkflowExpressionTypesParallelExpression.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.DSWorkflowExpressionTypesParallelExpression = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | /** 30 | * Enum class DSWorkflowExpressionTypesParallelExpression. 31 | * @enum {} 32 | * @readonly 33 | */ 34 | var exports = { 35 | /** 36 | * value: "ParallelExpression" 37 | * @const 38 | */ 39 | "parallelExpression": "ParallelExpression" }; 40 | 41 | /** 42 | * Returns a DSWorkflowExpressionTypesParallelExpression enum value from a Javascript object name. 43 | * @param {Object} data The plain JavaScript object containing the name of the enum value. 44 | * @return {module:model/DSWorkflowExpressionTypesParallelExpression} The enum DSWorkflowExpressionTypesParallelExpression value. 45 | */ 46 | exports.constructFromObject = function(object) { 47 | return object; 48 | }; 49 | 50 | return exports; 51 | })); 52 | 53 | 54 | -------------------------------------------------------------------------------- /src/model/DSWorkflowExpressionTypesComparisonExpression.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.DSWorkflowExpressionTypesComparisonExpression = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | /** 30 | * Enum class DSWorkflowExpressionTypesComparisonExpression. 31 | * @enum {} 32 | * @readonly 33 | */ 34 | var exports = { 35 | /** 36 | * value: "ComparisonExpression" 37 | * @const 38 | */ 39 | "comparisonExpression": "ComparisonExpression" }; 40 | 41 | /** 42 | * Returns a DSWorkflowExpressionTypesComparisonExpression enum value from a Javascript object name. 43 | * @param {Object} data The plain JavaScript object containing the name of the enum value. 44 | * @return {module:model/DSWorkflowExpressionTypesComparisonExpression} The enum DSWorkflowExpressionTypesComparisonExpression value. 45 | */ 46 | exports.constructFromObject = function(object) { 47 | return object; 48 | }; 49 | 50 | return exports; 51 | })); 52 | 53 | 54 | -------------------------------------------------------------------------------- /src/model/HttpTypes.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.HttpTypes = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | /** 30 | * Enum class HttpTypes. 31 | * @enum {} 32 | * @readonly 33 | */ 34 | var exports = { 35 | /** 36 | * value: "Get" 37 | * @const 38 | */ 39 | "get": "Get", 40 | /** 41 | * value: "Post" 42 | * @const 43 | */ 44 | "post": "Post", 45 | /** 46 | * value: "Put" 47 | * @const 48 | */ 49 | "put": "Put", 50 | /** 51 | * value: "Delete" 52 | * @const 53 | */ 54 | "_delete": "Delete" }; 55 | 56 | /** 57 | * Returns a HttpTypes enum value from a Javascript object name. 58 | * @param {Object} data The plain JavaScript object containing the name of the enum value. 59 | * @return {module:model/HttpTypes} The enum HttpTypes value. 60 | */ 61 | exports.constructFromObject = function(object) { 62 | return object; 63 | }; 64 | 65 | return exports; 66 | })); 67 | 68 | 69 | -------------------------------------------------------------------------------- /src/model/AccessTokenTokenTypes.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.AccessTokenTokenTypes = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | /** 30 | * Enum class AccessTokenTokenTypes. 31 | * @enum {} 32 | * @readonly 33 | */ 34 | var exports = { 35 | /** 36 | * value: "Bearer" 37 | * @const 38 | */ 39 | "bearer": "Bearer", 40 | /** 41 | * value: "Application" 42 | * @const 43 | */ 44 | "application": "Application", 45 | /** 46 | * value: "Resource" 47 | * @const 48 | */ 49 | "resource": "Resource" }; 50 | 51 | /** 52 | * Returns a AccessTokenTokenTypes enum value from a Javascript object name. 53 | * @param {Object} data The plain JavaScript object containing the name of the enum value. 54 | * @return {module:model/AccessTokenTokenTypes} The enum AccessTokenTokenTypes value. 55 | */ 56 | exports.constructFromObject = function(object) { 57 | return object; 58 | }; 59 | 60 | return exports; 61 | })); 62 | 63 | 64 | -------------------------------------------------------------------------------- /src/model/DSWorkflowTransformationExpressionTypesConcatExpression.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.DSWorkflowTransformationExpressionTypesConcatExpression = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | /** 30 | * Enum class DSWorkflowTransformationExpressionTypesConcatExpression. 31 | * @enum {} 32 | * @readonly 33 | */ 34 | var exports = { 35 | /** 36 | * value: "ConcatExpression" 37 | * @const 38 | */ 39 | "concatExpression": "ConcatExpression" }; 40 | 41 | /** 42 | * Returns a DSWorkflowTransformationExpressionTypesConcatExpression enum value from a Javascript object name. 43 | * @param {Object} data The plain JavaScript object containing the name of the enum value. 44 | * @return {module:model/DSWorkflowTransformationExpressionTypesConcatExpression} The enum DSWorkflowTransformationExpressionTypesConcatExpression value. 45 | */ 46 | exports.constructFromObject = function(object) { 47 | return object; 48 | }; 49 | 50 | return exports; 51 | })); 52 | 53 | 54 | -------------------------------------------------------------------------------- /src/model/DSWorkflowTransformationExpressionTypesIndexOfExpression.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.DSWorkflowTransformationExpressionTypesIndexOfExpression = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | /** 30 | * Enum class DSWorkflowTransformationExpressionTypesIndexOfExpression. 31 | * @enum {} 32 | * @readonly 33 | */ 34 | var exports = { 35 | /** 36 | * value: "IndexOfExpression" 37 | * @const 38 | */ 39 | "indexOfExpression": "IndexOfExpression" }; 40 | 41 | /** 42 | * Returns a DSWorkflowTransformationExpressionTypesIndexOfExpression enum value from a Javascript object name. 43 | * @param {Object} data The plain JavaScript object containing the name of the enum value. 44 | * @return {module:model/DSWorkflowTransformationExpressionTypesIndexOfExpression} The enum DSWorkflowTransformationExpressionTypesIndexOfExpression value. 45 | */ 46 | exports.constructFromObject = function(object) { 47 | return object; 48 | }; 49 | 50 | return exports; 51 | })); 52 | 53 | 54 | -------------------------------------------------------------------------------- /src/model/DSWorkflowTransformationExpressionTypesReplaceExpression.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.DSWorkflowTransformationExpressionTypesReplaceExpression = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | /** 30 | * Enum class DSWorkflowTransformationExpressionTypesReplaceExpression. 31 | * @enum {} 32 | * @readonly 33 | */ 34 | var exports = { 35 | /** 36 | * value: "ReplaceExpression" 37 | * @const 38 | */ 39 | "replaceExpression": "ReplaceExpression" }; 40 | 41 | /** 42 | * Returns a DSWorkflowTransformationExpressionTypesReplaceExpression enum value from a Javascript object name. 43 | * @param {Object} data The plain JavaScript object containing the name of the enum value. 44 | * @return {module:model/DSWorkflowTransformationExpressionTypesReplaceExpression} The enum DSWorkflowTransformationExpressionTypesReplaceExpression value. 45 | */ 46 | exports.constructFromObject = function(object) { 47 | return object; 48 | }; 49 | 50 | return exports; 51 | })); 52 | 53 | 54 | -------------------------------------------------------------------------------- /src/model/DSWorkflowTransformationExpressionTypesToLowerExpression.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.DSWorkflowTransformationExpressionTypesToLowerExpression = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | /** 30 | * Enum class DSWorkflowTransformationExpressionTypesToLowerExpression. 31 | * @enum {} 32 | * @readonly 33 | */ 34 | var exports = { 35 | /** 36 | * value: "ToLowerExpression" 37 | * @const 38 | */ 39 | "toLowerExpression": "ToLowerExpression" }; 40 | 41 | /** 42 | * Returns a DSWorkflowTransformationExpressionTypesToLowerExpression enum value from a Javascript object name. 43 | * @param {Object} data The plain JavaScript object containing the name of the enum value. 44 | * @return {module:model/DSWorkflowTransformationExpressionTypesToLowerExpression} The enum DSWorkflowTransformationExpressionTypesToLowerExpression value. 45 | */ 46 | exports.constructFromObject = function(object) { 47 | return object; 48 | }; 49 | 50 | return exports; 51 | })); 52 | 53 | 54 | -------------------------------------------------------------------------------- /src/model/DSWorkflowTransformationExpressionTypesToUpperExpression.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.DSWorkflowTransformationExpressionTypesToUpperExpression = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | /** 30 | * Enum class DSWorkflowTransformationExpressionTypesToUpperExpression. 31 | * @enum {} 32 | * @readonly 33 | */ 34 | var exports = { 35 | /** 36 | * value: "ToUpperExpression" 37 | * @const 38 | */ 39 | "toUpperExpression": "ToUpperExpression" }; 40 | 41 | /** 42 | * Returns a DSWorkflowTransformationExpressionTypesToUpperExpression enum value from a Javascript object name. 43 | * @param {Object} data The plain JavaScript object containing the name of the enum value. 44 | * @return {module:model/DSWorkflowTransformationExpressionTypesToUpperExpression} The enum DSWorkflowTransformationExpressionTypesToUpperExpression value. 45 | */ 46 | exports.constructFromObject = function(object) { 47 | return object; 48 | }; 49 | 50 | return exports; 51 | })); 52 | 53 | 54 | -------------------------------------------------------------------------------- /src/model/DSWorkflowTransformationExpressionTypesSubstringExpression.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.DSWorkflowTransformationExpressionTypesSubstringExpression = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | /** 30 | * Enum class DSWorkflowTransformationExpressionTypesSubstringExpression. 31 | * @enum {} 32 | * @readonly 33 | */ 34 | var exports = { 35 | /** 36 | * value: "SubstringExpression" 37 | * @const 38 | */ 39 | "substringExpression": "SubstringExpression" }; 40 | 41 | /** 42 | * Returns a DSWorkflowTransformationExpressionTypesSubstringExpression enum value from a Javascript object name. 43 | * @param {Object} data The plain JavaScript object containing the name of the enum value. 44 | * @return {module:model/DSWorkflowTransformationExpressionTypesSubstringExpression} The enum DSWorkflowTransformationExpressionTypesSubstringExpression value. 45 | */ 46 | exports.constructFromObject = function(object) { 47 | return object; 48 | }; 49 | 50 | return exports; 51 | })); 52 | 53 | 54 | -------------------------------------------------------------------------------- /src/model/DSWorkflowTransformationExpressionTypesLastIndexOfExpression.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.DSWorkflowTransformationExpressionTypesLastIndexOfExpression = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | /** 30 | * Enum class DSWorkflowTransformationExpressionTypesLastIndexOfExpression. 31 | * @enum {} 32 | * @readonly 33 | */ 34 | var exports = { 35 | /** 36 | * value: "LastIndexOfExpression" 37 | * @const 38 | */ 39 | "lastIndexOfExpression": "LastIndexOfExpression" }; 40 | 41 | /** 42 | * Returns a DSWorkflowTransformationExpressionTypesLastIndexOfExpression enum value from a Javascript object name. 43 | * @param {Object} data The plain JavaScript object containing the name of the enum value. 44 | * @return {module:model/DSWorkflowTransformationExpressionTypesLastIndexOfExpression} The enum DSWorkflowTransformationExpressionTypesLastIndexOfExpression value. 45 | */ 46 | exports.constructFromObject = function(object) { 47 | return object; 48 | }; 49 | 50 | return exports; 51 | })); 52 | 53 | 54 | -------------------------------------------------------------------------------- /src/model/ParticipantKeys.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.ParticipantKeys = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | /** 30 | * Enum class ParticipantKeys. 31 | * @enum {} 32 | * @readonly 33 | */ 34 | var exports = { 35 | /** 36 | * value: "participantEmail" 37 | * @const 38 | */ 39 | "participantEmail": "participantEmail", 40 | /** 41 | * value: "participantFirstName" 42 | * @const 43 | */ 44 | "participantFirstName": "participantFirstName", 45 | /** 46 | * value: "participantLastName" 47 | * @const 48 | */ 49 | "participantLastName": "participantLastName" }; 50 | 51 | /** 52 | * Returns a ParticipantKeys enum value from a Javascript object name. 53 | * @param {Object} data The plain JavaScript object containing the name of the enum value. 54 | * @return {module:model/ParticipantKeys} The enum ParticipantKeys value. 55 | */ 56 | exports.constructFromObject = function(object) { 57 | return object; 58 | }; 59 | 60 | return exports; 61 | })); 62 | 63 | 64 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "docusign-maestro", 3 | "version": "2.0.0", 4 | "description": "⚠️ Deprecated – Maestro is now available as part of the new IAM SDK: https://developers.docusign.com/docs/sdks/", 5 | "license": "MIT", 6 | "main": "src/index.js", 7 | "author": "DocuSign Developer Center ", 8 | "contributors": [ 9 | "https://github.com/docusign/docusign-node-client/contributors" 10 | ], 11 | "files": [ 12 | "src" 13 | ], 14 | "keywords": [ 15 | "docusign", 16 | "signature", 17 | "esignature", 18 | "esign", 19 | "digital", 20 | "electronic", 21 | "transaction", 22 | "document", 23 | "certificate", 24 | "DTM", 25 | "PDF" 26 | ], 27 | "engines": { 28 | "node": ">=2.2.1" 29 | }, 30 | "repository": { 31 | "type": "git", 32 | "url": "https://github.com/docusign/docusign-node-client.git" 33 | }, 34 | "scripts": { 35 | "docs": "npm run update-docs && git add docs/ && git commit -m 'update docs' && npm run push-docs", 36 | "push-docs": "git subtree push --prefix docs origin gh-pages", 37 | "update-docs": "./node_modules/.bin/jsdoc -c .jsdoc.json", 38 | "check-config": "./scripts/check-config.js", 39 | "test": "semistandard --fix && ./node_modules/mocha/bin/mocha --reporter mocha-junit-reporter --timeout 60000" 40 | }, 41 | "semistandard": { 42 | "globals": [ 43 | "before", 44 | "describe", 45 | "it" 46 | ], 47 | "ignore": [ 48 | "/src", 49 | "/docs", 50 | "/scripts" 51 | ] 52 | }, 53 | "dependencies": { 54 | "axios": "^1.6.8", 55 | "@devhigley/parse-proxy":"^1.0.3", 56 | "csv-stringify": "^1.0.0", 57 | "jsonwebtoken": "^9.0.0", 58 | "passport-oauth2": "^1.6.1", 59 | "safe-buffer": "^5.1.2" 60 | }, 61 | "devDependencies": { 62 | "docdash": "0.4.0", 63 | "expect.js": "~0.3.1", 64 | "jsdoc": "3.6.10", 65 | "mocha": "~5.0.4", 66 | "mocha-junit-reporter": "^1.18.0", 67 | "pdf-parse-fork": "^1.2.0", 68 | "semistandard": "^12.0.1" 69 | } 70 | } 71 | -------------------------------------------------------------------------------- /src/model/AowUUID.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.AowUUID = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | 30 | /** 31 | * The AowUUID model module. 32 | * @module model/AowUUID 33 | */ 34 | 35 | /** 36 | * Constructs a new AowUUID. 37 | * @alias module:model/AowUUID 38 | * @class 39 | */ 40 | var exports = function() { 41 | var _this = this; 42 | 43 | 44 | }; 45 | 46 | /** 47 | * Constructs a AowUUID from a plain JavaScript object, optionally creating a new instance. 48 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 49 | * @param {Object} data The plain JavaScript object bearing properties of interest. 50 | * @param {module:model/AowUUID} obj Optional instance to populate. 51 | * @return {module:model/AowUUID} The populated AowUUID instance. 52 | */ 53 | exports.constructFromObject = function(data, obj) { 54 | if (data) { 55 | obj = obj || new exports(); 56 | 57 | } 58 | return obj; 59 | } 60 | 61 | 62 | 63 | 64 | return exports; 65 | })); 66 | 67 | 68 | -------------------------------------------------------------------------------- /src/model/UserId.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.UserId = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | 30 | /** 31 | * The UserId model module. 32 | * @module model/UserId 33 | */ 34 | 35 | /** 36 | * Constructs a new UserId. 37 | * Participant User ID 38 | * @alias module:model/UserId 39 | * @class 40 | */ 41 | var exports = function() { 42 | var _this = this; 43 | 44 | 45 | }; 46 | 47 | /** 48 | * Constructs a UserId from a plain JavaScript object, optionally creating a new instance. 49 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 50 | * @param {Object} data The plain JavaScript object bearing properties of interest. 51 | * @param {module:model/UserId} obj Optional instance to populate. 52 | * @return {module:model/UserId} The populated UserId instance. 53 | */ 54 | exports.constructFromObject = function(data, obj) { 55 | if (data) { 56 | obj = obj || new exports(); 57 | 58 | } 59 | return obj; 60 | } 61 | 62 | 63 | 64 | 65 | return exports; 66 | })); 67 | 68 | 69 | -------------------------------------------------------------------------------- /src/model/WorkflowStepHistoryState.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.WorkflowStepHistoryState = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | /** 30 | * Enum class WorkflowStepHistoryState. 31 | * @enum {} 32 | * @readonly 33 | */ 34 | var exports = { 35 | /** 36 | * value: "In Progress" 37 | * @const 38 | */ 39 | "inProgress": "In Progress", 40 | /** 41 | * value: "Completed" 42 | * @const 43 | */ 44 | "completed": "Completed", 45 | /** 46 | * value: "Failed" 47 | * @const 48 | */ 49 | "failed": "Failed", 50 | /** 51 | * value: "Canceled" 52 | * @const 53 | */ 54 | "canceled": "Canceled" }; 55 | 56 | /** 57 | * Returns a WorkflowStepHistoryState enum value from a Javascript object name. 58 | * @param {Object} data The plain JavaScript object containing the name of the enum value. 59 | * @return {module:model/WorkflowStepHistoryState} The enum WorkflowStepHistoryState value. 60 | */ 61 | exports.constructFromObject = function(object) { 62 | return object; 63 | }; 64 | 65 | return exports; 66 | })); 67 | 68 | 69 | -------------------------------------------------------------------------------- /src/model/DsStepId.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.DsStepId = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | 30 | /** 31 | * The DsStepId model module. 32 | * @module model/DsStepId 33 | */ 34 | 35 | /** 36 | * Constructs a new DsStepId. 37 | * DS Step Id 38 | * @alias module:model/DsStepId 39 | * @class 40 | */ 41 | var exports = function() { 42 | var _this = this; 43 | 44 | 45 | }; 46 | 47 | /** 48 | * Constructs a DsStepId from a plain JavaScript object, optionally creating a new instance. 49 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 50 | * @param {Object} data The plain JavaScript object bearing properties of interest. 51 | * @param {module:model/DsStepId} obj Optional instance to populate. 52 | * @return {module:model/DsStepId} The populated DsStepId instance. 53 | */ 54 | exports.constructFromObject = function(data, obj) { 55 | if (data) { 56 | obj = obj || new exports(); 57 | 58 | } 59 | return obj; 60 | } 61 | 62 | 63 | 64 | 65 | return exports; 66 | })); 67 | 68 | 69 | -------------------------------------------------------------------------------- /src/model/AccountId.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.AccountId = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | 30 | /** 31 | * The AccountId model module. 32 | * @module model/AccountId 33 | */ 34 | 35 | /** 36 | * Constructs a new AccountId. 37 | * Account Id 38 | * @alias module:model/AccountId 39 | * @class 40 | */ 41 | var exports = function() { 42 | var _this = this; 43 | 44 | 45 | }; 46 | 47 | /** 48 | * Constructs a AccountId from a plain JavaScript object, optionally creating a new instance. 49 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 50 | * @param {Object} data The plain JavaScript object bearing properties of interest. 51 | * @param {module:model/AccountId} obj Optional instance to populate. 52 | * @return {module:model/AccountId} The populated AccountId instance. 53 | */ 54 | exports.constructFromObject = function(data, obj) { 55 | if (data) { 56 | obj = obj || new exports(); 57 | 58 | } 59 | return obj; 60 | } 61 | 62 | 63 | 64 | 65 | return exports; 66 | })); 67 | 68 | 69 | -------------------------------------------------------------------------------- /src/model/AowUUIDString.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.AowUUIDString = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | 30 | /** 31 | * The AowUUIDString model module. 32 | * @module model/AowUUIDString 33 | */ 34 | 35 | /** 36 | * Constructs a new AowUUIDString. 37 | * @alias module:model/AowUUIDString 38 | * @class 39 | */ 40 | var exports = function() { 41 | var _this = this; 42 | 43 | 44 | }; 45 | 46 | /** 47 | * Constructs a AowUUIDString from a plain JavaScript object, optionally creating a new instance. 48 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 49 | * @param {Object} data The plain JavaScript object bearing properties of interest. 50 | * @param {module:model/AowUUIDString} obj Optional instance to populate. 51 | * @return {module:model/AowUUIDString} The populated AowUUIDString instance. 52 | */ 53 | exports.constructFromObject = function(data, obj) { 54 | if (data) { 55 | obj = obj || new exports(); 56 | 57 | } 58 | return obj; 59 | } 60 | 61 | 62 | 63 | 64 | return exports; 65 | })); 66 | 67 | 68 | -------------------------------------------------------------------------------- /src/model/RecordToNever.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.RecordToNever = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | 30 | /** 31 | * The RecordToNever model module. 32 | * @module model/RecordToNever 33 | */ 34 | 35 | /** 36 | * Constructs a new RecordToNever. 37 | * @alias module:model/RecordToNever 38 | * @class 39 | */ 40 | var exports = function() { 41 | var _this = this; 42 | 43 | 44 | }; 45 | 46 | /** 47 | * Constructs a RecordToNever from a plain JavaScript object, optionally creating a new instance. 48 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 49 | * @param {Object} data The plain JavaScript object bearing properties of interest. 50 | * @param {module:model/RecordToNever} obj Optional instance to populate. 51 | * @return {module:model/RecordToNever} The populated RecordToNever instance. 52 | */ 53 | exports.constructFromObject = function(data, obj) { 54 | if (data) { 55 | obj = obj || new exports(); 56 | 57 | } 58 | return obj; 59 | } 60 | 61 | 62 | 63 | 64 | return exports; 65 | })); 66 | 67 | 68 | -------------------------------------------------------------------------------- /src/model/TemplateId.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.TemplateId = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | 30 | /** 31 | * The TemplateId model module. 32 | * @module model/TemplateId 33 | */ 34 | 35 | /** 36 | * Constructs a new TemplateId. 37 | * Workflow Definition Id 38 | * @alias module:model/TemplateId 39 | * @class 40 | */ 41 | var exports = function() { 42 | var _this = this; 43 | 44 | 45 | }; 46 | 47 | /** 48 | * Constructs a TemplateId from a plain JavaScript object, optionally creating a new instance. 49 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 50 | * @param {Object} data The plain JavaScript object bearing properties of interest. 51 | * @param {module:model/TemplateId} obj Optional instance to populate. 52 | * @return {module:model/TemplateId} The populated TemplateId instance. 53 | */ 54 | exports.constructFromObject = function(data, obj) { 55 | if (data) { 56 | obj = obj || new exports(); 57 | 58 | } 59 | return obj; 60 | } 61 | 62 | 63 | 64 | 65 | return exports; 66 | })); 67 | 68 | 69 | -------------------------------------------------------------------------------- /src/model/VersionString.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.VersionString = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | 30 | /** 31 | * The VersionString model module. 32 | * @module model/VersionString 33 | */ 34 | 35 | /** 36 | * Constructs a new VersionString. 37 | * @alias module:model/VersionString 38 | * @class 39 | */ 40 | var exports = function() { 41 | var _this = this; 42 | 43 | 44 | }; 45 | 46 | /** 47 | * Constructs a VersionString from a plain JavaScript object, optionally creating a new instance. 48 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 49 | * @param {Object} data The plain JavaScript object bearing properties of interest. 50 | * @param {module:model/VersionString} obj Optional instance to populate. 51 | * @return {module:model/VersionString} The populated VersionString instance. 52 | */ 53 | exports.constructFromObject = function(data, obj) { 54 | if (data) { 55 | obj = obj || new exports(); 56 | 57 | } 58 | return obj; 59 | } 60 | 61 | 62 | 63 | 64 | return exports; 65 | })); 66 | 67 | 68 | -------------------------------------------------------------------------------- /src/model/LastDeployedId.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.LastDeployedId = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | 30 | /** 31 | * The LastDeployedId model module. 32 | * @module model/LastDeployedId 33 | */ 34 | 35 | /** 36 | * Constructs a new LastDeployedId. 37 | * @alias module:model/LastDeployedId 38 | * @class 39 | */ 40 | var exports = function() { 41 | var _this = this; 42 | 43 | 44 | }; 45 | 46 | /** 47 | * Constructs a LastDeployedId from a plain JavaScript object, optionally creating a new instance. 48 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 49 | * @param {Object} data The plain JavaScript object bearing properties of interest. 50 | * @param {module:model/LastDeployedId} obj Optional instance to populate. 51 | * @return {module:model/LastDeployedId} The populated LastDeployedId instance. 52 | */ 53 | exports.constructFromObject = function(data, obj) { 54 | if (data) { 55 | obj = obj || new exports(); 56 | 57 | } 58 | return obj; 59 | } 60 | 61 | 62 | 63 | 64 | return exports; 65 | })); 66 | 67 | 68 | -------------------------------------------------------------------------------- /src/model/WorkflowDateTime.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.WorkflowDateTime = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | 30 | /** 31 | * The WorkflowDateTime model module. 32 | * @module model/WorkflowDateTime 33 | */ 34 | 35 | /** 36 | * Constructs a new WorkflowDateTime. 37 | * @alias module:model/WorkflowDateTime 38 | * @class 39 | */ 40 | var exports = function() { 41 | var _this = this; 42 | 43 | 44 | }; 45 | 46 | /** 47 | * Constructs a WorkflowDateTime from a plain JavaScript object, optionally creating a new instance. 48 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 49 | * @param {Object} data The plain JavaScript object bearing properties of interest. 50 | * @param {module:model/WorkflowDateTime} obj Optional instance to populate. 51 | * @return {module:model/WorkflowDateTime} The populated WorkflowDateTime instance. 52 | */ 53 | exports.constructFromObject = function(data, obj) { 54 | if (data) { 55 | obj = obj || new exports(); 56 | 57 | } 58 | return obj; 59 | } 60 | 61 | 62 | 63 | 64 | return exports; 65 | })); 66 | 67 | 68 | -------------------------------------------------------------------------------- /src/model/WorkflowInstanceState.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.WorkflowInstanceState = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | /** 30 | * Enum class WorkflowInstanceState. 31 | * @enum {} 32 | * @readonly 33 | */ 34 | var exports = { 35 | /** 36 | * value: "Created" 37 | * @const 38 | */ 39 | "created": "Created", 40 | /** 41 | * value: "In Progress" 42 | * @const 43 | */ 44 | "inProgress": "In Progress", 45 | /** 46 | * value: "Completed" 47 | * @const 48 | */ 49 | "completed": "Completed", 50 | /** 51 | * value: "Failed" 52 | * @const 53 | */ 54 | "failed": "Failed", 55 | /** 56 | * value: "Canceled" 57 | * @const 58 | */ 59 | "canceled": "Canceled" }; 60 | 61 | /** 62 | * Returns a WorkflowInstanceState enum value from a Javascript object name. 63 | * @param {Object} data The plain JavaScript object containing the name of the enum value. 64 | * @return {module:model/WorkflowInstanceState} The enum WorkflowInstanceState value. 65 | */ 66 | exports.constructFromObject = function(object) { 67 | return object; 68 | }; 69 | 70 | return exports; 71 | })); 72 | 73 | 74 | -------------------------------------------------------------------------------- /src/model/DSWorkflowVariable.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.DSWorkflowVariable = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | 30 | /** 31 | * The DSWorkflowVariable model module. 32 | * @module model/DSWorkflowVariable 33 | */ 34 | 35 | /** 36 | * Constructs a new DSWorkflowVariable. 37 | * DS Workflow Variables 38 | * @alias module:model/DSWorkflowVariable 39 | * @class 40 | */ 41 | var exports = function() { 42 | var _this = this; 43 | 44 | 45 | }; 46 | 47 | /** 48 | * Constructs a DSWorkflowVariable from a plain JavaScript object, optionally creating a new instance. 49 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 50 | * @param {Object} data The plain JavaScript object bearing properties of interest. 51 | * @param {module:model/DSWorkflowVariable} obj Optional instance to populate. 52 | * @return {module:model/DSWorkflowVariable} The populated DSWorkflowVariable instance. 53 | */ 54 | exports.constructFromObject = function(data, obj) { 55 | if (data) { 56 | obj = obj || new exports(); 57 | 58 | } 59 | return obj; 60 | } 61 | 62 | 63 | 64 | 65 | return exports; 66 | })); 67 | 68 | 69 | -------------------------------------------------------------------------------- /src/model/WorkflowInstanceId.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.WorkflowInstanceId = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | 30 | /** 31 | * The WorkflowInstanceId model module. 32 | * @module model/WorkflowInstanceId 33 | */ 34 | 35 | /** 36 | * Constructs a new WorkflowInstanceId. 37 | * Workflow Instance Id 38 | * @alias module:model/WorkflowInstanceId 39 | * @class 40 | */ 41 | var exports = function() { 42 | var _this = this; 43 | 44 | 45 | }; 46 | 47 | /** 48 | * Constructs a WorkflowInstanceId from a plain JavaScript object, optionally creating a new instance. 49 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 50 | * @param {Object} data The plain JavaScript object bearing properties of interest. 51 | * @param {module:model/WorkflowInstanceId} obj Optional instance to populate. 52 | * @return {module:model/WorkflowInstanceId} The populated WorkflowInstanceId instance. 53 | */ 54 | exports.constructFromObject = function(data, obj) { 55 | if (data) { 56 | obj = obj || new exports(); 57 | 58 | } 59 | return obj; 60 | } 61 | 62 | 63 | 64 | 65 | return exports; 66 | })); 67 | 68 | 69 | -------------------------------------------------------------------------------- /src/model/WorkflowCreatorId.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.WorkflowCreatorId = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | 30 | /** 31 | * The WorkflowCreatorId model module. 32 | * @module model/WorkflowCreatorId 33 | */ 34 | 35 | /** 36 | * Constructs a new WorkflowCreatorId. 37 | * The DocuSign Admin user Id who has the ability to create workflow definitions. 38 | * @alias module:model/WorkflowCreatorId 39 | * @class 40 | */ 41 | var exports = function() { 42 | var _this = this; 43 | 44 | 45 | }; 46 | 47 | /** 48 | * Constructs a WorkflowCreatorId from a plain JavaScript object, optionally creating a new instance. 49 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 50 | * @param {Object} data The plain JavaScript object bearing properties of interest. 51 | * @param {module:model/WorkflowCreatorId} obj Optional instance to populate. 52 | * @return {module:model/WorkflowCreatorId} The populated WorkflowCreatorId instance. 53 | */ 54 | exports.constructFromObject = function(data, obj) { 55 | if (data) { 56 | obj = obj || new exports(); 57 | 58 | } 59 | return obj; 60 | } 61 | 62 | 63 | 64 | 65 | return exports; 66 | })); 67 | 68 | 69 | -------------------------------------------------------------------------------- /src/model/ESignLocalePolicy.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.ESignLocalePolicy = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | 30 | /** 31 | * The ESignLocalePolicy model module. 32 | * @module model/ESignLocalePolicy 33 | */ 34 | 35 | /** 36 | * Constructs a new ESignLocalePolicy. 37 | * @alias module:model/ESignLocalePolicy 38 | * @class 39 | * @extends Object 40 | */ 41 | var exports = function() { 42 | var _this = this; 43 | 44 | 45 | 46 | return _this; 47 | }; 48 | 49 | /** 50 | * Constructs a ESignLocalePolicy from a plain JavaScript object, optionally creating a new instance. 51 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 52 | * @param {Object} data The plain JavaScript object bearing properties of interest. 53 | * @param {module:model/ESignLocalePolicy} obj Optional instance to populate. 54 | * @return {module:model/ESignLocalePolicy} The populated ESignLocalePolicy instance. 55 | */ 56 | exports.constructFromObject = function(data, obj) { 57 | if (data) { 58 | obj = obj || new exports(); 59 | ApiClient.constructFromObject(data, obj, 'Object'); 60 | 61 | } 62 | return obj; 63 | } 64 | 65 | 66 | 67 | 68 | return exports; 69 | })); 70 | 71 | 72 | -------------------------------------------------------------------------------- /src/model/WorkflowInstanceMap.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.WorkflowInstanceMap = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | 30 | /** 31 | * The WorkflowInstanceMap model module. 32 | * @module model/WorkflowInstanceMap 33 | */ 34 | 35 | /** 36 | * Constructs a new WorkflowInstanceMap. 37 | * @alias module:model/WorkflowInstanceMap 38 | * @class 39 | * @extends Object 40 | */ 41 | var exports = function() { 42 | var _this = this; 43 | 44 | 45 | 46 | return _this; 47 | }; 48 | 49 | /** 50 | * Constructs a WorkflowInstanceMap from a plain JavaScript object, optionally creating a new instance. 51 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 52 | * @param {Object} data The plain JavaScript object bearing properties of interest. 53 | * @param {module:model/WorkflowInstanceMap} obj Optional instance to populate. 54 | * @return {module:model/WorkflowInstanceMap} The populated WorkflowInstanceMap instance. 55 | */ 56 | exports.constructFromObject = function(data, obj) { 57 | if (data) { 58 | obj = obj || new exports(); 59 | ApiClient.constructFromObject(data, obj, 'String'); 60 | 61 | } 62 | return obj; 63 | } 64 | 65 | 66 | 67 | 68 | return exports; 69 | })); 70 | 71 | 72 | -------------------------------------------------------------------------------- /src/model/WorkflowMetadataStatus.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.WorkflowMetadataStatus = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | /** 30 | * Enum class WorkflowMetadataStatus. 31 | * @enum {} 32 | * @readonly 33 | */ 34 | var exports = { 35 | /** 36 | * value: "active" 37 | * @const 38 | */ 39 | "active": "active", 40 | /** 41 | * value: "inactive" 42 | * @const 43 | */ 44 | "inactive": "inactive", 45 | /** 46 | * value: "publishing" 47 | * @const 48 | */ 49 | "publishing": "publishing", 50 | /** 51 | * value: "unpublishing" 52 | * @const 53 | */ 54 | "unpublishing": "unpublishing", 55 | /** 56 | * value: "archived" 57 | * @const 58 | */ 59 | "archived": "archived", 60 | /** 61 | * value: "archiving" 62 | * @const 63 | */ 64 | "archiving": "archiving" }; 65 | 66 | /** 67 | * Returns a WorkflowMetadataStatus enum value from a Javascript object name. 68 | * @param {Object} data The plain JavaScript object containing the name of the enum value. 69 | * @return {module:model/WorkflowMetadataStatus} The enum WorkflowMetadataStatus value. 70 | */ 71 | exports.constructFromObject = function(object) { 72 | return object; 73 | }; 74 | 75 | return exports; 76 | })); 77 | 78 | 79 | -------------------------------------------------------------------------------- /src/model/RecordStringBoolean.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.RecordStringBoolean = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | 30 | /** 31 | * The RecordStringBoolean model module. 32 | * @module model/RecordStringBoolean 33 | */ 34 | 35 | /** 36 | * Constructs a new RecordStringBoolean. 37 | * @alias module:model/RecordStringBoolean 38 | * @class 39 | * @extends Object 40 | */ 41 | var exports = function() { 42 | var _this = this; 43 | 44 | 45 | 46 | return _this; 47 | }; 48 | 49 | /** 50 | * Constructs a RecordStringBoolean from a plain JavaScript object, optionally creating a new instance. 51 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 52 | * @param {Object} data The plain JavaScript object bearing properties of interest. 53 | * @param {module:model/RecordStringBoolean} obj Optional instance to populate. 54 | * @return {module:model/RecordStringBoolean} The populated RecordStringBoolean instance. 55 | */ 56 | exports.constructFromObject = function(data, obj) { 57 | if (data) { 58 | obj = obj || new exports(); 59 | ApiClient.constructFromObject(data, obj, 'Boolean'); 60 | 61 | } 62 | return obj; 63 | } 64 | 65 | 66 | 67 | 68 | return exports; 69 | })); 70 | 71 | 72 | -------------------------------------------------------------------------------- /src/model/ESignDocuments.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.ESignDocuments = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | 30 | /** 31 | * The ESignDocuments model module. 32 | * @module model/ESignDocuments 33 | */ 34 | 35 | /** 36 | * Constructs a new ESignDocuments. 37 | * ESignDocument Object. This object should be any of the following object models: [#/definitions/ESignDocumentFromPreviousStep, #/definitions/ESignDocumentFromESignTemplate] 38 | * @alias module:model/ESignDocuments 39 | * @class 40 | */ 41 | var exports = function() { 42 | var _this = this; 43 | 44 | 45 | }; 46 | 47 | /** 48 | * Constructs a ESignDocuments from a plain JavaScript object, optionally creating a new instance. 49 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 50 | * @param {Object} data The plain JavaScript object bearing properties of interest. 51 | * @param {module:model/ESignDocuments} obj Optional instance to populate. 52 | * @return {module:model/ESignDocuments} The populated ESignDocuments instance. 53 | */ 54 | exports.constructFromObject = function(data, obj) { 55 | if (data) { 56 | obj = obj || new exports(); 57 | 58 | } 59 | return obj; 60 | } 61 | 62 | 63 | 64 | 65 | return exports; 66 | })); 67 | 68 | 69 | -------------------------------------------------------------------------------- /src/model/NumberOrVariable.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.NumberOrVariable = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | 30 | /** 31 | * The NumberOrVariable model module. 32 | * @module model/NumberOrVariable 33 | */ 34 | 35 | /** 36 | * Constructs a new NumberOrVariable. 37 | * Object stands for a number or a Variable. This object should be any of the following object models or types: [number, #/definitions/DSWorkflowVariable] 38 | * @alias module:model/NumberOrVariable 39 | * @class 40 | */ 41 | var exports = function() { 42 | var _this = this; 43 | 44 | 45 | }; 46 | 47 | /** 48 | * Constructs a NumberOrVariable from a plain JavaScript object, optionally creating a new instance. 49 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 50 | * @param {Object} data The plain JavaScript object bearing properties of interest. 51 | * @param {module:model/NumberOrVariable} obj Optional instance to populate. 52 | * @return {module:model/NumberOrVariable} The populated NumberOrVariable instance. 53 | */ 54 | exports.constructFromObject = function(data, obj) { 55 | if (data) { 56 | obj = obj || new exports(); 57 | 58 | } 59 | return obj; 60 | } 61 | 62 | 63 | 64 | 65 | return exports; 66 | })); 67 | 68 | 69 | -------------------------------------------------------------------------------- /src/model/DSServiceStep.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.DSServiceStep = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | 30 | /** 31 | * The DSServiceStep model module. 32 | * @module model/DSServiceStep 33 | */ 34 | 35 | /** 36 | * Constructs a new DSServiceStep. 37 | * A DS Workflow Service Step. This object should be any of the following object models: [#/definitions/DSWebFormsStep, #/definitions/DSIdvStep, #/definitions/DSDocGenStep, #/definitions/DSSignStep] 38 | * @alias module:model/DSServiceStep 39 | * @class 40 | */ 41 | var exports = function() { 42 | var _this = this; 43 | 44 | 45 | }; 46 | 47 | /** 48 | * Constructs a DSServiceStep from a plain JavaScript object, optionally creating a new instance. 49 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 50 | * @param {Object} data The plain JavaScript object bearing properties of interest. 51 | * @param {module:model/DSServiceStep} obj Optional instance to populate. 52 | * @return {module:model/DSServiceStep} The populated DSServiceStep instance. 53 | */ 54 | exports.constructFromObject = function(data, obj) { 55 | if (data) { 56 | obj = obj || new exports(); 57 | 58 | } 59 | return obj; 60 | } 61 | 62 | 63 | 64 | 65 | return exports; 66 | })); 67 | 68 | 69 | -------------------------------------------------------------------------------- /src/model/DSWorkflowStep.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.DSWorkflowStep = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | 30 | /** 31 | * The DSWorkflowStep model module. 32 | * @module model/DSWorkflowStep 33 | */ 34 | 35 | /** 36 | * Constructs a new DSWorkflowStep. 37 | * A DS Workflow Step. This object should be any of the following object models: [#/definitions/DSServiceStep, #/definitions/DSTransformationStep, #/definitions/DSDocGenStep, #/definitions/DSSignStep] 38 | * @alias module:model/DSWorkflowStep 39 | * @class 40 | */ 41 | var exports = function() { 42 | var _this = this; 43 | 44 | 45 | }; 46 | 47 | /** 48 | * Constructs a DSWorkflowStep from a plain JavaScript object, optionally creating a new instance. 49 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 50 | * @param {Object} data The plain JavaScript object bearing properties of interest. 51 | * @param {module:model/DSWorkflowStep} obj Optional instance to populate. 52 | * @return {module:model/DSWorkflowStep} The populated DSWorkflowStep instance. 53 | */ 54 | exports.constructFromObject = function(data, obj) { 55 | if (data) { 56 | obj = obj || new exports(); 57 | 58 | } 59 | return obj; 60 | } 61 | 62 | 63 | 64 | 65 | return exports; 66 | })); 67 | 68 | 69 | -------------------------------------------------------------------------------- /src/model/DSWorkflowVariableRecord.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.DSWorkflowVariableRecord = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | 30 | /** 31 | * The DSWorkflowVariableRecord model module. 32 | * @module model/DSWorkflowVariableRecord 33 | */ 34 | 35 | /** 36 | * Constructs a new DSWorkflowVariableRecord. 37 | * A DS Workflow variable record 38 | * @alias module:model/DSWorkflowVariableRecord 39 | * @class 40 | * @extends Object 41 | */ 42 | var exports = function() { 43 | var _this = this; 44 | 45 | 46 | 47 | return _this; 48 | }; 49 | 50 | /** 51 | * Constructs a DSWorkflowVariableRecord from a plain JavaScript object, optionally creating a new instance. 52 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 53 | * @param {Object} data The plain JavaScript object bearing properties of interest. 54 | * @param {module:model/DSWorkflowVariableRecord} obj Optional instance to populate. 55 | * @return {module:model/DSWorkflowVariableRecord} The populated DSWorkflowVariableRecord instance. 56 | */ 57 | exports.constructFromObject = function(data, obj) { 58 | if (data) { 59 | obj = obj || new exports(); 60 | ApiClient.constructFromObject(data, obj, 'Object'); 61 | 62 | } 63 | return obj; 64 | } 65 | 66 | 67 | 68 | 69 | return exports; 70 | })); 71 | 72 | 73 | -------------------------------------------------------------------------------- /src/model/DSWorkflowLanesRecord.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient', 'model/DSWorkflowLane'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient'), require('./DSWorkflowLane')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.DSWorkflowLanesRecord = factory(root.Docusign.ApiClient, root.Docusign.DSWorkflowLane); 25 | } 26 | }(this, function(ApiClient, DSWorkflowLane) { 27 | 'use strict'; 28 | 29 | 30 | /** 31 | * The DSWorkflowLanesRecord model module. 32 | * @module model/DSWorkflowLanesRecord 33 | */ 34 | 35 | /** 36 | * Constructs a new DSWorkflowLanesRecord. 37 | * @alias module:model/DSWorkflowLanesRecord 38 | * @class 39 | * @extends Object 40 | */ 41 | var exports = function() { 42 | var _this = this; 43 | 44 | 45 | 46 | return _this; 47 | }; 48 | 49 | /** 50 | * Constructs a DSWorkflowLanesRecord from a plain JavaScript object, optionally creating a new instance. 51 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 52 | * @param {Object} data The plain JavaScript object bearing properties of interest. 53 | * @param {module:model/DSWorkflowLanesRecord} obj Optional instance to populate. 54 | * @return {module:model/DSWorkflowLanesRecord} The populated DSWorkflowLanesRecord instance. 55 | */ 56 | exports.constructFromObject = function(data, obj) { 57 | if (data) { 58 | obj = obj || new exports(); 59 | ApiClient.constructFromObject(data, obj, 'DSWorkflowLane'); 60 | 61 | } 62 | return obj; 63 | } 64 | 65 | 66 | 67 | 68 | return exports; 69 | })); 70 | 71 | 72 | -------------------------------------------------------------------------------- /src/model/DSWorkflowVariableFromParticipant.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.DSWorkflowVariableFromParticipant = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | 30 | /** 31 | * The DSWorkflowVariableFromParticipant model module. 32 | * @module model/DSWorkflowVariableFromParticipant 33 | */ 34 | 35 | /** 36 | * Constructs a new DSWorkflowVariableFromParticipant. 37 | * DS Workflow Variable from a Participant object. The definition is flexible based on the workflow definition. 38 | * @alias module:model/DSWorkflowVariableFromParticipant 39 | * @class 40 | */ 41 | var exports = function() { 42 | var _this = this; 43 | 44 | 45 | }; 46 | 47 | /** 48 | * Constructs a DSWorkflowVariableFromParticipant from a plain JavaScript object, optionally creating a new instance. 49 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 50 | * @param {Object} data The plain JavaScript object bearing properties of interest. 51 | * @param {module:model/DSWorkflowVariableFromParticipant} obj Optional instance to populate. 52 | * @return {module:model/DSWorkflowVariableFromParticipant} The populated DSWorkflowVariableFromParticipant instance. 53 | */ 54 | exports.constructFromObject = function(data, obj) { 55 | if (data) { 56 | obj = obj || new exports(); 57 | 58 | } 59 | return obj; 60 | } 61 | 62 | 63 | 64 | 65 | return exports; 66 | })); 67 | 68 | 69 | -------------------------------------------------------------------------------- /src/model/SuccessMessageResponse.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.SuccessMessageResponse = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | 30 | /** 31 | * The SuccessMessageResponse model module. 32 | * @module model/SuccessMessageResponse 33 | */ 34 | 35 | /** 36 | * Constructs a new SuccessMessageResponse. 37 | * Returns success with a status message 38 | * @alias module:model/SuccessMessageResponse 39 | * @class 40 | */ 41 | var exports = function() { 42 | var _this = this; 43 | 44 | 45 | }; 46 | 47 | /** 48 | * Constructs a SuccessMessageResponse from a plain JavaScript object, optionally creating a new instance. 49 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 50 | * @param {Object} data The plain JavaScript object bearing properties of interest. 51 | * @param {module:model/SuccessMessageResponse} obj Optional instance to populate. 52 | * @return {module:model/SuccessMessageResponse} The populated SuccessMessageResponse instance. 53 | */ 54 | exports.constructFromObject = function(data, obj) { 55 | if (data) { 56 | obj = obj || new exports(); 57 | 58 | if (data.hasOwnProperty('message')) { 59 | obj['message'] = ApiClient.convertToType(data['message'], 'String'); 60 | } 61 | } 62 | return obj; 63 | } 64 | 65 | /** 66 | * @member {String} message 67 | */ 68 | exports.prototype['message'] = undefined; 69 | 70 | 71 | 72 | return exports; 73 | })); 74 | 75 | 76 | -------------------------------------------------------------------------------- /src/model/DSWebFormsStepConfig.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.DSWebFormsStepConfig = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | 30 | /** 31 | * The DSWebFormsStepConfig model module. 32 | * @module model/DSWebFormsStepConfig 33 | */ 34 | 35 | /** 36 | * Constructs a new DSWebFormsStepConfig. 37 | * @alias module:model/DSWebFormsStepConfig 38 | * @class 39 | * @param pageUrl {String} 40 | */ 41 | var exports = function(pageUrl) { 42 | var _this = this; 43 | 44 | _this['pageUrl'] = pageUrl; 45 | }; 46 | 47 | /** 48 | * Constructs a DSWebFormsStepConfig from a plain JavaScript object, optionally creating a new instance. 49 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 50 | * @param {Object} data The plain JavaScript object bearing properties of interest. 51 | * @param {module:model/DSWebFormsStepConfig} obj Optional instance to populate. 52 | * @return {module:model/DSWebFormsStepConfig} The populated DSWebFormsStepConfig instance. 53 | */ 54 | exports.constructFromObject = function(data, obj) { 55 | if (data) { 56 | obj = obj || new exports(); 57 | 58 | if (data.hasOwnProperty('pageUrl')) { 59 | obj['pageUrl'] = ApiClient.convertToType(data['pageUrl'], 'String'); 60 | } 61 | } 62 | return obj; 63 | } 64 | 65 | /** 66 | * @member {String} pageUrl 67 | */ 68 | exports.prototype['pageUrl'] = undefined; 69 | 70 | 71 | 72 | return exports; 73 | })); 74 | 75 | 76 | -------------------------------------------------------------------------------- /src/model/DSWorkflowParticipantRecord.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient', 'model/Participant'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient'), require('./Participant')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.DSWorkflowParticipantRecord = factory(root.Docusign.ApiClient, root.Docusign.Participant); 25 | } 26 | }(this, function(ApiClient, Participant) { 27 | 'use strict'; 28 | 29 | 30 | /** 31 | * The DSWorkflowParticipantRecord model module. 32 | * @module model/DSWorkflowParticipantRecord 33 | */ 34 | 35 | /** 36 | * Constructs a new DSWorkflowParticipantRecord. 37 | * A DS Workflow participant record 38 | * @alias module:model/DSWorkflowParticipantRecord 39 | * @class 40 | * @extends Object 41 | */ 42 | var exports = function() { 43 | var _this = this; 44 | 45 | 46 | 47 | return _this; 48 | }; 49 | 50 | /** 51 | * Constructs a DSWorkflowParticipantRecord from a plain JavaScript object, optionally creating a new instance. 52 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 53 | * @param {Object} data The plain JavaScript object bearing properties of interest. 54 | * @param {module:model/DSWorkflowParticipantRecord} obj Optional instance to populate. 55 | * @return {module:model/DSWorkflowParticipantRecord} The populated DSWorkflowParticipantRecord instance. 56 | */ 57 | exports.constructFromObject = function(data, obj) { 58 | if (data) { 59 | obj = obj || new exports(); 60 | ApiClient.constructFromObject(data, obj, 'Participant'); 61 | 62 | } 63 | return obj; 64 | } 65 | 66 | 67 | 68 | 69 | return exports; 70 | })); 71 | 72 | 73 | -------------------------------------------------------------------------------- /src/model/StringOrVariableOrTransformation.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.StringOrVariableOrTransformation = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | 30 | /** 31 | * The StringOrVariableOrTransformation model module. 32 | * @module model/StringOrVariableOrTransformation 33 | */ 34 | 35 | /** 36 | * Constructs a new StringOrVariableOrTransformation. 37 | * Object stands for a String or a Variable or a Transformation. This object should be any of the following object models or types: [string, #/definitions/DSWorkflowVariable, #/definitions/DSWorkflowTransformationExpression] 38 | * @alias module:model/StringOrVariableOrTransformation 39 | * @class 40 | */ 41 | var exports = function() { 42 | var _this = this; 43 | 44 | 45 | }; 46 | 47 | /** 48 | * Constructs a StringOrVariableOrTransformation from a plain JavaScript object, optionally creating a new instance. 49 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 50 | * @param {Object} data The plain JavaScript object bearing properties of interest. 51 | * @param {module:model/StringOrVariableOrTransformation} obj Optional instance to populate. 52 | * @return {module:model/StringOrVariableOrTransformation} The populated StringOrVariableOrTransformation instance. 53 | */ 54 | exports.constructFromObject = function(data, obj) { 55 | if (data) { 56 | obj = obj || new exports(); 57 | 58 | } 59 | return obj; 60 | } 61 | 62 | 63 | 64 | 65 | return exports; 66 | })); 67 | 68 | 69 | -------------------------------------------------------------------------------- /src/model/WorkflowInstancesList.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient', 'model/WorkflowInstance'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient'), require('./WorkflowInstance')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.WorkflowInstancesList = factory(root.Docusign.ApiClient, root.Docusign.WorkflowInstance); 25 | } 26 | }(this, function(ApiClient, WorkflowInstance) { 27 | 'use strict'; 28 | 29 | 30 | /** 31 | * The WorkflowInstancesList model module. 32 | * @module model/WorkflowInstancesList 33 | */ 34 | 35 | /** 36 | * Constructs a new WorkflowInstancesList. 37 | * A list of workflow instances (0 or more). 38 | * @alias module:model/WorkflowInstancesList 39 | * @class 40 | * @extends Array 41 | */ 42 | var exports = function() { 43 | var _this = this; 44 | _this = new Array(); 45 | Object.setPrototypeOf(_this, exports); 46 | 47 | 48 | 49 | return _this; 50 | }; 51 | 52 | /** 53 | * Constructs a WorkflowInstancesList from a plain JavaScript object, optionally creating a new instance. 54 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 55 | * @param {Object} data The plain JavaScript object bearing properties of interest. 56 | * @param {module:model/WorkflowInstancesList} obj Optional instance to populate. 57 | * @return {module:model/WorkflowInstancesList} The populated WorkflowInstancesList instance. 58 | */ 59 | exports.constructFromObject = function(data, obj) { 60 | if (data) { 61 | obj = obj || new exports(); 62 | ApiClient.constructFromObject(data, obj, 'WorkflowInstance'); 63 | 64 | } 65 | return obj; 66 | } 67 | 68 | 69 | 70 | 71 | return exports; 72 | })); 73 | 74 | 75 | -------------------------------------------------------------------------------- /src/model/RecordStringOrVariableOrTransformation.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.RecordStringOrVariableOrTransformation = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | 30 | /** 31 | * The RecordStringOrVariableOrTransformation model module. 32 | * @module model/RecordStringOrVariableOrTransformation 33 | */ 34 | 35 | /** 36 | * Constructs a new RecordStringOrVariableOrTransformation. 37 | * A Record of strings to Strings, Variables, or Transformation Expressions 38 | * @alias module:model/RecordStringOrVariableOrTransformation 39 | * @class 40 | * @extends Object 41 | */ 42 | var exports = function() { 43 | var _this = this; 44 | 45 | 46 | 47 | return _this; 48 | }; 49 | 50 | /** 51 | * Constructs a RecordStringOrVariableOrTransformation from a plain JavaScript object, optionally creating a new instance. 52 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 53 | * @param {Object} data The plain JavaScript object bearing properties of interest. 54 | * @param {module:model/RecordStringOrVariableOrTransformation} obj Optional instance to populate. 55 | * @return {module:model/RecordStringOrVariableOrTransformation} The populated RecordStringOrVariableOrTransformation instance. 56 | */ 57 | exports.constructFromObject = function(data, obj) { 58 | if (data) { 59 | obj = obj || new exports(); 60 | ApiClient.constructFromObject(data, obj, 'Object'); 61 | 62 | } 63 | return obj; 64 | } 65 | 66 | 67 | 68 | 69 | return exports; 70 | })); 71 | 72 | 73 | -------------------------------------------------------------------------------- /src/model/DeploymentStatus.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.DeploymentStatus = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | /** 30 | * Enum class DeploymentStatus. 31 | * @enum {} 32 | * @readonly 33 | */ 34 | var exports = { 35 | /** 36 | * value: "Deployment In Progress" 37 | * @const 38 | */ 39 | "deploymentInProgress": "Deployment In Progress", 40 | /** 41 | * value: "Deployed" 42 | * @const 43 | */ 44 | "deployed": "Deployed", 45 | /** 46 | * value: "Failed" 47 | * @const 48 | */ 49 | "failed": "Failed", 50 | /** 51 | * value: "Delete in Progress" 52 | * @const 53 | */ 54 | "deleteInProgress": "Delete in Progress", 55 | /** 56 | * value: "Deleted" 57 | * @const 58 | */ 59 | "deleted": "Deleted", 60 | /** 61 | * value: "Not Deployed" 62 | * @const 63 | */ 64 | "notDeployed": "Not Deployed", 65 | /** 66 | * value: "Unpublish in Progress" 67 | * @const 68 | */ 69 | "unpublishInProgress": "Unpublish in Progress", 70 | /** 71 | * value: "Unpublished" 72 | * @const 73 | */ 74 | "unpublished": "Unpublished" }; 75 | 76 | /** 77 | * Returns a DeploymentStatus enum value from a Javascript object name. 78 | * @param {Object} data The plain JavaScript object containing the name of the enum value. 79 | * @return {module:model/DeploymentStatus} The enum DeploymentStatus value. 80 | */ 81 | exports.constructFromObject = function(object) { 82 | return object; 83 | }; 84 | 85 | return exports; 86 | })); 87 | 88 | 89 | -------------------------------------------------------------------------------- /src/model/WorkflowStepHistoryList.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient', 'model/WorkflowStepHistory'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient'), require('./WorkflowStepHistory')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.WorkflowStepHistoryList = factory(root.Docusign.ApiClient, root.Docusign.WorkflowStepHistory); 25 | } 26 | }(this, function(ApiClient, WorkflowStepHistory) { 27 | 'use strict'; 28 | 29 | 30 | /** 31 | * The WorkflowStepHistoryList model module. 32 | * @module model/WorkflowStepHistoryList 33 | */ 34 | 35 | /** 36 | * Constructs a new WorkflowStepHistoryList. 37 | * Returns Array of Workflow Step History. 38 | * @alias module:model/WorkflowStepHistoryList 39 | * @class 40 | * @extends Array 41 | */ 42 | var exports = function() { 43 | var _this = this; 44 | _this = new Array(); 45 | Object.setPrototypeOf(_this, exports); 46 | 47 | 48 | 49 | return _this; 50 | }; 51 | 52 | /** 53 | * Constructs a WorkflowStepHistoryList from a plain JavaScript object, optionally creating a new instance. 54 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 55 | * @param {Object} data The plain JavaScript object bearing properties of interest. 56 | * @param {module:model/WorkflowStepHistoryList} obj Optional instance to populate. 57 | * @return {module:model/WorkflowStepHistoryList} The populated WorkflowStepHistoryList instance. 58 | */ 59 | exports.constructFromObject = function(data, obj) { 60 | if (data) { 61 | obj = obj || new exports(); 62 | ApiClient.constructFromObject(data, obj, 'WorkflowStepHistory'); 63 | 64 | } 65 | return obj; 66 | } 67 | 68 | 69 | 70 | 71 | return exports; 72 | })); 73 | 74 | 75 | -------------------------------------------------------------------------------- /src/model/DeployRequest.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient', 'model/DeployStatus'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient'), require('./DeployStatus')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.DeployRequest = factory(root.Docusign.ApiClient, root.Docusign.DeployStatus); 25 | } 26 | }(this, function(ApiClient, DeployStatus) { 27 | 'use strict'; 28 | 29 | 30 | /** 31 | * The DeployRequest model module. 32 | * @module model/DeployRequest 33 | */ 34 | 35 | /** 36 | * Constructs a new DeployRequest. 37 | * @alias module:model/DeployRequest 38 | * @class 39 | * @param deploymentStatus {module:model/DeployStatus} 40 | */ 41 | var exports = function(deploymentStatus) { 42 | var _this = this; 43 | 44 | _this['deploymentStatus'] = deploymentStatus; 45 | }; 46 | 47 | /** 48 | * Constructs a DeployRequest from a plain JavaScript object, optionally creating a new instance. 49 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 50 | * @param {Object} data The plain JavaScript object bearing properties of interest. 51 | * @param {module:model/DeployRequest} obj Optional instance to populate. 52 | * @return {module:model/DeployRequest} The populated DeployRequest instance. 53 | */ 54 | exports.constructFromObject = function(data, obj) { 55 | if (data) { 56 | obj = obj || new exports(); 57 | 58 | if (data.hasOwnProperty('deploymentStatus')) { 59 | obj['deploymentStatus'] = DeployStatus.constructFromObject(data['deploymentStatus']); 60 | } 61 | } 62 | return obj; 63 | } 64 | 65 | /** 66 | * @member {module:model/DeployStatus} deploymentStatus 67 | */ 68 | exports.prototype['deploymentStatus'] = undefined; 69 | 70 | 71 | 72 | return exports; 73 | })); 74 | 75 | 76 | -------------------------------------------------------------------------------- /src/oauth/Link.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | /** 4 | * DocuSign REST API 5 | * The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. 6 | * 7 | * OpenAPI spec version: v2 8 | * Contact: devcenter@docusign.com 9 | * 10 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 11 | * 12 | */ 13 | 14 | (function(root, factory) { 15 | if (typeof define === 'function' && define.amd) { 16 | // AMD. Register as an anonymous module. 17 | define(['ApiClient', 'oauth/Account'], factory); 18 | } else if (typeof module === 'object' && module.exports) { 19 | // CommonJS-like environments that support module.exports, like Node. 20 | module.exports = factory(require('../ApiClient')); 21 | } else { 22 | // Browser globals (root is window) 23 | if (!root.Docusign) { 24 | root.Docusign = {}; 25 | } 26 | } 27 | }(this, function(ApiClient, Account) { 28 | 'use strict'; 29 | /** 30 | * The Link model module. 31 | * @module oauth/Link 32 | * @version 3.0.0 33 | */ 34 | 35 | /** 36 | * Constructs a new Link. 37 | * @alias module:oauth/Link 38 | * @class 39 | */ 40 | var exports = function() { 41 | var _this = this; 42 | 43 | 44 | }; 45 | 46 | /** 47 | * Constructs a Link from a plain JavaScript object, optionally creating a new instance. 48 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 49 | * @param {Object} data The plain JavaScript object bearing properties of interest. 50 | * @param {module:oauth/Link} obj Optional instance to populate. 51 | * @return {module:oauth/Link} The populated Link instance. 52 | */ 53 | exports.constructFromObject = function(data, obj) { 54 | var ApiClient = require('../ApiClient'); 55 | 56 | if (data) { 57 | obj = obj || new exports(); 58 | 59 | if (data.hasOwnProperty('rel')) { 60 | obj['rel'] = ApiClient.convertToType(data['rel'], 'String'); 61 | } 62 | if (data.hasOwnProperty('href')) { 63 | obj['href'] = ApiClient.convertToType(data['href'], 'String'); 64 | } 65 | } 66 | 67 | return obj; 68 | } 69 | 70 | /** 71 | * 72 | * @member {String} rel 73 | */ 74 | exports.prototype['rel'] = undefined; 75 | /** 76 | * 77 | * @member {String} href 78 | */ 79 | exports.prototype['href'] = undefined; 80 | 81 | 82 | return exports; 83 | })); -------------------------------------------------------------------------------- /src/model/CancelResponse.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.CancelResponse = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | 30 | /** 31 | * The CancelResponse model module. 32 | * @module model/CancelResponse 33 | */ 34 | 35 | /** 36 | * Constructs a new CancelResponse. 37 | * @alias module:model/CancelResponse 38 | * @class 39 | * @param message {String} 40 | */ 41 | var exports = function(message) { 42 | var _this = this; 43 | 44 | _this['message'] = message; 45 | }; 46 | 47 | /** 48 | * Constructs a CancelResponse from a plain JavaScript object, optionally creating a new instance. 49 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 50 | * @param {Object} data The plain JavaScript object bearing properties of interest. 51 | * @param {module:model/CancelResponse} obj Optional instance to populate. 52 | * @return {module:model/CancelResponse} The populated CancelResponse instance. 53 | */ 54 | exports.constructFromObject = function(data, obj) { 55 | if (data) { 56 | obj = obj || new exports(); 57 | 58 | if (data.hasOwnProperty('code')) { 59 | obj['code'] = ApiClient.convertToType(data['code'], 'String'); 60 | } 61 | if (data.hasOwnProperty('message')) { 62 | obj['message'] = ApiClient.convertToType(data['message'], 'String'); 63 | } 64 | } 65 | return obj; 66 | } 67 | 68 | /** 69 | * @member {String} code 70 | */ 71 | exports.prototype['code'] = undefined; 72 | /** 73 | * @member {String} message 74 | */ 75 | exports.prototype['message'] = undefined; 76 | 77 | 78 | 79 | return exports; 80 | })); 81 | 82 | 83 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | lerna-debug.log* 8 | .pnpm-debug.log* 9 | 10 | # Diagnostic reports (https://nodejs.org/api/report.html) 11 | report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json 12 | 13 | # Runtime data 14 | pids 15 | *.pid 16 | *.seed 17 | *.pid.lock 18 | 19 | # Directory for instrumented libs generated by jscoverage/JSCover 20 | lib-cov 21 | 22 | # Coverage directory used by tools like istanbul 23 | coverage 24 | *.lcov 25 | 26 | # nyc test coverage 27 | .nyc_output 28 | 29 | # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) 30 | .grunt 31 | 32 | # Bower dependency directory (https://bower.io/) 33 | bower_components 34 | 35 | # node-waf configuration 36 | .lock-wscript 37 | 38 | # Compiled binary addons (https://nodejs.org/api/addons.html) 39 | build/Release 40 | 41 | # Dependency directories 42 | node_modules/ 43 | jspm_packages/ 44 | 45 | # Snowpack dependency directory (https://snowpack.dev/) 46 | web_modules/ 47 | 48 | # TypeScript cache 49 | *.tsbuildinfo 50 | 51 | # Optional npm cache directory 52 | .npm 53 | 54 | # Optional eslint cache 55 | .eslintcache 56 | 57 | # Optional stylelint cache 58 | .stylelintcache 59 | 60 | # Microbundle cache 61 | .rpt2_cache/ 62 | .rts2_cache_cjs/ 63 | .rts2_cache_es/ 64 | .rts2_cache_umd/ 65 | 66 | # Optional REPL history 67 | .node_repl_history 68 | 69 | # Output of 'npm pack' 70 | *.tgz 71 | 72 | # Yarn Integrity file 73 | .yarn-integrity 74 | 75 | # dotenv environment variable files 76 | .env 77 | .env.development.local 78 | .env.test.local 79 | .env.production.local 80 | .env.local 81 | 82 | # parcel-bundler cache (https://parceljs.org/) 83 | .cache 84 | .parcel-cache 85 | 86 | # Next.js build output 87 | .next 88 | out 89 | 90 | # Nuxt.js build / generate output 91 | .nuxt 92 | dist 93 | 94 | # Gatsby files 95 | .cache/ 96 | # Comment in the public line in if your project uses Gatsby and not Next.js 97 | # https://nextjs.org/blog/next-9-1#public-directory-support 98 | # public 99 | 100 | # vuepress build output 101 | .vuepress/dist 102 | 103 | # vuepress v2.x temp and cache directory 104 | .temp 105 | .cache 106 | 107 | # Docusaurus cache and generated files 108 | .docusaurus 109 | 110 | # Serverless directories 111 | .serverless/ 112 | 113 | # FuseBox cache 114 | .fusebox/ 115 | 116 | # DynamoDB Local files 117 | .dynamodb/ 118 | 119 | # TernJS port file 120 | .tern-port 121 | 122 | # Stores VSCode versions used for testing VSCode extensions 123 | .vscode-test 124 | 125 | # yarn v2 126 | .yarn/cache 127 | .yarn/unplugged 128 | .yarn/build-state.yml 129 | .yarn/install-state.gz 130 | .pnp.* 131 | -------------------------------------------------------------------------------- /src/model/DSWorkflowTransformationExpression.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.DSWorkflowTransformationExpression = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | 30 | /** 31 | * The DSWorkflowTransformationExpression model module. 32 | * @module model/DSWorkflowTransformationExpression 33 | */ 34 | 35 | /** 36 | * Constructs a new DSWorkflowTransformationExpression. 37 | * Transformation Expression object. This object should be any of the following object models: [#/definitions/DSWorkflowReplaceExpression, #/definitions/DSWorkflowToLowerExpression, #/definitions/DSWorkflowToUpperExpression, #/components/schemas/DSWorkflowLastIndexOfExpression, #/components/schemas/DSWorkflowIndexOfExpression, #/components/schemas/DSWorkflowSubstringExpression, #/components/schemas/DSWorkflowConcatExpression] 38 | * @alias module:model/DSWorkflowTransformationExpression 39 | * @class 40 | */ 41 | var exports = function() { 42 | var _this = this; 43 | 44 | 45 | }; 46 | 47 | /** 48 | * Constructs a DSWorkflowTransformationExpression from a plain JavaScript object, optionally creating a new instance. 49 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 50 | * @param {Object} data The plain JavaScript object bearing properties of interest. 51 | * @param {module:model/DSWorkflowTransformationExpression} obj Optional instance to populate. 52 | * @return {module:model/DSWorkflowTransformationExpression} The populated DSWorkflowTransformationExpression instance. 53 | */ 54 | exports.constructFromObject = function(data, obj) { 55 | if (data) { 56 | obj = obj || new exports(); 57 | 58 | } 59 | return obj; 60 | } 61 | 62 | 63 | 64 | 65 | return exports; 66 | })); 67 | 68 | 69 | -------------------------------------------------------------------------------- /src/model/ErrorResponse.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient', 'model/ErrorCodes'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient'), require('./ErrorCodes')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.ErrorResponse = factory(root.Docusign.ApiClient, root.Docusign.ErrorCodes); 25 | } 26 | }(this, function(ApiClient, ErrorCodes) { 27 | 'use strict'; 28 | 29 | 30 | /** 31 | * The ErrorResponse model module. 32 | * @module model/ErrorResponse 33 | */ 34 | 35 | /** 36 | * Constructs a new ErrorResponse. 37 | * Returns error with a status message 38 | * @alias module:model/ErrorResponse 39 | * @class 40 | */ 41 | var exports = function() { 42 | var _this = this; 43 | 44 | 45 | }; 46 | 47 | /** 48 | * Constructs a ErrorResponse from a plain JavaScript object, optionally creating a new instance. 49 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 50 | * @param {Object} data The plain JavaScript object bearing properties of interest. 51 | * @param {module:model/ErrorResponse} obj Optional instance to populate. 52 | * @return {module:model/ErrorResponse} The populated ErrorResponse instance. 53 | */ 54 | exports.constructFromObject = function(data, obj) { 55 | if (data) { 56 | obj = obj || new exports(); 57 | 58 | if (data.hasOwnProperty('errorCode')) { 59 | obj['errorCode'] = ErrorCodes.constructFromObject(data['errorCode']); 60 | } 61 | if (data.hasOwnProperty('message')) { 62 | obj['message'] = ApiClient.convertToType(data['message'], 'String'); 63 | } 64 | } 65 | return obj; 66 | } 67 | 68 | /** 69 | * @member {module:model/ErrorCodes} errorCode 70 | */ 71 | exports.prototype['errorCode'] = undefined; 72 | /** 73 | * @member {String} message 74 | */ 75 | exports.prototype['message'] = undefined; 76 | 77 | 78 | 79 | return exports; 80 | })); 81 | 82 | 83 | -------------------------------------------------------------------------------- /src/model/ValidationErrors.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.ValidationErrors = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | 30 | /** 31 | * The ValidationErrors model module. 32 | * @module model/ValidationErrors 33 | */ 34 | 35 | /** 36 | * Constructs a new ValidationErrors. 37 | * @alias module:model/ValidationErrors 38 | * @class 39 | * @param code {String} 40 | * @param message {String} 41 | */ 42 | var exports = function(code, message) { 43 | var _this = this; 44 | 45 | _this['code'] = code; _this['message'] = message; 46 | }; 47 | 48 | /** 49 | * Constructs a ValidationErrors from a plain JavaScript object, optionally creating a new instance. 50 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 51 | * @param {Object} data The plain JavaScript object bearing properties of interest. 52 | * @param {module:model/ValidationErrors} obj Optional instance to populate. 53 | * @return {module:model/ValidationErrors} The populated ValidationErrors instance. 54 | */ 55 | exports.constructFromObject = function(data, obj) { 56 | if (data) { 57 | obj = obj || new exports(); 58 | 59 | if (data.hasOwnProperty('code')) { 60 | obj['code'] = ApiClient.convertToType(data['code'], 'String'); 61 | } 62 | if (data.hasOwnProperty('message')) { 63 | obj['message'] = ApiClient.convertToType(data['message'], 'String'); 64 | } 65 | } 66 | return obj; 67 | } 68 | 69 | /** 70 | * @member {String} code 71 | */ 72 | exports.prototype['code'] = undefined; 73 | /** 74 | * @member {String} message 75 | */ 76 | exports.prototype['message'] = undefined; 77 | 78 | 79 | 80 | return exports; 81 | })); 82 | 83 | 84 | -------------------------------------------------------------------------------- /src/model/WorkflowStepErrorError.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.WorkflowStepErrorError = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | 30 | /** 31 | * The WorkflowStepErrorError model module. 32 | * @module model/WorkflowStepErrorError 33 | */ 34 | 35 | /** 36 | * Constructs a new WorkflowStepErrorError. 37 | * @alias module:model/WorkflowStepErrorError 38 | * @class 39 | */ 40 | var exports = function() { 41 | var _this = this; 42 | 43 | 44 | }; 45 | 46 | /** 47 | * Constructs a WorkflowStepErrorError from a plain JavaScript object, optionally creating a new instance. 48 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 49 | * @param {Object} data The plain JavaScript object bearing properties of interest. 50 | * @param {module:model/WorkflowStepErrorError} obj Optional instance to populate. 51 | * @return {module:model/WorkflowStepErrorError} The populated WorkflowStepErrorError instance. 52 | */ 53 | exports.constructFromObject = function(data, obj) { 54 | if (data) { 55 | obj = obj || new exports(); 56 | 57 | if (data.hasOwnProperty('code')) { 58 | obj['code'] = ApiClient.convertToType(data['code'], 'String'); 59 | } 60 | if (data.hasOwnProperty('message')) { 61 | obj['message'] = ApiClient.convertToType(data['message'], 'String'); 62 | } 63 | } 64 | return obj; 65 | } 66 | 67 | /** 68 | * The Error Code Message 69 | * @member {String} code 70 | */ 71 | exports.prototype['code'] = undefined; 72 | /** 73 | * Error Message which shares more details 74 | * @member {String} message 75 | */ 76 | exports.prototype['message'] = undefined; 77 | 78 | 79 | 80 | return exports; 81 | })); 82 | 83 | 84 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | ## [v2.0.0] - Maestro API v1.0.0-1.0.5 - 2025-05-21 2 | 3 | ⚠️ Deprecated – Maestro is now available as part of the new IAM SDK: https://developers.docusign.com/docs/sdks/. 4 | 5 | ## [v1.0.0] - Maestro API v1.0.0-1.0.5 - 2024-07-30 6 | ### Changed 7 | - Added support for version v1.0.0-1.0.5 of the DocuSign Maestro API. 8 | - Updated the SDK release version. 9 | 10 | ## [v1.0.0-rc5] - Maestro API v1.0.0-1.0.5 - 2024-06-07 11 | ### Changed 12 | - Added support for version v1.0.0-1.0.5 of the DocuSign Maestro API. 13 | - Updated the SDK release version. 14 | 15 | ## [v1.0.0-rc4] - Maestro API v1.0.0-1.0.4 - 2024-04-24 16 | ### Changed 17 | - Added support for version v1.0.0-1.0.4 of the DocuSign Maestro API. 18 | 19 | **Security Updates** 20 | - Updated HTTP Client: Due to identified security vulnerabilities in Superagent proxy version 3.0.0, we have transitioned from using Superagent to the more secure Axios HTTP client. This update helps in safeguarding your interactions by patching potential security gaps. 21 | 22 | **New Features** 23 | - Proxy Support for HTTP Requests: We've introduced the ability to make HTTP requests through a proxy. This enhancement is particularly useful for users operating within corporate or restricted networks. 24 | - JWT Token Request Functionality: The new sendJWTTokenRequest method allows you to obtain authentication tokens without exposing your privateKey. This method is designed to enhance security in your authentication processes. 25 | 26 | **Changes to Existing Features** 27 | - Updated Callback Response Structure: We have made changes to the response structure for callbacks. If you are using callback functions in your integration, please note the updated response object attributes: 28 | > statusCode 29 | header 30 | body 31 | 32 | **Migration Guide** 33 | - For those using callback functions, please adjust your implementation to handle the new response structure as detailed above. 34 | 35 | ## [v1.0.0-rc3] - Maestro API v1.0.0-1.0.3 - 2024-04-03 36 | ### Changed 37 | - Added support for version v1.0.0-1.0.3 of the DocuSign Maestro API. 38 | - Updated the SDK release version. 39 | 40 | ## [v1.0.1-rc1] - Maestro API v1.0.0-1.0.1 - 2024-01-29 41 | ### Changed 42 | - Added support for version v1.0.0-1.0.1 of the DocuSign Maestro API. 43 | - Updated the SDK release version. 44 | 45 | ## [v1.0.0-rc2] - Maestro API v1.0.0-1.0.0 - 2024-01-05 46 | ### Changed 47 | - Added support for version v1.0.0-1.0.0 of the DocuSign Maestro API. 48 | - Updated the SDK release version. 49 | 50 | ## [v1.0.0-rc1] - Maestro API v1.0.0-1.0.0 - 2024-01-04 51 | ### Changed 52 | - Added support for version v1.0.0-1.0.0 of the DocuSign Maestro API. 53 | - Updated the SDK release version. 54 | 55 | ## [v1.0.0-rc1] - Maestro API v1.0.0-1.0.0 - 2024-01-04 56 | ### Changed 57 | - Added support for version v1.0.0-1.0.0 of the DocuSign Maestro API. 58 | - Updated the SDK release version. 59 | 60 | -------------------------------------------------------------------------------- /src/oauth/Organization.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | /** 4 | * DocuSign REST API 5 | * The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. 6 | * 7 | * OpenAPI spec version: v2 8 | * Contact: devcenter@docusign.com 9 | * 10 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 11 | * 12 | */ 13 | 14 | (function(root, factory) { 15 | if (typeof define === 'function' && define.amd) { 16 | // AMD. Register as an anonymous module. 17 | define(['ApiClient', 'oauth/Account'], factory); 18 | } else if (typeof module === 'object' && module.exports) { 19 | // CommonJS-like environments that support module.exports, like Node. 20 | module.exports = factory(require('../ApiClient')); 21 | } else { 22 | // Browser globals (root is window) 23 | if (!root.Docusign) { 24 | root.Docusign = {}; 25 | } 26 | } 27 | }(this, function(ApiClient, Account) { 28 | 'use strict'; 29 | /** 30 | * The Organization model module. 31 | * @module oauth/Organization 32 | * @version 3.0.0 33 | */ 34 | 35 | /** 36 | * Constructs a new Organization. 37 | * @alias module:oauth/Organization 38 | * @class 39 | */ 40 | var exports = function() { 41 | var _this = this; 42 | 43 | 44 | }; 45 | 46 | /** 47 | * Constructs a Organization from a plain JavaScript object, optionally creating a new instance. 48 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 49 | * @param {Object} data The plain JavaScript object bearing properties of interest. 50 | * @param {module:oauth/Organization} obj Optional instance to populate. 51 | * @return {module:oauth/Organization} The populated Organization instance. 52 | */ 53 | exports.constructFromObject = function(data, obj) { 54 | var ApiClient = require('../ApiClient'); 55 | var Link = require('./Link'); 56 | 57 | if (data) { 58 | obj = obj || new exports(); 59 | 60 | if (data.hasOwnProperty('organization_id')) { 61 | obj['organization_id'] = ApiClient.convertToType(data['organization_id'], 'String'); 62 | } 63 | if (data.hasOwnProperty('links')) { 64 | obj['links'] = ApiClient.convertToType(data['links'], [Link]); 65 | } 66 | } 67 | 68 | return obj; 69 | } 70 | 71 | /** 72 | * 73 | * @member {String} sub 74 | */ 75 | exports.prototype['organization_id'] = undefined; 76 | /** 77 | * 78 | * @member {String} email 79 | */ 80 | exports.prototype['links'] = undefined; 81 | 82 | 83 | return exports; 84 | })); -------------------------------------------------------------------------------- /src/oauth/Account.js: -------------------------------------------------------------------------------- 1 | (function(root, factory) { 2 | if (typeof define === 'function' && define.amd) { 3 | // AMD. Register as an anonymous module. 4 | define(['ApiClient'], factory); 5 | } else if (typeof module === 'object' && module.exports) { 6 | // CommonJS-like environments that support module.exports, like Node. 7 | module.exports = factory(require('../ApiClient'), require('./Organization')); 8 | } else { 9 | // Browser globals (root is window) 10 | if (!root.Docusign) { 11 | root.Docusign = {}; 12 | } 13 | //root.Docusign.UserInfo = factory(root.Docusign.ApiClient, root.Docusign.ErrorDetails); 14 | } 15 | }(this, function() { 16 | 'use strict'; 17 | 18 | 19 | /** 20 | * The Account model module. 21 | * @module oauth/Account 22 | * @version 3.0.0 23 | */ 24 | 25 | /** 26 | * Constructs a new Account. 27 | * @alias module:model/UserInfo 28 | * @class 29 | */ 30 | var exports = function() { 31 | var _this = this; 32 | 33 | 34 | }; 35 | 36 | exports.constructFromObject = function (data, obj){ 37 | var ApiClient = require('../ApiClient'); 38 | var Organization = require('./Organization'); 39 | 40 | if (data) { 41 | obj = obj || new exports(); 42 | if (data.hasOwnProperty('account_id')) { 43 | obj['accountId'] = ApiClient.convertToType(data['account_id'], 'String'); 44 | } 45 | if (data.hasOwnProperty('is_default')) { 46 | obj['isDefault'] = ApiClient.convertToType(data['is_default'], 'String'); 47 | } 48 | if (data.hasOwnProperty('account_name')) { 49 | obj['accountName'] = ApiClient.convertToType(data['account_name'], 'String'); 50 | } 51 | if (data.hasOwnProperty('base_uri')) { 52 | obj['baseUri'] = ApiClient.convertToType(data['base_uri'], 'String'); 53 | } 54 | if(data.hasOwnProperty('organization')) { 55 | obj['organization'] = ApiClient.convertToType(data['organization'], Organization) 56 | } 57 | } 58 | return obj; 59 | } 60 | 61 | /** 62 | * 63 | * @member {String} accountId 64 | */ 65 | exports.prototype['accountId'] = undefined; 66 | /** 67 | * 68 | * @member {String} isDefault 69 | */ 70 | exports.prototype['isDefault'] = undefined; 71 | /** 72 | * @member {String} accountName 73 | */ 74 | exports.prototype['accountName'] = undefined; 75 | /** 76 | * @member {String} baseUri 77 | */ 78 | exports.prototype['baseUri'] = undefined; 79 | /** 80 | * @member {Organization} organization 81 | */ 82 | exports.prototype['organization'] = undefined; 83 | 84 | 85 | return exports; 86 | })); 87 | -------------------------------------------------------------------------------- /src/model/CreateOrUpdateWorkflowDefinitionRequestBody.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient', 'model/WorkflowDefinition'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient'), require('./WorkflowDefinition')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.CreateOrUpdateWorkflowDefinitionRequestBody = factory(root.Docusign.ApiClient, root.Docusign.WorkflowDefinition); 25 | } 26 | }(this, function(ApiClient, WorkflowDefinition) { 27 | 'use strict'; 28 | 29 | 30 | /** 31 | * The CreateOrUpdateWorkflowDefinitionRequestBody model module. 32 | * @module model/CreateOrUpdateWorkflowDefinitionRequestBody 33 | */ 34 | 35 | /** 36 | * Constructs a new CreateOrUpdateWorkflowDefinitionRequestBody. 37 | * A request body that used for create or update workflow definition 38 | * @alias module:model/CreateOrUpdateWorkflowDefinitionRequestBody 39 | * @class 40 | */ 41 | var exports = function() { 42 | var _this = this; 43 | 44 | 45 | }; 46 | 47 | /** 48 | * Constructs a CreateOrUpdateWorkflowDefinitionRequestBody from a plain JavaScript object, optionally creating a new instance. 49 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 50 | * @param {Object} data The plain JavaScript object bearing properties of interest. 51 | * @param {module:model/CreateOrUpdateWorkflowDefinitionRequestBody} obj Optional instance to populate. 52 | * @return {module:model/CreateOrUpdateWorkflowDefinitionRequestBody} The populated CreateOrUpdateWorkflowDefinitionRequestBody instance. 53 | */ 54 | exports.constructFromObject = function(data, obj) { 55 | if (data) { 56 | obj = obj || new exports(); 57 | 58 | if (data.hasOwnProperty('workflowDefinition')) { 59 | obj['workflowDefinition'] = WorkflowDefinition.constructFromObject(data['workflowDefinition']); 60 | } 61 | } 62 | return obj; 63 | } 64 | 65 | /** 66 | * @member {module:model/WorkflowDefinition} workflowDefinition 67 | */ 68 | exports.prototype['workflowDefinition'] = undefined; 69 | 70 | 71 | 72 | return exports; 73 | })); 74 | 75 | 76 | -------------------------------------------------------------------------------- /src/model/WorkflowDeleteResponse.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.WorkflowDeleteResponse = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | 30 | /** 31 | * The WorkflowDeleteResponse model module. 32 | * @module model/WorkflowDeleteResponse 33 | */ 34 | 35 | /** 36 | * Constructs a new WorkflowDeleteResponse. 37 | * @alias module:model/WorkflowDeleteResponse 38 | * @class 39 | * @param pollUrl {String} 40 | * @param workflowDefinitionId {String} 41 | */ 42 | var exports = function(pollUrl, workflowDefinitionId) { 43 | var _this = this; 44 | 45 | _this['pollUrl'] = pollUrl; _this['workflowDefinitionId'] = workflowDefinitionId; 46 | }; 47 | 48 | /** 49 | * Constructs a WorkflowDeleteResponse from a plain JavaScript object, optionally creating a new instance. 50 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 51 | * @param {Object} data The plain JavaScript object bearing properties of interest. 52 | * @param {module:model/WorkflowDeleteResponse} obj Optional instance to populate. 53 | * @return {module:model/WorkflowDeleteResponse} The populated WorkflowDeleteResponse instance. 54 | */ 55 | exports.constructFromObject = function(data, obj) { 56 | if (data) { 57 | obj = obj || new exports(); 58 | 59 | if (data.hasOwnProperty('pollUrl')) { 60 | obj['pollUrl'] = ApiClient.convertToType(data['pollUrl'], 'String'); 61 | } 62 | if (data.hasOwnProperty('workflowDefinitionId')) { 63 | obj['workflowDefinitionId'] = ApiClient.convertToType(data['workflowDefinitionId'], 'String'); 64 | } 65 | } 66 | return obj; 67 | } 68 | 69 | /** 70 | * @member {String} pollUrl 71 | */ 72 | exports.prototype['pollUrl'] = undefined; 73 | /** 74 | * @member {String} workflowDefinitionId 75 | */ 76 | exports.prototype['workflowDefinitionId'] = undefined; 77 | 78 | 79 | 80 | return exports; 81 | })); 82 | 83 | 84 | -------------------------------------------------------------------------------- /src/model/GetConfigurationInstancesResponseConfigInstances.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.GetConfigurationInstancesResponseConfigInstances = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | 30 | /** 31 | * The GetConfigurationInstancesResponseConfigInstances model module. 32 | * @module model/GetConfigurationInstancesResponseConfigInstances 33 | */ 34 | 35 | /** 36 | * Constructs a new GetConfigurationInstancesResponseConfigInstances. 37 | * @alias module:model/GetConfigurationInstancesResponseConfigInstances 38 | * @class 39 | */ 40 | var exports = function() { 41 | var _this = this; 42 | 43 | 44 | }; 45 | 46 | /** 47 | * Constructs a GetConfigurationInstancesResponseConfigInstances from a plain JavaScript object, optionally creating a new instance. 48 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 49 | * @param {Object} data The plain JavaScript object bearing properties of interest. 50 | * @param {module:model/GetConfigurationInstancesResponseConfigInstances} obj Optional instance to populate. 51 | * @return {module:model/GetConfigurationInstancesResponseConfigInstances} The populated GetConfigurationInstancesResponseConfigInstances instance. 52 | */ 53 | exports.constructFromObject = function(data, obj) { 54 | if (data) { 55 | obj = obj || new exports(); 56 | 57 | if (data.hasOwnProperty('savedValues')) { 58 | obj['savedValues'] = ApiClient.convertToType(data['savedValues'], Object); 59 | } 60 | if (data.hasOwnProperty('stepId')) { 61 | obj['stepId'] = ApiClient.convertToType(data['stepId'], 'String'); 62 | } 63 | } 64 | return obj; 65 | } 66 | 67 | /** 68 | * @member {Object} savedValues 69 | */ 70 | exports.prototype['savedValues'] = undefined; 71 | /** 72 | * @member {String} stepId 73 | */ 74 | exports.prototype['stepId'] = undefined; 75 | 76 | 77 | 78 | return exports; 79 | })); 80 | 81 | 82 | -------------------------------------------------------------------------------- /src/model/TriggerWorkflowViaPostResponse.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.TriggerWorkflowViaPostResponse = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | 30 | /** 31 | * The TriggerWorkflowViaPostResponse model module. 32 | * @module model/TriggerWorkflowViaPostResponse 33 | */ 34 | 35 | /** 36 | * Constructs a new TriggerWorkflowViaPostResponse. 37 | * Trigger workflow via POST response details 38 | * @alias module:model/TriggerWorkflowViaPostResponse 39 | * @class 40 | */ 41 | var exports = function() { 42 | var _this = this; 43 | 44 | 45 | }; 46 | 47 | /** 48 | * Constructs a TriggerWorkflowViaPostResponse from a plain JavaScript object, optionally creating a new instance. 49 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 50 | * @param {Object} data The plain JavaScript object bearing properties of interest. 51 | * @param {module:model/TriggerWorkflowViaPostResponse} obj Optional instance to populate. 52 | * @return {module:model/TriggerWorkflowViaPostResponse} The populated TriggerWorkflowViaPostResponse instance. 53 | */ 54 | exports.constructFromObject = function(data, obj) { 55 | if (data) { 56 | obj = obj || new exports(); 57 | 58 | if (data.hasOwnProperty('instanceId')) { 59 | obj['instanceId'] = ApiClient.convertToType(data['instanceId'], 'String'); 60 | } 61 | if (data.hasOwnProperty('workflowInstanceUrl')) { 62 | obj['workflowInstanceUrl'] = ApiClient.convertToType(data['workflowInstanceUrl'], 'String'); 63 | } 64 | } 65 | return obj; 66 | } 67 | 68 | /** 69 | * @member {String} instanceId 70 | */ 71 | exports.prototype['instanceId'] = undefined; 72 | /** 73 | * Instance specific url that can be used to be redirected to a workflow instance 74 | * @member {String} workflowInstanceUrl 75 | */ 76 | exports.prototype['workflowInstanceUrl'] = undefined; 77 | 78 | 79 | 80 | return exports; 81 | })); 82 | 83 | 84 | -------------------------------------------------------------------------------- /src/model/WorkflowDefinitionList.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient', 'model/WorkflowDefinitionMetadata'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient'), require('./WorkflowDefinitionMetadata')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.WorkflowDefinitionList = factory(root.Docusign.ApiClient, root.Docusign.WorkflowDefinitionMetadata); 25 | } 26 | }(this, function(ApiClient, WorkflowDefinitionMetadata) { 27 | 'use strict'; 28 | 29 | 30 | /** 31 | * The WorkflowDefinitionList model module. 32 | * @module model/WorkflowDefinitionList 33 | */ 34 | 35 | /** 36 | * Constructs a new WorkflowDefinitionList. 37 | * Returns a list of workflow definitions' metadata (0 or more). 38 | * @alias module:model/WorkflowDefinitionList 39 | * @class 40 | */ 41 | var exports = function() { 42 | var _this = this; 43 | 44 | 45 | }; 46 | 47 | /** 48 | * Constructs a WorkflowDefinitionList from a plain JavaScript object, optionally creating a new instance. 49 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 50 | * @param {Object} data The plain JavaScript object bearing properties of interest. 51 | * @param {module:model/WorkflowDefinitionList} obj Optional instance to populate. 52 | * @return {module:model/WorkflowDefinitionList} The populated WorkflowDefinitionList instance. 53 | */ 54 | exports.constructFromObject = function(data, obj) { 55 | if (data) { 56 | obj = obj || new exports(); 57 | 58 | if (data.hasOwnProperty('count')) { 59 | obj['count'] = ApiClient.convertToType(data['count'], 'Number'); 60 | } 61 | if (data.hasOwnProperty('value')) { 62 | obj['value'] = ApiClient.convertToType(data['value'], [WorkflowDefinitionMetadata]); 63 | } 64 | } 65 | return obj; 66 | } 67 | 68 | /** 69 | * Total number of definitions returned 70 | * @member {Number} count 71 | */ 72 | exports.prototype['count'] = undefined; 73 | /** 74 | * Array of workflow definition metadata 75 | * @member {Array.} value 76 | */ 77 | exports.prototype['value'] = undefined; 78 | 79 | 80 | 81 | return exports; 82 | })); 83 | 84 | 85 | -------------------------------------------------------------------------------- /src/model/InvalidWorkflowResponse.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient', 'model/ValidationErrors'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient'), require('./ValidationErrors')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.InvalidWorkflowResponse = factory(root.Docusign.ApiClient, root.Docusign.ValidationErrors); 25 | } 26 | }(this, function(ApiClient, ValidationErrors) { 27 | 'use strict'; 28 | 29 | 30 | /** 31 | * The InvalidWorkflowResponse model module. 32 | * @module model/InvalidWorkflowResponse 33 | */ 34 | 35 | /** 36 | * Constructs a new InvalidWorkflowResponse. 37 | * @alias module:model/InvalidWorkflowResponse 38 | * @class 39 | * @param message {String} 40 | * @param validationErrors {Array.} 41 | */ 42 | var exports = function(message, validationErrors) { 43 | var _this = this; 44 | 45 | _this['message'] = message; _this['validationErrors'] = validationErrors; 46 | }; 47 | 48 | /** 49 | * Constructs a InvalidWorkflowResponse from a plain JavaScript object, optionally creating a new instance. 50 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 51 | * @param {Object} data The plain JavaScript object bearing properties of interest. 52 | * @param {module:model/InvalidWorkflowResponse} obj Optional instance to populate. 53 | * @return {module:model/InvalidWorkflowResponse} The populated InvalidWorkflowResponse instance. 54 | */ 55 | exports.constructFromObject = function(data, obj) { 56 | if (data) { 57 | obj = obj || new exports(); 58 | 59 | if (data.hasOwnProperty('message')) { 60 | obj['message'] = ApiClient.convertToType(data['message'], 'String'); 61 | } 62 | if (data.hasOwnProperty('validationErrors')) { 63 | obj['validationErrors'] = ApiClient.convertToType(data['validationErrors'], [ValidationErrors]); 64 | } 65 | } 66 | return obj; 67 | } 68 | 69 | /** 70 | * @member {String} message 71 | */ 72 | exports.prototype['message'] = undefined; 73 | /** 74 | * @member {Array.} validationErrors 75 | */ 76 | exports.prototype['validationErrors'] = undefined; 77 | 78 | 79 | 80 | return exports; 81 | })); 82 | 83 | 84 | -------------------------------------------------------------------------------- /src/model/GetConfigurationInstanceResponse.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.GetConfigurationInstanceResponse = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | 30 | /** 31 | * The GetConfigurationInstanceResponse model module. 32 | * @module model/GetConfigurationInstanceResponse 33 | */ 34 | 35 | /** 36 | * Constructs a new GetConfigurationInstanceResponse. 37 | * @alias module:model/GetConfigurationInstanceResponse 38 | * @class 39 | */ 40 | var exports = function() { 41 | var _this = this; 42 | 43 | 44 | }; 45 | 46 | /** 47 | * Constructs a GetConfigurationInstanceResponse from a plain JavaScript object, optionally creating a new instance. 48 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 49 | * @param {Object} data The plain JavaScript object bearing properties of interest. 50 | * @param {module:model/GetConfigurationInstanceResponse} obj Optional instance to populate. 51 | * @return {module:model/GetConfigurationInstanceResponse} The populated GetConfigurationInstanceResponse instance. 52 | */ 53 | exports.constructFromObject = function(data, obj) { 54 | if (data) { 55 | obj = obj || new exports(); 56 | 57 | if (data.hasOwnProperty('savedValues')) { 58 | obj['savedValues'] = ApiClient.convertToType(data['savedValues'], Object); 59 | } 60 | if (data.hasOwnProperty('stepId')) { 61 | obj['stepId'] = ApiClient.convertToType(data['stepId'], 'String'); 62 | } 63 | if (data.hasOwnProperty('workflowDefinitionId')) { 64 | obj['workflowDefinitionId'] = ApiClient.convertToType(data['workflowDefinitionId'], 'String'); 65 | } 66 | } 67 | return obj; 68 | } 69 | 70 | /** 71 | * @member {Object} savedValues 72 | */ 73 | exports.prototype['savedValues'] = undefined; 74 | /** 75 | * @member {String} stepId 76 | */ 77 | exports.prototype['stepId'] = undefined; 78 | /** 79 | * @member {String} workflowDefinitionId 80 | */ 81 | exports.prototype['workflowDefinitionId'] = undefined; 82 | 83 | 84 | 85 | return exports; 86 | })); 87 | 88 | 89 | -------------------------------------------------------------------------------- /src/model/ReplicationStatus.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.ReplicationStatus = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | /** 30 | * Enum class ReplicationStatus. 31 | * @enum {} 32 | * @readonly 33 | */ 34 | var exports = { 35 | /** 36 | * value: "Deploy Replication In Progress" 37 | * @const 38 | */ 39 | "deployReplicationInProgress": "Deploy Replication In Progress", 40 | /** 41 | * value: "Deploy Replicated" 42 | * @const 43 | */ 44 | "deployReplicated": "Deploy Replicated", 45 | /** 46 | * value: "Deploy Replication Failed" 47 | * @const 48 | */ 49 | "deployReplicationFailed": "Deploy Replication Failed", 50 | /** 51 | * value: "Not Replicated" 52 | * @const 53 | */ 54 | "notReplicated": "Not Replicated", 55 | /** 56 | * value: "Delete Replication in Progress" 57 | * @const 58 | */ 59 | "deleteReplicationInProgress": "Delete Replication in Progress", 60 | /** 61 | * value: "Delete Replicated" 62 | * @const 63 | */ 64 | "deleteReplicated": "Delete Replicated", 65 | /** 66 | * value: "Delete Replication Failed" 67 | * @const 68 | */ 69 | "deleteReplicationFailed": "Delete Replication Failed", 70 | /** 71 | * value: "Unpublish replication in Progress" 72 | * @const 73 | */ 74 | "unpublishReplicationInProgress": "Unpublish replication in Progress", 75 | /** 76 | * value: "Unpublish Replicated" 77 | * @const 78 | */ 79 | "unpublishReplicated": "Unpublish Replicated", 80 | /** 81 | * value: "Unpublish Replication Failed" 82 | * @const 83 | */ 84 | "unpublishReplicationFailed": "Unpublish Replication Failed" }; 85 | 86 | /** 87 | * Returns a ReplicationStatus enum value from a Javascript object name. 88 | * @param {Object} data The plain JavaScript object containing the name of the enum value. 89 | * @return {module:model/ReplicationStatus} The enum ReplicationStatus value. 90 | */ 91 | exports.constructFromObject = function(object) { 92 | return object; 93 | }; 94 | 95 | return exports; 96 | })); 97 | 98 | 99 | -------------------------------------------------------------------------------- /src/model/DSWorkflowComparisonOperatorTypes.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.DSWorkflowComparisonOperatorTypes = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | /** 30 | * Enum class DSWorkflowComparisonOperatorTypes. 31 | * @enum {} 32 | * @readonly 33 | */ 34 | var exports = { 35 | /** 36 | * value: "Contains" 37 | * @const 38 | */ 39 | "contains": "Contains", 40 | /** 41 | * value: "NotContains" 42 | * @const 43 | */ 44 | "notContains": "NotContains", 45 | /** 46 | * value: "Equal" 47 | * @const 48 | */ 49 | "equal": "Equal", 50 | /** 51 | * value: "NotEqual" 52 | * @const 53 | */ 54 | "notEqual": "NotEqual", 55 | /** 56 | * value: "GreaterThan" 57 | * @const 58 | */ 59 | "greaterThan": "GreaterThan", 60 | /** 61 | * value: "GreaterThanOrEqual" 62 | * @const 63 | */ 64 | "greaterThanOrEqual": "GreaterThanOrEqual", 65 | /** 66 | * value: "LessThan" 67 | * @const 68 | */ 69 | "lessThan": "LessThan", 70 | /** 71 | * value: "LessThanOrEqual" 72 | * @const 73 | */ 74 | "lessThanOrEqual": "LessThanOrEqual", 75 | /** 76 | * value: "StartsWith" 77 | * @const 78 | */ 79 | "startsWith": "StartsWith", 80 | /** 81 | * value: "NotStartsWith" 82 | * @const 83 | */ 84 | "notStartsWith": "NotStartsWith", 85 | /** 86 | * value: "EndsWith" 87 | * @const 88 | */ 89 | "endsWith": "EndsWith", 90 | /** 91 | * value: "NotEndsWith" 92 | * @const 93 | */ 94 | "notEndsWith": "NotEndsWith" }; 95 | 96 | /** 97 | * Returns a DSWorkflowComparisonOperatorTypes enum value from a Javascript object name. 98 | * @param {Object} data The plain JavaScript object containing the name of the enum value. 99 | * @return {module:model/DSWorkflowComparisonOperatorTypes} The enum DSWorkflowComparisonOperatorTypes value. 100 | */ 101 | exports.constructFromObject = function(object) { 102 | return object; 103 | }; 104 | 105 | return exports; 106 | })); 107 | 108 | 109 | -------------------------------------------------------------------------------- /src/model/AccessTokenResponse.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient', 'model/AccessTokenTokenTypes'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient'), require('./AccessTokenTokenTypes')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.AccessTokenResponse = factory(root.Docusign.ApiClient, root.Docusign.AccessTokenTokenTypes); 25 | } 26 | }(this, function(ApiClient, AccessTokenTokenTypes) { 27 | 'use strict'; 28 | 29 | 30 | /** 31 | * The AccessTokenResponse model module. 32 | * @module model/AccessTokenResponse 33 | */ 34 | 35 | /** 36 | * Constructs a new AccessTokenResponse. 37 | * Access Token response details 38 | * @alias module:model/AccessTokenResponse 39 | * @class 40 | */ 41 | var exports = function() { 42 | var _this = this; 43 | 44 | 45 | }; 46 | 47 | /** 48 | * Constructs a AccessTokenResponse from a plain JavaScript object, optionally creating a new instance. 49 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 50 | * @param {Object} data The plain JavaScript object bearing properties of interest. 51 | * @param {module:model/AccessTokenResponse} obj Optional instance to populate. 52 | * @return {module:model/AccessTokenResponse} The populated AccessTokenResponse instance. 53 | */ 54 | exports.constructFromObject = function(data, obj) { 55 | if (data) { 56 | obj = obj || new exports(); 57 | 58 | if (data.hasOwnProperty('access_token')) { 59 | obj['access_token'] = ApiClient.convertToType(data['access_token'], 'String'); 60 | } 61 | if (data.hasOwnProperty('expires_in')) { 62 | obj['expires_in'] = ApiClient.convertToType(data['expires_in'], 'Number'); 63 | } 64 | if (data.hasOwnProperty('token_type')) { 65 | obj['token_type'] = AccessTokenTokenTypes.constructFromObject(data['token_type']); 66 | } 67 | } 68 | return obj; 69 | } 70 | 71 | /** 72 | * JWT access token 73 | * @member {String} access_token 74 | */ 75 | exports.prototype['access_token'] = undefined; 76 | /** 77 | * Expires in seconds 78 | * @member {Number} expires_in 79 | */ 80 | exports.prototype['expires_in'] = undefined; 81 | /** 82 | * @member {module:model/AccessTokenTokenTypes} token_type 83 | */ 84 | exports.prototype['token_type'] = undefined; 85 | 86 | 87 | 88 | return exports; 89 | })); 90 | 91 | 92 | -------------------------------------------------------------------------------- /src/model/TriggerPayload.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.TriggerPayload = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | 30 | /** 31 | * The TriggerPayload model module. 32 | * @module model/TriggerPayload 33 | */ 34 | 35 | /** 36 | * Constructs a new TriggerPayload. 37 | * JSON payload that will be passed to the triggered workflow 38 | * @alias module:model/TriggerPayload 39 | * @class 40 | */ 41 | var exports = function() { 42 | var _this = this; 43 | 44 | 45 | }; 46 | 47 | /** 48 | * Constructs a TriggerPayload from a plain JavaScript object, optionally creating a new instance. 49 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 50 | * @param {Object} data The plain JavaScript object bearing properties of interest. 51 | * @param {module:model/TriggerPayload} obj Optional instance to populate. 52 | * @return {module:model/TriggerPayload} The populated TriggerPayload instance. 53 | */ 54 | exports.constructFromObject = function(data, obj) { 55 | if (data) { 56 | obj = obj || new exports(); 57 | 58 | if (data.hasOwnProperty('instanceName')) { 59 | obj['instanceName'] = ApiClient.convertToType(data['instanceName'], 'String'); 60 | } 61 | if (data.hasOwnProperty('metadata')) { 62 | obj['metadata'] = ApiClient.convertToType(data['metadata'], Object); 63 | } 64 | if (data.hasOwnProperty('participants')) { 65 | obj['participants'] = ApiClient.convertToType(data['participants'], Object); 66 | } 67 | if (data.hasOwnProperty('payload')) { 68 | obj['payload'] = ApiClient.convertToType(data['payload'], Object); 69 | } 70 | } 71 | return obj; 72 | } 73 | 74 | /** 75 | * @member {String} instanceName 76 | */ 77 | exports.prototype['instanceName'] = undefined; 78 | /** 79 | * @member {Object} metadata 80 | */ 81 | exports.prototype['metadata'] = undefined; 82 | /** 83 | * @member {Object} participants 84 | */ 85 | exports.prototype['participants'] = undefined; 86 | /** 87 | * @member {Object} payload 88 | */ 89 | exports.prototype['payload'] = undefined; 90 | 91 | 92 | 93 | return exports; 94 | })); 95 | 96 | 97 | -------------------------------------------------------------------------------- /src/model/ProgressInstance.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.ProgressInstance = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | 30 | /** 31 | * The ProgressInstance model module. 32 | * @module model/ProgressInstance 33 | */ 34 | 35 | /** 36 | * Constructs a new ProgressInstance. 37 | * The progress information for a workflow instance 38 | * @alias module:model/ProgressInstance 39 | * @class 40 | */ 41 | var exports = function() { 42 | var _this = this; 43 | 44 | 45 | }; 46 | 47 | /** 48 | * Constructs a ProgressInstance from a plain JavaScript object, optionally creating a new instance. 49 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 50 | * @param {Object} data The plain JavaScript object bearing properties of interest. 51 | * @param {module:model/ProgressInstance} obj Optional instance to populate. 52 | * @return {module:model/ProgressInstance} The populated ProgressInstance instance. 53 | */ 54 | exports.constructFromObject = function(data, obj) { 55 | if (data) { 56 | obj = obj || new exports(); 57 | 58 | if (data.hasOwnProperty('completedSteps')) { 59 | obj['completedSteps'] = ApiClient.convertToType(data['completedSteps'], 'Number'); 60 | } 61 | if (data.hasOwnProperty('currentCompletedStepName')) { 62 | obj['currentCompletedStepName'] = ApiClient.convertToType(data['currentCompletedStepName'], 'String'); 63 | } 64 | if (data.hasOwnProperty('totalSteps')) { 65 | obj['totalSteps'] = ApiClient.convertToType(data['totalSteps'], 'Number'); 66 | } 67 | } 68 | return obj; 69 | } 70 | 71 | /** 72 | * The number of completed steps for this workflow instance 73 | * @member {Number} completedSteps 74 | */ 75 | exports.prototype['completedSteps'] = undefined; 76 | /** 77 | * The last completed step name 78 | * @member {String} currentCompletedStepName 79 | */ 80 | exports.prototype['currentCompletedStepName'] = undefined; 81 | /** 82 | * The total number of steps for this workflow instance 83 | * @member {Number} totalSteps 84 | */ 85 | exports.prototype['totalSteps'] = undefined; 86 | 87 | 88 | 89 | return exports; 90 | })); 91 | 92 | 93 | -------------------------------------------------------------------------------- /src/model/DeployResponse.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Maestro API 3 | * Maestro authors and executes experiences that allow non-coders the ability to define Simple Business Process without having to write code and to deploy them seamlessly without having to have development expertise 4 | * 5 | * OpenAPI spec version: 1.0.0 6 | * Contact: devcenter@docusign.com 7 | * 8 | * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. 9 | * 10 | */ 11 | 12 | (function(root, factory) { 13 | if (typeof define === 'function' && define.amd) { 14 | // AMD. Register as an anonymous module. 15 | define(['ApiClient'], factory); 16 | } else if (typeof module === 'object' && module.exports) { 17 | // CommonJS-like environments that support module.exports, like Node. 18 | module.exports = factory(require('../ApiClient')); 19 | } else { 20 | // Browser globals (root is window) 21 | if (!root.Docusign) { 22 | root.Docusign = {}; 23 | } 24 | root.Docusign.DeployResponse = factory(root.Docusign.ApiClient); 25 | } 26 | }(this, function(ApiClient) { 27 | 'use strict'; 28 | 29 | 30 | /** 31 | * The DeployResponse model module. 32 | * @module model/DeployResponse 33 | */ 34 | 35 | /** 36 | * Constructs a new DeployResponse. 37 | * @alias module:model/DeployResponse 38 | * @class 39 | * @param message {String} 40 | * @param pollUrl {String} 41 | */ 42 | var exports = function(message, pollUrl) { 43 | var _this = this; 44 | 45 | _this['message'] = message; _this['pollUrl'] = pollUrl; 46 | }; 47 | 48 | /** 49 | * Constructs a DeployResponse from a plain JavaScript object, optionally creating a new instance. 50 | * Copies all relevant properties from data to obj if supplied or a new instance if not. 51 | * @param {Object} data The plain JavaScript object bearing properties of interest. 52 | * @param {module:model/DeployResponse} obj Optional instance to populate. 53 | * @return {module:model/DeployResponse} The populated DeployResponse instance. 54 | */ 55 | exports.constructFromObject = function(data, obj) { 56 | if (data) { 57 | obj = obj || new exports(); 58 | 59 | if (data.hasOwnProperty('message')) { 60 | obj['message'] = ApiClient.convertToType(data['message'], 'String'); 61 | } 62 | if (data.hasOwnProperty('method')) { 63 | obj['method'] = ApiClient.convertToType(data['method'], 'String'); 64 | } 65 | if (data.hasOwnProperty('pollUrl')) { 66 | obj['pollUrl'] = ApiClient.convertToType(data['pollUrl'], 'String'); 67 | } 68 | if (data.hasOwnProperty('receivedTime')) { 69 | obj['receivedTime'] = ApiClient.convertToType(data['receivedTime'], 'Date'); 70 | } 71 | } 72 | return obj; 73 | } 74 | 75 | /** 76 | * @member {String} message 77 | */ 78 | exports.prototype['message'] = undefined; 79 | /** 80 | * @member {String} method 81 | */ 82 | exports.prototype['method'] = undefined; 83 | /** 84 | * @member {String} pollUrl 85 | */ 86 | exports.prototype['pollUrl'] = undefined; 87 | /** 88 | * @member {Date} receivedTime 89 | */ 90 | exports.prototype['receivedTime'] = undefined; 91 | 92 | 93 | 94 | return exports; 95 | })); 96 | 97 | 98 | --------------------------------------------------------------------------------