docusign_admin 2.0.0.rc1 → 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: 765e6f3659b1f43176a293934bbd3b6b269a456de710aa7049b8372a269633c5
4
- data.tar.gz: f9d1487ca2b985793d699ab73b1b37f9b67ede30520572cf7910367a97547645
3
+ metadata.gz: 1198310192f223426108ff0a3ac9e1c0e539d9e92df4fb17fdccfb6329a7d84c
4
+ data.tar.gz: ed86861430f63215d88066602161809eaf13ee7b907130fce582a9b77f60b85b
5
5
  SHA512:
6
- metadata.gz: bd00e38258a6a7d2fafaa9a5416d9f40c9ad3eab42648dbcfc8a3a8dba76c74ebc385c8d78c3cc665ea6f8c3bf3811629c108004b8095cc2f6b0720ceb9d5794
7
- data.tar.gz: 379f9f4efe5c35b3392357cc0d6ea6f9253682b970a9d341d55179dd49afacfbcb1c589d7b6e17bf1bd2f8b6ac11458c090526373d82cdf6d4a6bf64d627f0ca
6
+ metadata.gz: 6b1a8ccbc067a4b418d96285e1661b4e569fd00bc71c2dfb0b7596f32436c06c201338a24cdf95e637a3921fb40a435349606b270bbe026db5921b575d3bc423
7
+ data.tar.gz: 2e2b9e804802a63d36993eb5b6d34bcd0e6b5f74b85b8e543f5fa6c74075417fa2b8320564d32e99290f60358180235d0605bb7902f008ddc6cf4210bd324897
data/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## [v2.0.0] - Admin API v2.1-1.4.1 - 2024-10-28
2
+ ### Changed
3
+ - Added support for version v2.1-1.4.1 of the DocuSign Admin API.
4
+ - Removed the staging base path and OAuth path constant.
5
+ - Updated the SDK release version.
6
+
7
+ ## [v2.0.0.rc2] - Admin API v2.1-1.4.1 - 2024-10-22
8
+ ### Changed
9
+ - Added support for version v2.1-1.4.1 of the DocuSign Admin API.
10
+ - Removed the staging base path and OAuth path constant.
11
+ - Updated the SDK release version.
12
+
1
13
  ## [v2.0.0.rc1] - Admin API v2.1-1.4.0 - 2024-08-27
2
14
  ### Breaking Changes
3
15
  <details>
@@ -74,7 +74,7 @@ module DocuSign_Admin
74
74
  # Select users whose data have been modified since the date specified; account_id or organization_reserved_domain_id must be specified.
75
75
  attr_accessor :last_modified_since
76
76
 
77
- # Select users with groups the users belong to; The organization must have entitlement AllowMultiApplication enabled.
77
+ # Select users with groups the users belong to; account_id must be specified. The organization must have the entitlement AllowMultiApplication enabled.
78
78
  attr_accessor :include_ds_groups
79
79
 
80
80
  def self.default
@@ -35,7 +35,7 @@ module DocuSign_Admin
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/v2.1/2.0.0.rc1/ruby-#{RUBY_VERSION}p#{RUBY_PATCHLEVEL}"
38
+ @user_agent = "Swagger-Codegen/v2.1/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
@@ -409,8 +409,6 @@ module DocuSign_Admin
409
409
  # Derive OAuth Base Path if not given
410
410
  if self.base_path.nil? or self.base_path.start_with?("https://demo") or self.base_path.start_with?("http://demo") or self.base_path.start_with?("https://apps-d") or self.base_path.start_with?("http://apps-d")
411
411
  self.oauth_base_path = OAuth::DEMO_OAUTH_BASE_PATH
412
- elsif self.base_path.start_with?("https://stage") or self.base_path.start_with?("http://stage") or self.base_path.start_with?("https://apps-s") or self.base_path.start_with?("http://apps-s")
413
- self.oauth_base_path = OAuth::STAGE_OAUTH_BASE_PATH
414
412
  else
415
413
  self.oauth_base_path = OAuth::PRODUCTION_OAUTH_BASE_PATH
416
414
  end
@@ -14,8 +14,6 @@ module DocuSign_Admin
14
14
  DEMO_OAUTH_BASE_PATH = "account-d.docusign.com"
15
15
  # Production server base path
16
16
  PRODUCTION_OAUTH_BASE_PATH = "account.docusign.com"
17
- # Stage server base path
18
- STAGE_OAUTH_BASE_PATH = "account-s.docusign.com"
19
17
  # JWT Grant Type
20
18
  GRANT_TYPE_JWT = "urn:ietf:params:oauth:grant-type:jwt-bearer"
21
19
 
@@ -25,6 +25,7 @@ module DocuSign_Admin
25
25
 
26
26
  attr_accessor :admin_user
27
27
 
28
+ # 0 stands for Web, 1 stands for Direct
28
29
  attr_accessor :billing_profile_type
29
30
 
30
31
  class EnumAttributeValidator
@@ -71,7 +72,7 @@ module DocuSign_Admin
71
72
  :'site' => :'String',
72
73
  :'address' => :'DocuSignAccountDomainModelAddress',
73
74
  :'admin_user' => :'SubscriptionProvisionModelAccountCreateAccountAdmin',
74
- :'billing_profile_type' => :'String'
75
+ :'billing_profile_type' => :'Integer'
75
76
  }
76
77
  end
77
78
 
@@ -122,7 +123,7 @@ module DocuSign_Admin
122
123
  # Check to see if the all the properties in the model are valid
123
124
  # @return true if the model is valid
124
125
  def valid?
125
- billing_profile_type_validator = EnumAttributeValidator.new('String', ['Web', 'Direct'])
126
+ billing_profile_type_validator = EnumAttributeValidator.new('Integer', ['0', '1'])
126
127
  return false unless billing_profile_type_validator.valid?(@billing_profile_type)
127
128
  true
128
129
  end
@@ -130,7 +131,7 @@ module DocuSign_Admin
130
131
  # Custom attribute writer method checking allowed values (enum).
131
132
  # @param [Object] billing_profile_type Object to be assigned
132
133
  def billing_profile_type=(billing_profile_type)
133
- validator = EnumAttributeValidator.new('String', ['Web', 'Direct'])
134
+ validator = EnumAttributeValidator.new('Integer', ['0', '1'])
134
135
  unless validator.valid?(billing_profile_type)
135
136
  fail ArgumentError, 'invalid value for "billing_profile_type", must be one of #{validator.allowable_values}.'
136
137
  end
@@ -27,6 +27,7 @@ module DocuSign_Admin
27
27
 
28
28
  attr_accessor :admin_user
29
29
 
30
+ # 0 stands for Web, 1 stands for Direct
30
31
  attr_accessor :billing_profile_type
31
32
 
32
33
  class EnumAttributeValidator
@@ -75,7 +76,7 @@ module DocuSign_Admin
75
76
  :'site' => :'String',
76
77
  :'address' => :'DocuSignAccountDomainModelAddress',
77
78
  :'admin_user' => :'SubscriptionProvisionModelAccountCreateAccountAdmin',
78
- :'billing_profile_type' => :'String'
79
+ :'billing_profile_type' => :'Integer'
79
80
  }
80
81
  end
81
82
 
@@ -130,7 +131,7 @@ module DocuSign_Admin
130
131
  # Check to see if the all the properties in the model are valid
131
132
  # @return true if the model is valid
132
133
  def valid?
133
- billing_profile_type_validator = EnumAttributeValidator.new('String', ['Web', 'Direct'])
134
+ billing_profile_type_validator = EnumAttributeValidator.new('Integer', ['0', '1'])
134
135
  return false unless billing_profile_type_validator.valid?(@billing_profile_type)
135
136
  true
136
137
  end
@@ -138,7 +139,7 @@ module DocuSign_Admin
138
139
  # Custom attribute writer method checking allowed values (enum).
139
140
  # @param [Object] billing_profile_type Object to be assigned
140
141
  def billing_profile_type=(billing_profile_type)
141
- validator = EnumAttributeValidator.new('String', ['Web', 'Direct'])
142
+ validator = EnumAttributeValidator.new('Integer', ['0', '1'])
142
143
  unless validator.valid?(billing_profile_type)
143
144
  fail ArgumentError, 'invalid value for "billing_profile_type", must be one of #{validator.allowable_values}.'
144
145
  end
@@ -61,12 +61,14 @@ module DocuSign_Admin
61
61
 
62
62
  attr_accessor :created_by
63
63
 
64
+ # 0 stands for Application, 1 stands for User, 2 stands for Generic, 3 stands for RestAPIAuth, 4 stands for Resource, 5 stands for Restricted
64
65
  attr_accessor :created_by_type
65
66
 
66
67
  attr_accessor :created_date
67
68
 
68
69
  attr_accessor :updated_by
69
70
 
71
+ # 0 stands for Application, 1 stands for User, 2 stands for Generic, 3 stands for RestAPIAuth, 4 stands for Resource, 5 stands for Restricted
70
72
  attr_accessor :updated_by_type
71
73
 
72
74
  attr_accessor :updated_date
@@ -158,10 +160,10 @@ module DocuSign_Admin
158
160
  :'source_system' => :'String',
159
161
  :'source_id' => :'String',
160
162
  :'created_by' => :'String',
161
- :'created_by_type' => :'String',
163
+ :'created_by_type' => :'Integer',
162
164
  :'created_date' => :'DateTime',
163
165
  :'updated_by' => :'String',
164
- :'updated_by_type' => :'String',
166
+ :'updated_by_type' => :'Integer',
165
167
  :'updated_date' => :'DateTime',
166
168
  :'update_history' => :'Array<SubscriptionProvisionModelChangeEvent>'
167
169
  }
@@ -312,9 +314,9 @@ module DocuSign_Admin
312
314
  return false unless asset_group_work_type_validator.valid?(@asset_group_work_type)
313
315
  status_validator = EnumAttributeValidator.new('String', ['Undefined', 'Pending', 'Processing', 'ProcessingOnHold', 'PendingError', 'ProcessingError', 'Completed', 'Canceled', 'PermanentFailure'])
314
316
  return false unless status_validator.valid?(@status)
315
- created_by_type_validator = EnumAttributeValidator.new('String', ['Application', 'User', 'Generic', 'RestAPIAuth', 'Resource', 'Restricted'])
317
+ created_by_type_validator = EnumAttributeValidator.new('Integer', ['0', '1', '2', '3', '4', '5'])
316
318
  return false unless created_by_type_validator.valid?(@created_by_type)
317
- updated_by_type_validator = EnumAttributeValidator.new('String', ['Application', 'User', 'Generic', 'RestAPIAuth', 'Resource', 'Restricted'])
319
+ updated_by_type_validator = EnumAttributeValidator.new('Integer', ['0', '1', '2', '3', '4', '5'])
318
320
  return false unless updated_by_type_validator.valid?(@updated_by_type)
319
321
  true
320
322
  end
@@ -342,7 +344,7 @@ module DocuSign_Admin
342
344
  # Custom attribute writer method checking allowed values (enum).
343
345
  # @param [Object] created_by_type Object to be assigned
344
346
  def created_by_type=(created_by_type)
345
- validator = EnumAttributeValidator.new('String', ['Application', 'User', 'Generic', 'RestAPIAuth', 'Resource', 'Restricted'])
347
+ validator = EnumAttributeValidator.new('Integer', ['0', '1', '2', '3', '4', '5'])
346
348
  unless validator.valid?(created_by_type)
347
349
  fail ArgumentError, 'invalid value for "created_by_type", must be one of #{validator.allowable_values}.'
348
350
  end
@@ -352,7 +354,7 @@ module DocuSign_Admin
352
354
  # Custom attribute writer method checking allowed values (enum).
353
355
  # @param [Object] updated_by_type Object to be assigned
354
356
  def updated_by_type=(updated_by_type)
355
- validator = EnumAttributeValidator.new('String', ['Application', 'User', 'Generic', 'RestAPIAuth', 'Resource', 'Restricted'])
357
+ validator = EnumAttributeValidator.new('Integer', ['0', '1', '2', '3', '4', '5'])
356
358
  unless validator.valid?(updated_by_type)
357
359
  fail ArgumentError, 'invalid value for "updated_by_type", must be one of #{validator.allowable_values}.'
358
360
  end
@@ -10,5 +10,5 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git
10
10
  =end
11
11
 
12
12
  module DocuSign_Admin
13
- VERSION = '2.0.0.rc1'
13
+ VERSION = '2.0.0'
14
14
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docusign_admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.rc1
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-08-28 00:00:00.000000000 Z
11
+ date: 2024-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jwt
@@ -462,9 +462,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
462
462
  version: '1.9'
463
463
  required_rubygems_version: !ruby/object:Gem::Requirement
464
464
  requirements:
465
- - - ">"
465
+ - - ">="
466
466
  - !ruby/object:Gem::Version
467
- version: 1.3.1
467
+ version: '0'
468
468
  requirements: []
469
469
  rubyforge_project:
470
470
  rubygems_version: 2.7.6