sticapi_client 3.1.1 → 3.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8cd634d7bbe1869af96710e65d7a5140a981b828d323ca3ecaa5e47d515679cc
4
- data.tar.gz: 4ff3b1807591eb85f2cdbb816b61fe3db8f1a0eb638405046b98680ae28bbae8
3
+ metadata.gz: d5db8859f80df496d77936de8d0bccaf603cec12218353ffac11a1ba565e41cb
4
+ data.tar.gz: 240b37c8caad43e2c476f5d71538b06eab62d8f04dc3ea991b3c53995e73c127
5
5
  SHA512:
6
- metadata.gz: b8f451750701cdba3c26ac2aaacfa40da9fee95f44991f66131708f3b5e5ac4cf7d4d6a608eda0de5f5982a36a8d7920bb011ad71854e1677328b9744e072cb3
7
- data.tar.gz: 215af488d0d5b9be9505e582f659a5331ace76fa36ca6f5e9ed9081e14abfe8995c641bcc532f84277ebb1dfa8ba6ec1e00b2e4d00886d8c73c4dae0bafd886f
6
+ metadata.gz: ad9301d98fe8b7e03386030a5a6e9feebcb7a6efed6a31ceb4b12952fea429f78a8fd525f1dfda2e5100b14a9b606b38169d0e780825cdaecc3dbda512381452
7
+ data.tar.gz: b569f45ebb45c621ce79e6b90d15a054b1c0fb44bd897fc05fe5a3303c1104f5cfd5f16cb98c7e29f9736bbd9b1c0ad928f51ad6df28ab9ac5e4178084e26049
@@ -32,5 +32,12 @@ module SticapiClient
32
32
  options[:kind] = 'get'
33
33
  Sticapi::SticapiClient.instance.sticapi_request("/sip/unidades_do_usuario", options)
34
34
  end
35
+
36
+ # Consulta os ids de documentos de um processo SEI
37
+ # Parâmetro processo [String] número do processo SEI
38
+ # Retorno [JSON] IDs dos documentos SEI
39
+ def self.processo_documentos(options = {})
40
+ Sticapi::SticapiClient.instance.sticapi_request("/sip/processo_documentos", options)
41
+ end
35
42
  end
36
43
  end
@@ -78,6 +78,15 @@ module SticapiClient
78
78
  def self.change_password(options = {})
79
79
  Sticapi::SticapiClient.instance.sticapi_request("/users/change_password", options)
80
80
  end
81
+
82
+ # Altera o email de um usuário no AD
83
+ # Parâmetro username [string] username
84
+ # Parâmetro email [String] novo email do usuário
85
+ # Retorno [JSON] Sucesso ou falha ao alterar o email do usuário
86
+ # user: { string }
87
+ def self.change_email(options = {})
88
+ Sticapi::SticapiClient.instance.sticapi_request("/users/change_email", options)
89
+ end
81
90
  end
82
91
  end
83
92
  end
@@ -1,3 +1,3 @@
1
1
  module SticapiClient
2
- VERSION = "3.1.1"
2
+ VERSION = "3.1.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sticapi_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.1
4
+ version: 3.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ricardo Viana
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-01-20 00:00:00.000000000 Z
11
+ date: 2023-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails