docusign_maestro 1.0.0.rc1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -34
- data/README.md +4 -6
- data/lib/docusign_maestro/client/api_client.rb +1 -1
- data/lib/docusign_maestro/models/deployment_status.rb +2 -0
- data/lib/docusign_maestro/models/ds_workflow_variable_from_participant.rb +3 -45
- data/lib/docusign_maestro/models/error_codes.rb +1 -0
- data/lib/docusign_maestro/models/event_types.rb +13 -0
- data/lib/docusign_maestro/models/started_by_instance.rb +2 -2
- data/lib/docusign_maestro/models/workflow_instance.rb +1 -0
- data/lib/docusign_maestro/models/workflow_instance_state.rb +2 -0
- data/lib/docusign_maestro/models/workflow_step_history_state.rb +1 -0
- data/lib/docusign_maestro/version.rb +1 -1
- data/lib/docusign_maestro.rb +0 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6b536bae138e2e2b7d1cb7a7ec6fd3cc4cb88602bad48c94f71219f8b6d1e2f0
|
4
|
+
data.tar.gz: 8146f85e1ac19ab161bebe1fa8dd41d82ed144b2f2e586e456605d16e17597a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3642a9e4a044176d418495636670ea41fc61473c6bbd93648080cf45317f07315a4fe12a17281c66d2f36e59799afbbbb967f426d9514f72e1c50dadbbb0bf3d
|
7
|
+
data.tar.gz: 4dba61cd2fb0f3029a3bed53d2d206eabb263b34a5fd4053664e3b66900fcfeacd9fcdbf12c6bbce2ce3134915cae38f3fbc0bb7e45a570e448470d159109817
|
data/CHANGELOG.md
CHANGED
@@ -1,35 +1,7 @@
|
|
1
|
-
## [v1.0.0
|
2
|
-
|
3
|
-
-
|
4
|
-
-
|
5
|
-
|
6
|
-
## [v1.0.1.rc1] - Maestro API v1.0.0-1.0.1 - 2024-01-29
|
7
|
-
### Changed
|
8
|
-
- Added support for version v1.0.0-1.0.1 of the DocuSign Maestro API.
|
9
|
-
- Updated the SDK release version.
|
10
|
-
|
11
|
-
## [v1.0.0.rc6] - Maestro API v1.0.0-1.0.0 - 2024-01-05
|
12
|
-
### Changed
|
13
|
-
- Added support for version v1.0.0-1.0.0 of the DocuSign Maestro API.
|
14
|
-
- Updated the SDK release version.
|
15
|
-
|
16
|
-
## [v1.0.0.rc5] - Maestro API v1.0.0-1.0.0 - 2024-01-04
|
17
|
-
### Changed
|
18
|
-
- Added support for version v1.0.0-1.0.0 of the DocuSign Maestro API.
|
19
|
-
- Updated the SDK release version.
|
20
|
-
|
21
|
-
## [v1.0.0.rc4] - Maestro API v1.0.0-1.0.0 - 2024-01-04
|
22
|
-
### Changed
|
23
|
-
- Added support for version v1.0.0-1.0.0 of the DocuSign Maestro API.
|
24
|
-
- Updated the SDK release version.
|
25
|
-
|
26
|
-
## [v1.0.0.rc03] - Maestro API v1.0.0-1.0.0 - 2023-12-19
|
27
|
-
### Changed
|
28
|
-
- Added support for version v1.0.0-1.0.0 of the DocuSign Maestro API.
|
29
|
-
- Updated the SDK release version.
|
30
|
-
|
31
|
-
## [v1.0.0.rc02] - Maestro API 1.0.0-1.0.0 - 2023-12-15
|
32
|
-
### Changed
|
33
|
-
- Added support for version 1.0.0-1.0.0 of the DocuSign Maestro API.
|
34
|
-
- Updated the SDK release version.
|
1
|
+
## [v1.0.0] - Maestro API v1.0.0-1.0.4 - 2024-04-22
|
2
|
+
## Version 1.0.0 (Initial Release)
|
3
|
+
- Announcing the SDK built on the OpenAPI specification for DocuSign Maestro APIs.
|
4
|
+
- This release signifies the initial launch of the SDK, offering developers the essential tools for seamless interaction with DocuSign Maestro APIs.
|
35
5
|
|
6
|
+
## [v1.0.0.rc1] - Maestro API v1.0.0-1.0.3 - 2024-04-03
|
7
|
+
- Announcing the Release Candidate SDK built on the OpenAPI specification for DocuSign Maestro APIs.
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Maestro authors and executes experiences that allow non-coders the ability to de
|
|
7
7
|
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
8
8
|
|
9
9
|
- API version: 1.0.0
|
10
|
-
- Package version: 1.0.0
|
10
|
+
- Package version: 1.0.0
|
11
11
|
- Build package: io.swagger.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://developers.docusign.com/](https://developers.docusign.com/)
|
13
13
|
|
@@ -24,15 +24,15 @@ gem build docusign_maestro.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./docusign_maestro-1.0.0.
|
27
|
+
gem install ./docusign_maestro-1.0.0.gem
|
28
28
|
```
|
29
|
-
(for development, run `gem install --dev ./docusign_maestro-1.0.0.
|
29
|
+
(for development, run `gem install --dev ./docusign_maestro-1.0.0.gem` to install the development dependencies)
|
30
30
|
|
31
31
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
32
32
|
|
33
33
|
Finally add this to the Gemfile:
|
34
34
|
|
35
|
-
gem 'docusign_maestro', '~> 1.0.0
|
35
|
+
gem 'docusign_maestro', '~> 1.0.0'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -162,7 +162,6 @@ Class | Method | HTTP request | Description
|
|
162
162
|
- [DocuSign_Maestro::DSWorkflowVariableFromStep](docs/DSWorkflowVariableFromStep.md)
|
163
163
|
- [DocuSign_Maestro::DSWorkflowVariableFromVariable](docs/DSWorkflowVariableFromVariable.md)
|
164
164
|
- [DocuSign_Maestro::DSWorkflowVariableRecord](docs/DSWorkflowVariableRecord.md)
|
165
|
-
- [DocuSign_Maestro::DSWorkflowVariableSourceTypesParticipant](docs/DSWorkflowVariableSourceTypesParticipant.md)
|
166
165
|
- [DocuSign_Maestro::DSWorkflowVariableSourceTypesStep](docs/DSWorkflowVariableSourceTypesStep.md)
|
167
166
|
- [DocuSign_Maestro::DSWorkflowVariableSourceTypesVariable](docs/DSWorkflowVariableSourceTypesVariable.md)
|
168
167
|
- [DocuSign_Maestro::DeployRequest](docs/DeployRequest.md)
|
@@ -189,7 +188,6 @@ Class | Method | HTTP request | Description
|
|
189
188
|
- [DocuSign_Maestro::NewOrUpdatedWorkflowDefinitionResponse](docs/NewOrUpdatedWorkflowDefinitionResponse.md)
|
190
189
|
- [DocuSign_Maestro::NumberOrVariable](docs/NumberOrVariable.md)
|
191
190
|
- [DocuSign_Maestro::Participant](docs/Participant.md)
|
192
|
-
- [DocuSign_Maestro::ParticipantKeys](docs/ParticipantKeys.md)
|
193
191
|
- [DocuSign_Maestro::ProgressInstance](docs/ProgressInstance.md)
|
194
192
|
- [DocuSign_Maestro::RecordStringBoolean](docs/RecordStringBoolean.md)
|
195
193
|
- [DocuSign_Maestro::RecordStringOrVariableOrTransformation](docs/RecordStringOrVariableOrTransformation.md)
|
@@ -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
|
38
|
+
@user_agent = "Swagger-Codegen/1.0.0/1.0.0/ruby-#{RUBY_VERSION}p#{RUBY_PATCHLEVEL}"
|
39
39
|
@default_headers = {
|
40
40
|
'Content-Type' => "application/json",
|
41
41
|
'User-Agent' => @user_agent
|
@@ -20,6 +20,8 @@ module DocuSign_Maestro
|
|
20
20
|
DELETE_IN_PROGRESS = 'Delete in Progress'.freeze
|
21
21
|
DELETED = 'Deleted'.freeze
|
22
22
|
NOT_DEPLOYED = 'Not Deployed'.freeze
|
23
|
+
UNPUBLISH_IN_PROGRESS = 'Unpublish in Progress'.freeze
|
24
|
+
UNPUBLISHED = 'Unpublished'.freeze
|
23
25
|
|
24
26
|
# Builds the enum from string
|
25
27
|
# @param [String] The enum value in the form of the string
|
@@ -12,29 +12,17 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
12
12
|
require 'date'
|
13
13
|
|
14
14
|
module DocuSign_Maestro
|
15
|
-
# DS Workflow Variable from a Participant
|
15
|
+
# DS Workflow Variable from a Participant object. The definition is flexible based on the workflow definition.
|
16
16
|
class DSWorkflowVariableFromParticipant
|
17
|
-
attr_accessor :key
|
18
|
-
|
19
|
-
attr_accessor :participant_id
|
20
|
-
|
21
|
-
attr_accessor :source
|
22
|
-
|
23
17
|
# Attribute mapping from ruby-style variable name to JSON key.
|
24
18
|
def self.attribute_map
|
25
19
|
{
|
26
|
-
:'key' => :'key',
|
27
|
-
:'participant_id' => :'participantId',
|
28
|
-
:'source' => :'source'
|
29
20
|
}
|
30
21
|
end
|
31
22
|
|
32
23
|
# Attribute type mapping.
|
33
24
|
def self.swagger_types
|
34
25
|
{
|
35
|
-
:'key' => :'ParticipantKeys',
|
36
|
-
:'participant_id' => :'String',
|
37
|
-
:'source' => :'DSWorkflowVariableSourceTypesParticipant'
|
38
26
|
}
|
39
27
|
end
|
40
28
|
|
@@ -45,45 +33,18 @@ module DocuSign_Maestro
|
|
45
33
|
|
46
34
|
# convert string to symbol for hash key
|
47
35
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
48
|
-
|
49
|
-
if attributes.has_key?(:'key')
|
50
|
-
self.key = attributes[:'key']
|
51
|
-
end
|
52
|
-
|
53
|
-
if attributes.has_key?(:'participantId')
|
54
|
-
self.participant_id = attributes[:'participantId']
|
55
|
-
end
|
56
|
-
|
57
|
-
if attributes.has_key?(:'source')
|
58
|
-
self.source = attributes[:'source']
|
59
|
-
end
|
60
36
|
end
|
61
37
|
|
62
38
|
# Show invalid properties with the reasons. Usually used together with valid?
|
63
39
|
# @return Array for valid properties with the reasons
|
64
40
|
def list_invalid_properties
|
65
41
|
invalid_properties = Array.new
|
66
|
-
if @key.nil?
|
67
|
-
invalid_properties.push('invalid value for "key", key cannot be nil.')
|
68
|
-
end
|
69
|
-
|
70
|
-
if @participant_id.nil?
|
71
|
-
invalid_properties.push('invalid value for "participant_id", participant_id cannot be nil.')
|
72
|
-
end
|
73
|
-
|
74
|
-
if @source.nil?
|
75
|
-
invalid_properties.push('invalid value for "source", source cannot be nil.')
|
76
|
-
end
|
77
|
-
|
78
42
|
invalid_properties
|
79
43
|
end
|
80
44
|
|
81
45
|
# Check to see if the all the properties in the model are valid
|
82
46
|
# @return true if the model is valid
|
83
47
|
def valid?
|
84
|
-
return false if @key.nil?
|
85
|
-
return false if @participant_id.nil?
|
86
|
-
return false if @source.nil?
|
87
48
|
true
|
88
49
|
end
|
89
50
|
|
@@ -91,10 +52,7 @@ module DocuSign_Maestro
|
|
91
52
|
# @param [Object] Object to be compared
|
92
53
|
def ==(o)
|
93
54
|
return true if self.equal?(o)
|
94
|
-
self.class == o.class
|
95
|
-
key == o.key &&
|
96
|
-
participant_id == o.participant_id &&
|
97
|
-
source == o.source
|
55
|
+
self.class == o.class
|
98
56
|
end
|
99
57
|
|
100
58
|
# @see the `==` method
|
@@ -106,7 +64,7 @@ module DocuSign_Maestro
|
|
106
64
|
# Calculates hash code according to all attributes.
|
107
65
|
# @return [Fixnum] Hash code
|
108
66
|
def hash
|
109
|
-
[
|
67
|
+
[].hash
|
110
68
|
end
|
111
69
|
|
112
70
|
# Builds the object from hash
|
@@ -14,6 +14,19 @@ require 'date'
|
|
14
14
|
module DocuSign_Maestro
|
15
15
|
class EventTypes
|
16
16
|
|
17
|
+
ENVELOPE_SENT = 'envelope-sent'.freeze
|
18
|
+
ENVELOPE_DELIVERED = 'envelope-delivered'.freeze
|
19
|
+
ENVELOPE_COMPLETED = 'envelope-completed'.freeze
|
20
|
+
ENVELOPE_DECLINED = 'envelope-declined'.freeze
|
21
|
+
ENVELOPE_VOIDED = 'envelope-voided'.freeze
|
22
|
+
ENVELOPE_CREATED = 'envelope-created'.freeze
|
23
|
+
ENVELOPE_RESENT = 'envelope-resent'.freeze
|
24
|
+
ENVELOPE_CORRECTED = 'envelope-corrected'.freeze
|
25
|
+
ENVELOPE_PURGE = 'envelope-purge'.freeze
|
26
|
+
ENVELOPE_DELETED = 'envelope-deleted'.freeze
|
27
|
+
ENVELOPE_DISCARD = 'envelope-discard'.freeze
|
28
|
+
DELIVERY_FAILED = 'Delivery Failed'.freeze
|
29
|
+
AUTHENTICATION_FAILED = 'Authentication Failed'.freeze
|
17
30
|
SENT = 'Sent'.freeze
|
18
31
|
DELIVERED = 'Delivered'.freeze
|
19
32
|
SIGNED = 'Signed'.freeze
|
@@ -92,7 +92,7 @@ module DocuSign_Maestro
|
|
92
92
|
# Check to see if the all the properties in the model are valid
|
93
93
|
# @return true if the model is valid
|
94
94
|
def valid?
|
95
|
-
started_by_type_validator = EnumAttributeValidator.new('String', ['Anonymous', 'Preparer', 'Participant'])
|
95
|
+
started_by_type_validator = EnumAttributeValidator.new('String', ['Anonymous', 'Preparer', 'Participant', 'OnBehalfOf'])
|
96
96
|
return false unless started_by_type_validator.valid?(@started_by_type)
|
97
97
|
true
|
98
98
|
end
|
@@ -100,7 +100,7 @@ module DocuSign_Maestro
|
|
100
100
|
# Custom attribute writer method checking allowed values (enum).
|
101
101
|
# @param [Object] started_by_type Object to be assigned
|
102
102
|
def started_by_type=(started_by_type)
|
103
|
-
validator = EnumAttributeValidator.new('String', ['Anonymous', 'Preparer', 'Participant'])
|
103
|
+
validator = EnumAttributeValidator.new('String', ['Anonymous', 'Preparer', 'Participant', 'OnBehalfOf'])
|
104
104
|
unless validator.valid?(started_by_type)
|
105
105
|
fail ArgumentError, 'invalid value for "started_by_type", must be one of #{validator.allowable_values}.'
|
106
106
|
end
|
@@ -14,9 +14,11 @@ require 'date'
|
|
14
14
|
module DocuSign_Maestro
|
15
15
|
class WorkflowInstanceState
|
16
16
|
|
17
|
+
CREATED = 'Created'.freeze
|
17
18
|
IN_PROGRESS = 'In Progress'.freeze
|
18
19
|
COMPLETED = 'Completed'.freeze
|
19
20
|
FAILED = 'Failed'.freeze
|
21
|
+
CANCELED = 'Canceled'.freeze
|
20
22
|
|
21
23
|
# Builds the enum from string
|
22
24
|
# @param [String] The enum value in the form of the string
|
data/lib/docusign_maestro.rb
CHANGED
@@ -81,7 +81,6 @@ require 'docusign_maestro/models/ds_workflow_variable_from_participant'
|
|
81
81
|
require 'docusign_maestro/models/ds_workflow_variable_from_step'
|
82
82
|
require 'docusign_maestro/models/ds_workflow_variable_from_variable'
|
83
83
|
require 'docusign_maestro/models/ds_workflow_variable_record'
|
84
|
-
require 'docusign_maestro/models/ds_workflow_variable_source_types_participant'
|
85
84
|
require 'docusign_maestro/models/ds_workflow_variable_source_types_step'
|
86
85
|
require 'docusign_maestro/models/ds_workflow_variable_source_types_variable'
|
87
86
|
require 'docusign_maestro/models/deploy_request'
|
@@ -108,7 +107,6 @@ require 'docusign_maestro/models/invalid_workflow_response'
|
|
108
107
|
require 'docusign_maestro/models/new_or_updated_workflow_definition_response'
|
109
108
|
require 'docusign_maestro/models/number_or_variable'
|
110
109
|
require 'docusign_maestro/models/participant'
|
111
|
-
require 'docusign_maestro/models/participant_keys'
|
112
110
|
require 'docusign_maestro/models/progress_instance'
|
113
111
|
require 'docusign_maestro/models/record_string_boolean'
|
114
112
|
require 'docusign_maestro/models/record_string_or_variable_or_transformation'
|
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: 1.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-
|
11
|
+
date: 2024-04-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jwt
|
@@ -434,9 +434,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
434
434
|
version: '1.9'
|
435
435
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
436
436
|
requirements:
|
437
|
-
- - "
|
437
|
+
- - ">="
|
438
438
|
- !ruby/object:Gem::Version
|
439
|
-
version:
|
439
|
+
version: '0'
|
440
440
|
requirements: []
|
441
441
|
rubyforge_project:
|
442
442
|
rubygems_version: 2.7.6
|