docusign_maestro 1.0.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6b536bae138e2e2b7d1cb7a7ec6fd3cc4cb88602bad48c94f71219f8b6d1e2f0
4
- data.tar.gz: 8146f85e1ac19ab161bebe1fa8dd41d82ed144b2f2e586e456605d16e17597a4
3
+ metadata.gz: f1f903f78987370d3660e291611452b4257670a25b0c36747dd77c3d1a3fc2b1
4
+ data.tar.gz: 9431cdc36e5a168fc5ae9ace6b7f779dc83b6feb2017643be4a09a26f46e9894
5
5
  SHA512:
6
- metadata.gz: 3642a9e4a044176d418495636670ea41fc61473c6bbd93648080cf45317f07315a4fe12a17281c66d2f36e59799afbbbb967f426d9514f72e1c50dadbbb0bf3d
7
- data.tar.gz: 4dba61cd2fb0f3029a3bed53d2d206eabb263b34a5fd4053664e3b66900fcfeacd9fcdbf12c6bbce2ce3134915cae38f3fbc0bb7e45a570e448470d159109817
6
+ metadata.gz: 17a8ba441b643242a83b587d33e5b8c1410c60d58fe17bffc66f114bd27f371cee018f155777aa045841879543f4561ee088c04659f807510c3766b43df407fb
7
+ data.tar.gz: 44eec7b1ed35fe838d32f7c14d52906c88d90cdbe406cf4293ba8e6bc5bae56fd09fe0e497c19996e6515d1e2887d686bca19f7d7b5c7248ac50ad306d14bdf6
data/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ ## [v2.0.0] - Maestro API v1.0.0-1.0.5 - 2024-07-30
2
+ ### Changed
3
+ - Added support for version v1.0.0-1.0.5 of the DocuSign Maestro API.
4
+ - Updated the SDK release version.
5
+
6
+ ## [v2.0.0.rc1] - Maestro API v1.0.0-1.0.5 - 2024-06-07
7
+ ### Changed
8
+ - Added support for version v1.0.0-1.0.5 of the DocuSign Maestro API.
9
+ - Updated the SDK release version.
10
+
1
11
  ## [v1.0.0] - Maestro API v1.0.0-1.0.4 - 2024-04-22
2
12
  ## Version 1.0.0 (Initial Release)
3
13
  - Announcing the SDK built on the OpenAPI specification for DocuSign Maestro APIs.
data/README.md CHANGED
@@ -1,228 +1,95 @@
1
- # docusign_maestro
2
-
3
- DocuSign_Maestro - the Ruby gem for the Maestro API
4
-
5
- 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
6
-
7
- This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
-
9
- - API version: 1.0.0
10
- - Package version: 1.0.0
11
- - Build package: io.swagger.codegen.languages.RubyClientCodegen
12
- For more information, please visit [https://developers.docusign.com/](https://developers.docusign.com/)
13
-
1
+ # The Official Docusign Maestro Ruby Client SDK
2
+
3
+ The Docusign SDK makes integrating Docusign into your apps and websites a seamless experience.
4
+
5
+ ## Table of Contents
6
+ - [Introduction](#introduction)
7
+ - [Installation](#installation)
8
+ * [Version Information](#versionInformation)
9
+ * [Requirements](#requirements)
10
+ * [Compatibility](#compatibility)
11
+ * [Installation via your application's Gemfile](#installationViaGem)
12
+ * [Manual Installation](#manualInstallation)
13
+ - [Dependencies](#dependencies)
14
+ - [API Reference](#apiReference)
15
+ - [Code Examples](#codeExamples)
16
+ - [OAuth Implementations](#oauthImplementations)
17
+ - [Changelog](#changeLog)
18
+ - [Support](#support)
19
+ - [License](#license)
20
+ - [Additional Resources](#additionalResources)
21
+
22
+ <a id="introduction"></a>
23
+ ## Introduction
24
+ Leverage the power of Docusign workflows. Enjoy greater flexibility to manage your agreements using your own code in concert with the Maestro Workflow Designer.
25
+
26
+ <a id="installation"></a>
14
27
  ## Installation
15
-
16
- ### Build a gem
17
-
18
- To build the Ruby code into a gem:
19
-
20
- ```shell
21
- gem build docusign_maestro.gemspec
22
- ```
23
-
24
- Then either install the gem locally:
25
-
26
- ```shell
27
- gem install ./docusign_maestro-1.0.0.gem
28
- ```
29
- (for development, run `gem install --dev ./docusign_maestro-1.0.0.gem` to install the development dependencies)
30
-
31
- or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
32
-
33
- Finally add this to the Gemfile:
34
-
35
- gem 'docusign_maestro', '~> 1.0.0'
36
-
37
- ### Install from Git
38
-
39
- If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:
40
-
41
- gem 'docusign_maestro', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'
42
-
43
- ### Include the Ruby code directly
44
-
45
- Include the Ruby code directly using `-I` as follows:
46
-
47
- ```shell
48
- ruby -Ilib script.rb
49
- ```
50
-
51
- ## Getting Started
52
-
53
- Please follow the [installation](#installation) procedure and then run the following code:
54
- ```ruby
55
- # Load the gem
56
- require 'docusign_maestro'
57
-
58
- # Setup authorization
59
- DocuSign_Maestro.configure do |config|
60
- # Configure OAuth2 access token for authorization: docusignAccessCode
61
- config.access_token = 'YOUR ACCESS TOKEN'
62
- end
63
-
64
- api_instance = DocuSign_Maestro::WorkflowInstanceManagementApi.new
65
-
66
- account_id = 'account_id_example' # String | Account ID
67
-
68
- instance_id = 'instance_id_example' # String | DS Workflow Instance Id (dacId)
69
-
70
-
71
- begin
72
- #Cancels a running workflow instance.
73
- result = api_instance.cancel_workflow_instance(account_id, instance_id)
74
- p result
75
- rescue DocuSign_Maestro::ApiError => e
76
- puts "Exception when calling WorkflowInstanceManagementApi->cancel_workflow_instance: #{e}"
77
- end
78
-
79
- ```
80
-
81
- ## Documentation for API Endpoints
82
-
83
- All URIs are relative to *https://www.docusign.net*
84
-
85
- Class | Method | HTTP request | Description
86
- ------------ | ------------- | ------------- | -------------
87
- *DocuSign_Maestro::WorkflowInstanceManagementApi* | [**cancel_workflow_instance**](docs/WorkflowInstanceManagementApi.md#cancel_workflow_instance) | **POST** aow-manage/v1.0/management/accounts/{accountId}/instances/{instanceId}/cancel | Cancels a running workflow instance.
88
- *DocuSign_Maestro::WorkflowInstanceManagementApi* | [**get_workflow_history**](docs/WorkflowInstanceManagementApi.md#get_workflow_history) | **GET** aow-manage/v1.0/management/accounts/{accountId}/instances/{instanceId}/history | Get List of Step Histories
89
- *DocuSign_Maestro::WorkflowInstanceManagementApi* | [**get_workflow_instance**](docs/WorkflowInstanceManagementApi.md#get_workflow_instance) | **GET** aow-manage/v1.0/management/accounts/{accountId}/workflowDefinitions/{workflowDefinitionId}/instances/{instanceId} | Get Workflow Instance Details
90
- *DocuSign_Maestro::WorkflowInstanceManagementApi* | [**get_workflow_instances**](docs/WorkflowInstanceManagementApi.md#get_workflow_instances) | **GET** aow-manage/v1.0/management/accounts/{accountId}/workflowDefinitions/{workflowDefinitionId}/instances | Get List of Workflow Instances
91
- *DocuSign_Maestro::WorkflowManagementApi* | [**create_workflow_definition**](docs/WorkflowManagementApi.md#create_workflow_definition) | **POST** aow-manage/v1.0/management/accounts/{accountId}/workflowDefinitions | Creates a new workflow definition.
92
- *DocuSign_Maestro::WorkflowManagementApi* | [**delete_workflow_definition**](docs/WorkflowManagementApi.md#delete_workflow_definition) | **DELETE** aow-manage/v1.0/management/accounts/{accountId}/workflowDefinitions/{workflowDefinitionId} | Deletes a workflow definition.
93
- *DocuSign_Maestro::WorkflowManagementApi* | [**get_workflow_definition**](docs/WorkflowManagementApi.md#get_workflow_definition) | **GET** aow-manage/v1.0/management/accounts/{accountId}/workflowDefinitions/{workflowDefinitionId} | Get Workflow Definition
94
- *DocuSign_Maestro::WorkflowManagementApi* | [**get_workflow_definition_config_instances**](docs/WorkflowManagementApi.md#get_workflow_definition_config_instances) | **GET** aow-manage/v1.0/management/accounts/{accountId}/workflowDefinitions/{workflowDefinitionId}/configInstances | Gets configuration instances
95
- *DocuSign_Maestro::WorkflowManagementApi* | [**get_workflow_definitions**](docs/WorkflowManagementApi.md#get_workflow_definitions) | **GET** aow-manage/v1.0/management/accounts/{accountId}/workflowDefinitions | Get Workflow Definitions metadata
96
- *DocuSign_Maestro::WorkflowManagementApi* | [**publish_or_un_publish_workflow_definition**](docs/WorkflowManagementApi.md#publish_or_un_publish_workflow_definition) | **POST** aow-manage/v1.0/management/accounts/{accountId}/workflowDefinitions/{workflowDefinitionId}/publish | Publishes or unpublishes a workflow definition.
97
- *DocuSign_Maestro::WorkflowManagementApi* | [**update_workflow_definition**](docs/WorkflowManagementApi.md#update_workflow_definition) | **PUT** aow-manage/v1.0/management/accounts/{accountId}/workflowDefinitions/{workflowDefinitionId} | Updates a workflow definition.
98
- *DocuSign_Maestro::WorkflowTriggerApi* | [**trigger_workflow**](docs/WorkflowTriggerApi.md#trigger_workflow) | **POST** aow-auth/v1.0/accounts/{accountId}/workflows/trigger | Creates a new workflow instance after authenticating with DS Account Server
99
-
100
-
101
- ## Documentation for Models
102
-
103
- - [DocuSign_Maestro::AccessTokenResponse](docs/AccessTokenResponse.md)
104
- - [DocuSign_Maestro::AccessTokenTokenTypes](docs/AccessTokenTokenTypes.md)
105
- - [DocuSign_Maestro::CancelResponse](docs/CancelResponse.md)
106
- - [DocuSign_Maestro::CreateOrUpdateWorkflowDefinitionRequestBody](docs/CreateOrUpdateWorkflowDefinitionRequestBody.md)
107
- - [DocuSign_Maestro::DSDoUntilStep](docs/DSDoUntilStep.md)
108
- - [DocuSign_Maestro::DSDocGenStep](docs/DSDocGenStep.md)
109
- - [DocuSign_Maestro::DSDocGenStepInput](docs/DSDocGenStepInput.md)
110
- - [DocuSign_Maestro::DSIdvStep](docs/DSIdvStep.md)
111
- - [DocuSign_Maestro::DSIdvStepInput](docs/DSIdvStepInput.md)
112
- - [DocuSign_Maestro::DSIfElseStep](docs/DSIfElseStep.md)
113
- - [DocuSign_Maestro::DSLoopStep](docs/DSLoopStep.md)
114
- - [DocuSign_Maestro::DSParallelStep](docs/DSParallelStep.md)
115
- - [DocuSign_Maestro::DSServiceStep](docs/DSServiceStep.md)
116
- - [DocuSign_Maestro::DSSignStep](docs/DSSignStep.md)
117
- - [DocuSign_Maestro::DSSignStepInput](docs/DSSignStepInput.md)
118
- - [DocuSign_Maestro::DSTransformationStep](docs/DSTransformationStep.md)
119
- - [DocuSign_Maestro::DSWebFormsStep](docs/DSWebFormsStep.md)
120
- - [DocuSign_Maestro::DSWebFormsStepConfig](docs/DSWebFormsStepConfig.md)
121
- - [DocuSign_Maestro::DSWorkflowBooleanExpression](docs/DSWorkflowBooleanExpression.md)
122
- - [DocuSign_Maestro::DSWorkflowComparisonExpression](docs/DSWorkflowComparisonExpression.md)
123
- - [DocuSign_Maestro::DSWorkflowComparisonOperatorTypes](docs/DSWorkflowComparisonOperatorTypes.md)
124
- - [DocuSign_Maestro::DSWorkflowConcatExpression](docs/DSWorkflowConcatExpression.md)
125
- - [DocuSign_Maestro::DSWorkflowDocGenDocOutputFormat](docs/DSWorkflowDocGenDocOutputFormat.md)
126
- - [DocuSign_Maestro::DSWorkflowExpressionTypesBooleanExpression](docs/DSWorkflowExpressionTypesBooleanExpression.md)
127
- - [DocuSign_Maestro::DSWorkflowExpressionTypesComparisonExpression](docs/DSWorkflowExpressionTypesComparisonExpression.md)
128
- - [DocuSign_Maestro::DSWorkflowExpressionTypesParallelExpression](docs/DSWorkflowExpressionTypesParallelExpression.md)
129
- - [DocuSign_Maestro::DSWorkflowIndexOfExpression](docs/DSWorkflowIndexOfExpression.md)
130
- - [DocuSign_Maestro::DSWorkflowLane](docs/DSWorkflowLane.md)
131
- - [DocuSign_Maestro::DSWorkflowLanesRecord](docs/DSWorkflowLanesRecord.md)
132
- - [DocuSign_Maestro::DSWorkflowLastIndexOfExpression](docs/DSWorkflowLastIndexOfExpression.md)
133
- - [DocuSign_Maestro::DSWorkflowLogicalOperatorTypes](docs/DSWorkflowLogicalOperatorTypes.md)
134
- - [DocuSign_Maestro::DSWorkflowParallelExpression](docs/DSWorkflowParallelExpression.md)
135
- - [DocuSign_Maestro::DSWorkflowParticipantRecord](docs/DSWorkflowParticipantRecord.md)
136
- - [DocuSign_Maestro::DSWorkflowReplaceExpression](docs/DSWorkflowReplaceExpression.md)
137
- - [DocuSign_Maestro::DSWorkflowStep](docs/DSWorkflowStep.md)
138
- - [DocuSign_Maestro::DSWorkflowStepTypesDSDocGen](docs/DSWorkflowStepTypesDSDocGen.md)
139
- - [DocuSign_Maestro::DSWorkflowStepTypesDSIdv](docs/DSWorkflowStepTypesDSIdv.md)
140
- - [DocuSign_Maestro::DSWorkflowStepTypesDSIfElse](docs/DSWorkflowStepTypesDSIfElse.md)
141
- - [DocuSign_Maestro::DSWorkflowStepTypesDSSign](docs/DSWorkflowStepTypesDSSign.md)
142
- - [DocuSign_Maestro::DSWorkflowStepTypesDSTransformation](docs/DSWorkflowStepTypesDSTransformation.md)
143
- - [DocuSign_Maestro::DSWorkflowStepTypesDSWebForms](docs/DSWorkflowStepTypesDSWebForms.md)
144
- - [DocuSign_Maestro::DSWorkflowStepTypesDoUntil](docs/DSWorkflowStepTypesDoUntil.md)
145
- - [DocuSign_Maestro::DSWorkflowStepTypesLoop](docs/DSWorkflowStepTypesLoop.md)
146
- - [DocuSign_Maestro::DSWorkflowStepTypesParallel](docs/DSWorkflowStepTypesParallel.md)
147
- - [DocuSign_Maestro::DSWorkflowSubstringExpression](docs/DSWorkflowSubstringExpression.md)
148
- - [DocuSign_Maestro::DSWorkflowToLowerExpression](docs/DSWorkflowToLowerExpression.md)
149
- - [DocuSign_Maestro::DSWorkflowToUpperExpression](docs/DSWorkflowToUpperExpression.md)
150
- - [DocuSign_Maestro::DSWorkflowTransformationExpression](docs/DSWorkflowTransformationExpression.md)
151
- - [DocuSign_Maestro::DSWorkflowTransformationExpressionTypesConcatExpression](docs/DSWorkflowTransformationExpressionTypesConcatExpression.md)
152
- - [DocuSign_Maestro::DSWorkflowTransformationExpressionTypesIndexOfExpression](docs/DSWorkflowTransformationExpressionTypesIndexOfExpression.md)
153
- - [DocuSign_Maestro::DSWorkflowTransformationExpressionTypesLastIndexOfExpression](docs/DSWorkflowTransformationExpressionTypesLastIndexOfExpression.md)
154
- - [DocuSign_Maestro::DSWorkflowTransformationExpressionTypesReplaceExpression](docs/DSWorkflowTransformationExpressionTypesReplaceExpression.md)
155
- - [DocuSign_Maestro::DSWorkflowTransformationExpressionTypesSubstringExpression](docs/DSWorkflowTransformationExpressionTypesSubstringExpression.md)
156
- - [DocuSign_Maestro::DSWorkflowTransformationExpressionTypesToLowerExpression](docs/DSWorkflowTransformationExpressionTypesToLowerExpression.md)
157
- - [DocuSign_Maestro::DSWorkflowTransformationExpressionTypesToUpperExpression](docs/DSWorkflowTransformationExpressionTypesToUpperExpression.md)
158
- - [DocuSign_Maestro::DSWorkflowTrigger](docs/DSWorkflowTrigger.md)
159
- - [DocuSign_Maestro::DSWorkflowTriggerTypes](docs/DSWorkflowTriggerTypes.md)
160
- - [DocuSign_Maestro::DSWorkflowVariable](docs/DSWorkflowVariable.md)
161
- - [DocuSign_Maestro::DSWorkflowVariableFromParticipant](docs/DSWorkflowVariableFromParticipant.md)
162
- - [DocuSign_Maestro::DSWorkflowVariableFromStep](docs/DSWorkflowVariableFromStep.md)
163
- - [DocuSign_Maestro::DSWorkflowVariableFromVariable](docs/DSWorkflowVariableFromVariable.md)
164
- - [DocuSign_Maestro::DSWorkflowVariableRecord](docs/DSWorkflowVariableRecord.md)
165
- - [DocuSign_Maestro::DSWorkflowVariableSourceTypesStep](docs/DSWorkflowVariableSourceTypesStep.md)
166
- - [DocuSign_Maestro::DSWorkflowVariableSourceTypesVariable](docs/DSWorkflowVariableSourceTypesVariable.md)
167
- - [DocuSign_Maestro::DeployRequest](docs/DeployRequest.md)
168
- - [DocuSign_Maestro::DeployResponse](docs/DeployResponse.md)
169
- - [DocuSign_Maestro::DeployStatus](docs/DeployStatus.md)
170
- - [DocuSign_Maestro::DeploymentStatus](docs/DeploymentStatus.md)
171
- - [DocuSign_Maestro::ESignDocumentFromESignTemplate](docs/ESignDocumentFromESignTemplate.md)
172
- - [DocuSign_Maestro::ESignDocumentFromPreviousStep](docs/ESignDocumentFromPreviousStep.md)
173
- - [DocuSign_Maestro::ESignDocumentTypesFromDSTemplate](docs/ESignDocumentTypesFromDSTemplate.md)
174
- - [DocuSign_Maestro::ESignDocumentTypesFromPreviousStep](docs/ESignDocumentTypesFromPreviousStep.md)
175
- - [DocuSign_Maestro::ESignDocuments](docs/ESignDocuments.md)
176
- - [DocuSign_Maestro::ESignLocalePolicy](docs/ESignLocalePolicy.md)
177
- - [DocuSign_Maestro::ESignSigner](docs/ESignSigner.md)
178
- - [DocuSign_Maestro::ESignTabs](docs/ESignTabs.md)
179
- - [DocuSign_Maestro::ESignTabsRecord](docs/ESignTabsRecord.md)
180
- - [DocuSign_Maestro::ErrorCodes](docs/ErrorCodes.md)
181
- - [DocuSign_Maestro::ErrorResponse](docs/ErrorResponse.md)
182
- - [DocuSign_Maestro::EventTypes](docs/EventTypes.md)
183
- - [DocuSign_Maestro::GetConfigurationInstanceResponse](docs/GetConfigurationInstanceResponse.md)
184
- - [DocuSign_Maestro::GetConfigurationInstancesResponse](docs/GetConfigurationInstancesResponse.md)
185
- - [DocuSign_Maestro::GetConfigurationInstancesResponseConfigInstances](docs/GetConfigurationInstancesResponseConfigInstances.md)
186
- - [DocuSign_Maestro::HttpTypes](docs/HttpTypes.md)
187
- - [DocuSign_Maestro::InvalidWorkflowResponse](docs/InvalidWorkflowResponse.md)
188
- - [DocuSign_Maestro::NewOrUpdatedWorkflowDefinitionResponse](docs/NewOrUpdatedWorkflowDefinitionResponse.md)
189
- - [DocuSign_Maestro::NumberOrVariable](docs/NumberOrVariable.md)
190
- - [DocuSign_Maestro::Participant](docs/Participant.md)
191
- - [DocuSign_Maestro::ProgressInstance](docs/ProgressInstance.md)
192
- - [DocuSign_Maestro::RecordStringBoolean](docs/RecordStringBoolean.md)
193
- - [DocuSign_Maestro::RecordStringOrVariableOrTransformation](docs/RecordStringOrVariableOrTransformation.md)
194
- - [DocuSign_Maestro::RecordToNever](docs/RecordToNever.md)
195
- - [DocuSign_Maestro::ReplicationStatus](docs/ReplicationStatus.md)
196
- - [DocuSign_Maestro::StartedByInstance](docs/StartedByInstance.md)
197
- - [DocuSign_Maestro::StringOrVariableOrTransformation](docs/StringOrVariableOrTransformation.md)
198
- - [DocuSign_Maestro::SuccessMessageResponse](docs/SuccessMessageResponse.md)
199
- - [DocuSign_Maestro::TriggerPayload](docs/TriggerPayload.md)
200
- - [DocuSign_Maestro::TriggerWorkflowViaPostResponse](docs/TriggerWorkflowViaPostResponse.md)
201
- - [DocuSign_Maestro::ValidationErrors](docs/ValidationErrors.md)
202
- - [DocuSign_Maestro::WorkflowDefinition](docs/WorkflowDefinition.md)
203
- - [DocuSign_Maestro::WorkflowDefinitionList](docs/WorkflowDefinitionList.md)
204
- - [DocuSign_Maestro::WorkflowDefinitionMetadata](docs/WorkflowDefinitionMetadata.md)
205
- - [DocuSign_Maestro::WorkflowDefinitionWithId](docs/WorkflowDefinitionWithId.md)
206
- - [DocuSign_Maestro::WorkflowDeleteResponse](docs/WorkflowDeleteResponse.md)
207
- - [DocuSign_Maestro::WorkflowInstance](docs/WorkflowInstance.md)
208
- - [DocuSign_Maestro::WorkflowInstanceMap](docs/WorkflowInstanceMap.md)
209
- - [DocuSign_Maestro::WorkflowInstanceState](docs/WorkflowInstanceState.md)
210
- - [DocuSign_Maestro::WorkflowInstancesList](docs/WorkflowInstancesList.md)
211
- - [DocuSign_Maestro::WorkflowMetadataStatus](docs/WorkflowMetadataStatus.md)
212
- - [DocuSign_Maestro::WorkflowStepError](docs/WorkflowStepError.md)
213
- - [DocuSign_Maestro::WorkflowStepErrorError](docs/WorkflowStepErrorError.md)
214
- - [DocuSign_Maestro::WorkflowStepHistory](docs/WorkflowStepHistory.md)
215
- - [DocuSign_Maestro::WorkflowStepHistoryList](docs/WorkflowStepHistoryList.md)
216
- - [DocuSign_Maestro::WorkflowStepHistoryState](docs/WorkflowStepHistoryState.md)
217
-
218
-
219
- ## Documentation for Authorization
220
-
221
-
222
- ### docusignAccessCode
223
-
224
- - **Type**: OAuth
225
- - **Flow**: accessCode
226
- - **Authorization URL**: https://account.docusign.com/oauth/auth
227
- - **Scopes**: N/A
228
-
28
+ This client SDK is provided as open source, which enables you to customize its functionality to suit your particular use case. To do so, download or clone the repository. If the SDK’s given functionality meets your integration needs, or if you’re working through our [code examples](https://developers.docusign.com/docs/maestro-api/how-to/) from the [Docusign Developer Center](https://developers.docusign.com/), you merely need to install it by following the instructions below.
29
+
30
+ <a id="versionInformation"></a>
31
+ ### Version Information
32
+ - **API version**: 1.0.0
33
+ - **Latest SDK version**: 2.0.0
34
+
35
+ <a id="requirements"></a>
36
+ ## Requirements
37
+ * Ruby 1.9+
38
+ * Free [developer account](https://go.docusign.com/o/sandbox/?postActivateUrl=https://developers.docusign.com/)
39
+
40
+ <a id="compatibility"></a>
41
+ ## Compatibility
42
+ * Ruby 1.9+
43
+
44
+ <a id="installationViaGem"></a>
45
+ ### Installation via your application's Gemfile:
46
+ 1. In your application's Gemfile, add:
47
+ `gem 'docusign_maestro'`
48
+ 2. Open your preferred console.
49
+ 3. In your project directory, execute the installer by typing: **bundle install**
50
+
51
+ <a id="manualInstallation"></a>
52
+ ### Manual Installation:
53
+ 1. Open your preferred console.
54
+ 2. In the console, type: **gem install docusign_maestro**
55
+
56
+ <a id="dependencies"></a>
57
+ ### SDK Dependencies
58
+ This client has the following external dependencies:
59
+ * Jwt v2.2.1
60
+ * Json v2.1.0
61
+ * addressable v2.7.0
62
+ * Typhoeus v1.0.1
63
+
64
+ <a id="apiReference"></a>
65
+ ## API Reference
66
+ You can refer to the API reference [here](https://developers.docusign.com/docs/maestro-api/reference/).
67
+
68
+ <a id="codeExamples"></a>
69
+ ## Code examples
70
+ Explore our GitHub repository for the [Launcher](https://github.com/docusign/code-examples-ruby/), a self-executing package housing code examples for the Maestro Ruby SDK. This package showcases several common use cases and their respective source files. Additionally, you can download a version preconfigured for your Docusign developer account from [Quickstart](https://developers.docusign.com/docs/esign-rest-api/quickstart/). These examples support both the [Authorization Code Grant](https://developers.docusign.com/platform/auth/authcode/) and [JSON Web Token (JWT)](https://developers.docusign.com/platform/auth/jwt/) authentication workflows.
71
+
72
+ <a id="oauthImplementations"></a>
73
+ ## OAuth implementations
74
+ For details regarding which type of OAuth grant will work best for your Docusign integration, see [Choose OAuth Type](https://developers.docusign.com/platform/auth/choose/) in the [Docusign Developer Center](https://developers.docusign.com/).
75
+
76
+ For security purposes, Docusign recommends using the [Authorization Code Grant](https://developers.docusign.com/platform/auth/authcode/) flow.
77
+
78
+ <a id="changeLog"></a>
79
+ ## Changelog
80
+ You can refer to the complete changelog [here](https://github.com/docusign/docusign-maestro-ruby-client/blob/master/CHANGELOG.md).
81
+
82
+ <a id="support"></a>
83
+ ## Support
84
+ Log issues against this client SDK through GitHub. You can also reach out to us through [Docusign Community](https://community.docusign.com/developer-59) and [Stack Overflow](https://stackoverflow.com/questions/tagged/docusignapi).
85
+
86
+ <a id="license"></a>
87
+ ## License
88
+ The Docusign Maestro Ruby Client SDK is licensed under the [MIT License](https://github.com/docusign/docusign-maestro-ruby-client/blob/master/LICENSE).
89
+
90
+ <a id="additionalResources"></a>
91
+ ### Additional resources
92
+ * [Docusign Developer Center](https://developers.docusign.com/)
93
+ * [Docusign API on Twitter](https://twitter.com/docusignapi)
94
+ * [Docusign For Developers on LinkedIn](https://www.linkedin.com/showcase/docusign-for-developers/)
95
+ * [Docusign For Developers on YouTube](https://www.youtube.com/channel/UCJSJ2kMs_qeQotmw4-lX2NQ)
@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
22
22
  s.email = ["devcenter@docusign.com"]
23
23
  s.homepage = "https://github.com/docusign/docusign-maestro-ruby-client"
24
24
  s.summary = "Maestro API Ruby Gem"
25
- s.description = "The DocuSign package makes integrating DocuSign into your apps and websites a super fast and painless process. The library is open sourced on GitHub, look for the docusign-maestro-ruby-client repository."
25
+ s.description = "The Docusign package makes integrating Docusign into your apps and websites a super fast and painless process. The library is open sourced on GitHub, look for the docusign-maestro-ruby-client repository."
26
26
  s.license = "MIT"
27
27
  s.required_ruby_version = ">= 1.9"
28
28
 
@@ -45,7 +45,7 @@ module DocuSign_Maestro
45
45
  # verify the required parameter 'instance_id' is set
46
46
  fail ArgumentError, "Missing the required parameter 'instance_id' when calling WorkflowInstanceManagementApi.cancel_workflow_instance" if instance_id.nil?
47
47
  # resource path
48
- local_var_path = "aow-manage/v1.0/management/accounts/{accountId}/instances/{instanceId}/cancel".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'instanceId' + '}', instance_id.to_s)
48
+ local_var_path = "/v1/accounts/{accountId}/management/instances/{instanceId}/cancel".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'instanceId' + '}', instance_id.to_s)
49
49
 
50
50
  # query parameters
51
51
  query_params = {}
@@ -100,7 +100,7 @@ module DocuSign_Maestro
100
100
  # verify the required parameter 'instance_id' is set
101
101
  fail ArgumentError, "Missing the required parameter 'instance_id' when calling WorkflowInstanceManagementApi.get_workflow_history" if instance_id.nil?
102
102
  # resource path
103
- local_var_path = "aow-manage/v1.0/management/accounts/{accountId}/instances/{instanceId}/history".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'instanceId' + '}', instance_id.to_s)
103
+ local_var_path = "/v1/accounts/{accountId}/management/instances/{instanceId}/history".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'instanceId' + '}', instance_id.to_s)
104
104
 
105
105
  # query parameters
106
106
  query_params = {}
@@ -159,7 +159,7 @@ module DocuSign_Maestro
159
159
  # verify the required parameter 'instance_id' is set
160
160
  fail ArgumentError, "Missing the required parameter 'instance_id' when calling WorkflowInstanceManagementApi.get_workflow_instance" if instance_id.nil?
161
161
  # resource path
162
- local_var_path = "aow-manage/v1.0/management/accounts/{accountId}/workflowDefinitions/{workflowDefinitionId}/instances/{instanceId}".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'workflowDefinitionId' + '}', workflow_definition_id.to_s).sub('{' + 'instanceId' + '}', instance_id.to_s)
162
+ local_var_path = "/v1/accounts/{accountId}/management/workflow_definitions/{workflowDefinitionId}/instances/{instanceId}".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'workflowDefinitionId' + '}', workflow_definition_id.to_s).sub('{' + 'instanceId' + '}', instance_id.to_s)
163
163
 
164
164
  # query parameters
165
165
  query_params = {}
@@ -214,7 +214,7 @@ module DocuSign_Maestro
214
214
  # verify the required parameter 'workflow_definition_id' is set
215
215
  fail ArgumentError, "Missing the required parameter 'workflow_definition_id' when calling WorkflowInstanceManagementApi.get_workflow_instances" if workflow_definition_id.nil?
216
216
  # resource path
217
- local_var_path = "aow-manage/v1.0/management/accounts/{accountId}/workflowDefinitions/{workflowDefinitionId}/instances".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'workflowDefinitionId' + '}', workflow_definition_id.to_s)
217
+ local_var_path = "/v1/accounts/{accountId}/management/workflow_definitions/{workflowDefinitionId}/instances".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'workflowDefinitionId' + '}', workflow_definition_id.to_s)
218
218
 
219
219
  # query parameters
220
220
  query_params = {}
@@ -63,7 +63,7 @@ module DocuSign_Maestro
63
63
  # verify the required parameter 'body' is set
64
64
  fail ArgumentError, "Missing the required parameter 'body' when calling WorkflowManagementApi.create_workflow_definition" if body.nil?
65
65
  # resource path
66
- local_var_path = "aow-manage/v1.0/management/accounts/{accountId}/workflowDefinitions".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s)
66
+ local_var_path = "/v1/accounts/{accountId}/management/workflow_definitions".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s)
67
67
 
68
68
  # query parameters
69
69
  query_params = {}
@@ -118,7 +118,7 @@ module DocuSign_Maestro
118
118
  # verify the required parameter 'workflow_definition_id' is set
119
119
  fail ArgumentError, "Missing the required parameter 'workflow_definition_id' when calling WorkflowManagementApi.delete_workflow_definition" if workflow_definition_id.nil?
120
120
  # resource path
121
- local_var_path = "aow-manage/v1.0/management/accounts/{accountId}/workflowDefinitions/{workflowDefinitionId}".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'workflowDefinitionId' + '}', workflow_definition_id.to_s)
121
+ local_var_path = "/v1/accounts/{accountId}/management/workflow_definitions/{workflowDefinitionId}".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'workflowDefinitionId' + '}', workflow_definition_id.to_s)
122
122
 
123
123
  # query parameters
124
124
  query_params = {}
@@ -175,7 +175,7 @@ module DocuSign_Maestro
175
175
  # verify the required parameter 'workflow_definition_id' is set
176
176
  fail ArgumentError, "Missing the required parameter 'workflow_definition_id' when calling WorkflowManagementApi.get_workflow_definition" if workflow_definition_id.nil?
177
177
  # resource path
178
- local_var_path = "aow-manage/v1.0/management/accounts/{accountId}/workflowDefinitions/{workflowDefinitionId}".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'workflowDefinitionId' + '}', workflow_definition_id.to_s)
178
+ local_var_path = "/v1/accounts/{accountId}/management/workflow_definitions/{workflowDefinitionId}".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'workflowDefinitionId' + '}', workflow_definition_id.to_s)
179
179
 
180
180
  # query parameters
181
181
  query_params = {}
@@ -231,7 +231,7 @@ module DocuSign_Maestro
231
231
  # verify the required parameter 'workflow_definition_id' is set
232
232
  fail ArgumentError, "Missing the required parameter 'workflow_definition_id' when calling WorkflowManagementApi.get_workflow_definition_config_instances" if workflow_definition_id.nil?
233
233
  # resource path
234
- local_var_path = "aow-manage/v1.0/management/accounts/{accountId}/workflowDefinitions/{workflowDefinitionId}/configInstances".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'workflowDefinitionId' + '}', workflow_definition_id.to_s)
234
+ local_var_path = "/v1/accounts/{accountId}/management/workflow_definitions/{workflowDefinitionId}/config_instances".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'workflowDefinitionId' + '}', workflow_definition_id.to_s)
235
235
 
236
236
  # query parameters
237
237
  query_params = {}
@@ -287,7 +287,7 @@ module DocuSign_Maestro
287
287
  fail ArgumentError, 'invalid value for "status", must be one of active, inactive, publishing, unpublishing, archived, archiving'
288
288
  end
289
289
  # resource path
290
- local_var_path = "aow-manage/v1.0/management/accounts/{accountId}/workflowDefinitions".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s)
290
+ local_var_path = "/v1/accounts/{accountId}/management/workflow_definitions".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s)
291
291
 
292
292
  # query parameters
293
293
  query_params = {}
@@ -347,7 +347,7 @@ module DocuSign_Maestro
347
347
  # verify the required parameter 'body' is set
348
348
  fail ArgumentError, "Missing the required parameter 'body' when calling WorkflowManagementApi.publish_or_un_publish_workflow_definition" if body.nil?
349
349
  # resource path
350
- local_var_path = "aow-manage/v1.0/management/accounts/{accountId}/workflowDefinitions/{workflowDefinitionId}/publish".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'workflowDefinitionId' + '}', workflow_definition_id.to_s)
350
+ local_var_path = "/v1/accounts/{accountId}/management/workflow_definitions/{workflowDefinitionId}/publish".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'workflowDefinitionId' + '}', workflow_definition_id.to_s)
351
351
 
352
352
  # query parameters
353
353
  query_params = {}
@@ -406,7 +406,7 @@ module DocuSign_Maestro
406
406
  # verify the required parameter 'body' is set
407
407
  fail ArgumentError, "Missing the required parameter 'body' when calling WorkflowManagementApi.update_workflow_definition" if body.nil?
408
408
  # resource path
409
- local_var_path = "aow-manage/v1.0/management/accounts/{accountId}/workflowDefinitions/{workflowDefinitionId}".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'workflowDefinitionId' + '}', workflow_definition_id.to_s)
409
+ local_var_path = "/v1/accounts/{accountId}/management/workflow_definitions/{workflowDefinitionId}".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'workflowDefinitionId' + '}', workflow_definition_id.to_s)
410
410
 
411
411
  # query parameters
412
412
  query_params = {}
@@ -36,30 +36,34 @@ module DocuSign_Maestro
36
36
  # Creates a new workflow instance after authenticating with DS Account Server
37
37
  # Creates a new workflow instance after authenticating with DS Account Server
38
38
  # @param account_id Account ID
39
+ # @param workflow_definition_id Workflow Definition ID
39
40
  # @param body JSON payload that will be passed to the triggered workflow
40
41
  # @param DocuSign_Maestro::TriggerWorkflowOptions Options for modifying the behavior of the function.
41
42
  # @return [TriggerWorkflowViaPostResponse]
42
- def trigger_workflow(account_id, body, options = DocuSign_Maestro::TriggerWorkflowOptions.default)
43
- data, _status_code, _headers = trigger_workflow_with_http_info(account_id, body, options)
43
+ def trigger_workflow(account_id, workflow_definition_id, body, options = DocuSign_Maestro::TriggerWorkflowOptions.default)
44
+ data, _status_code, _headers = trigger_workflow_with_http_info(account_id, workflow_definition_id, body, options)
44
45
  return data
45
46
  end
46
47
 
47
48
  # Creates a new workflow instance after authenticating with DS Account Server
48
49
  # Creates a new workflow instance after authenticating with DS Account Server
49
50
  # @param account_id Account ID
51
+ # @param workflow_definition_id Workflow Definition ID
50
52
  # @param body JSON payload that will be passed to the triggered workflow
51
53
  # @param DocuSign_Maestro::TriggerWorkflowOptions Options for modifying the behavior of the function.
52
54
  # @return [Array<(TriggerWorkflowViaPostResponse, Fixnum, Hash)>] TriggerWorkflowViaPostResponse data, response status code and response headers
53
- def trigger_workflow_with_http_info(account_id, body, options = DocuSign_Maestro::TriggerWorkflowOptions.default)
55
+ def trigger_workflow_with_http_info(account_id, workflow_definition_id, body, options = DocuSign_Maestro::TriggerWorkflowOptions.default)
54
56
  if @api_client.config.debugging
55
57
  @api_client.config.logger.debug "Calling API: WorkflowTriggerApi.trigger_workflow ..."
56
58
  end
57
59
  # verify the required parameter 'account_id' is set
58
60
  fail ArgumentError, "Missing the required parameter 'account_id' when calling WorkflowTriggerApi.trigger_workflow" if account_id.nil?
61
+ # verify the required parameter 'workflow_definition_id' is set
62
+ fail ArgumentError, "Missing the required parameter 'workflow_definition_id' when calling WorkflowTriggerApi.trigger_workflow" if workflow_definition_id.nil?
59
63
  # verify the required parameter 'body' is set
60
64
  fail ArgumentError, "Missing the required parameter 'body' when calling WorkflowTriggerApi.trigger_workflow" if body.nil?
61
65
  # resource path
62
- local_var_path = "aow-auth/v1.0/accounts/{accountId}/workflows/trigger".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s)
66
+ local_var_path = "/v1/accounts/{accountId}/workflow_definitions/{workflowDefinitionId}/trigger".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'workflowDefinitionId' + '}', workflow_definition_id.to_s)
63
67
 
64
68
  # query parameters
65
69
  query_params = {}
@@ -35,7 +35,7 @@ module DocuSign_Maestro
35
35
  # @option config [Configuration] Configuration for initializing the object, default to Configuration.default
36
36
  def initialize(config = Configuration.default)
37
37
  @config = config
38
- @user_agent = "Swagger-Codegen/1.0.0/1.0.0/ruby-#{RUBY_VERSION}p#{RUBY_PATCHLEVEL}"
38
+ @user_agent = "Swagger-Codegen/1.0.0/2.0.0/ruby-#{RUBY_VERSION}p#{RUBY_PATCHLEVEL}"
39
39
  @default_headers = {
40
40
  'Content-Type' => "application/json",
41
41
  'User-Agent' => @user_agent
@@ -426,7 +426,7 @@ module DocuSign_Maestro
426
426
  end
427
427
 
428
428
  # Helper method to configure the OAuth accessCode/implicit flow parameters
429
- # @param [String] client_id DocuSign OAuth Client Id(AKA Integrator Key)
429
+ # @param [String] client_id Docusign OAuth Client Id(AKA Integrator Key)
430
430
  # @param scopes The list of requested scopes. Client applications may be scoped to a limited set of system access.
431
431
  # @param [String] redirect_uri This determines where to deliver the response containing the authorization code
432
432
  # @param [String] response_type Determines the response type of the authorization request, NOTE: these response types are mutually exclusive for a client application. A public/native client application may only request a response type
@@ -446,8 +446,8 @@ module DocuSign_Maestro
446
446
  end
447
447
 
448
448
  # Request JWT User Token
449
- # @param [String] client_id DocuSign OAuth Client Id(AKA Integrator Key)
450
- # @param [String] user_id DocuSign user Id to be impersonated
449
+ # @param [String] client_id Docusign OAuth Client Id(AKA Integrator Key)
450
+ # @param [String] user_id Docusign user Id to be impersonated
451
451
  # @param [String] private_key_or_filename the RSA private key
452
452
  # @param [Number] expires_in number of seconds remaining before the JWT assertion is considered as invalid
453
453
  # @param scopes The list of requested scopes. Client applications may be scoped to a limited set of system access.
@@ -497,7 +497,7 @@ module DocuSign_Maestro
497
497
  end
498
498
 
499
499
  # Request JWT User Token
500
- # @param [String] client_id DocuSign OAuth Client Id(AKA Integrator Key)
500
+ # @param [String] client_id Docusign OAuth Client Id(AKA Integrator Key)
501
501
  # @param [String] private_key_or_filename the RSA private key
502
502
  # @param [Number] expires_in number of seconds remaining before the JWT assertion is considered as invalid
503
503
  # @param scopes The list of requested scopes. Client applications may be scoped to a limited set of system access.
@@ -559,8 +559,8 @@ module DocuSign_Maestro
559
559
  end
560
560
 
561
561
  # GenerateAccessToken will exchange the authorization code for an access token and refresh tokens.
562
- # @param [String] client_id DocuSign OAuth Client Id(AKA Integrator Key)
563
- # @param [String] client_secret The secret key you generated when you set up the integration in DocuSign Admin console.
562
+ # @param [String] client_id Docusign OAuth Client Id(AKA Integrator Key)
563
+ # @param [String] client_secret The secret key you generated when you set up the integration in Docusign Admin console.
564
564
  # @param [String] code The authorization code
565
565
  def generate_access_token(client_id, client_secret, code)
566
566
  raise ArgumentError.new('client_id cannot be empty') if client_id.empty?
@@ -124,8 +124,8 @@ module DocuSign_Maestro
124
124
 
125
125
  def initialize
126
126
  @scheme = 'https'
127
- @host = 'www.docusign.net'
128
- @base_path = '/'
127
+ @host = 'apps.docusign.com'
128
+ @base_path = '/api/maestro'
129
129
  @api_key = {}
130
130
  @api_key_prefix = {}
131
131
  @timeout = 0
@@ -10,5 +10,5 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git
10
10
  =end
11
11
 
12
12
  module DocuSign_Maestro
13
- VERSION = '1.0.0'
13
+ VERSION = '2.0.0'
14
14
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docusign_maestro
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - DocuSign
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-29 00:00:00.000000000 Z
11
+ date: 2024-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jwt
@@ -270,7 +270,7 @@ dependencies:
270
270
  - - ">="
271
271
  - !ruby/object:Gem::Version
272
272
  version: 0.2.11
273
- description: The DocuSign package makes integrating DocuSign into your apps and websites
273
+ description: The Docusign package makes integrating Docusign into your apps and websites
274
274
  a super fast and painless process. The library is open sourced on GitHub, look for
275
275
  the docusign-maestro-ruby-client repository.
276
276
  email: