sticapi_client 3.2.4 → 3.2.6

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: 9ba048ee21b53f8a8f6af8a82548f73fe558adde06d0a6476978b8d71caca80f
4
- data.tar.gz: ec3771916ba08d5128633729af3c450bc4e994c04cad964d74f527750d725c1b
3
+ metadata.gz: 2f40ed59bccfce86471704d582e289308b828656800ef7ebe272aae36071f7fe
4
+ data.tar.gz: a35c551b16d93386e0a9d46b3a9963076420171ac34eed50904e5633610f5b2a
5
5
  SHA512:
6
- metadata.gz: 6451e405accf4b9becbcdb8edfd535e7f5a36f4f1dc78317b2d7afc0de9af650e423a965b4e3971c3639a7736f0b99f73472d0f27a02a2d4ab3e2e1376bca26f
7
- data.tar.gz: de47f2eb91ff4f82be77c593056fa4e912a6194ea02af36aa6c9781b642c6d7a12c2079ebd58985e807148bfa7b7f91ebd7491681d25d4f6ce9f5436b0eecee9
6
+ metadata.gz: 4bf147078ecfeaa773d4f96fb084ee4ca027244e5713067345977b78ecdafaba47162ae2163adfe5122e596252b24d83778cba92b7fa44b79199d15e10095969
7
+ data.tar.gz: 68d6d888ba2a0f1a2905c9cba51de3d574c222b0895ffef25d5dfd98fd75ab6541030e133a3f823ddde073c5f6a90ced296ba60b5da8e3380094ef78dc89fc34
@@ -7,6 +7,14 @@ module SticapiClient
7
7
  Sticapi::SticapiClient.instance.sticapi_request("/pje/processo_partes", options)
8
8
  end
9
9
 
10
+ # Retorna os dados de um processo no PJe
11
+ # Parâmetro numero_unico [String] Número Único do processo
12
+ # Parâmetro sistema_id [Integer] id do sistema
13
+ # Retorno [JSON] Dados do processo
14
+ def self.processo_dados(options = {})
15
+ Sticapi::SticapiClient.instance.sticapi_request("/pje/processo_dados", options)
16
+ end
17
+
10
18
  # Retorna os processos pertencentes a uma parte pelo id e sistema_id
11
19
  # Parâmetro id [Integer] id da parte
12
20
  # Parâmetro sistema_id [Integer] id do sistema
@@ -87,6 +87,42 @@ module SticapiClient
87
87
  def self.change_password(options = {})
88
88
  Sticapi::SticapiClient.instance.sticapi_request("/users/change_password", options)
89
89
  end
90
+
91
+ # Adiciona o email institucional a um usuário no AD
92
+ # Parâmetro username [string] username
93
+ # Parâmetro email [String] novo email do usuário
94
+ # Retorno [JSON] Sucesso ou falha ao alterar o email do usuário
95
+ # user: { string }
96
+ def self.add_institutional_email(options = {})
97
+ Sticapi::SticapiClient.instance.sticapi_request("/users/add_institutional_email", options)
98
+ end
99
+
100
+ # Adiciona licença E1 de um usuário no AD
101
+ # Parâmetro username [string] username
102
+ # Parâmetro email [String] novo email do usuário
103
+ # Retorno [JSON] Sucesso ou falha ao alterar o email do usuário
104
+ # user: { string }
105
+ def self.add_E1_license(options = {})
106
+ Sticapi::SticapiClient.instance.sticapi_request("/users/add_E1_license", options)
107
+ end
108
+
109
+ # Remove licença E3 de um usuário no AD
110
+ # Parâmetro username [string] username
111
+ # Parâmetro email [String] novo email do usuário
112
+ # Retorno [JSON] Sucesso ou falha ao alterar o email do usuário
113
+ # user: { string }
114
+ def self.remove_E3_license(options = {})
115
+ Sticapi::SticapiClient.instance.sticapi_request("/users/remove_E3_license", options)
116
+ end
117
+
118
+ # Remove licença E5 de um usuário no AD
119
+ # Parâmetro username [string] username
120
+ # Parâmetro email [String] novo email do usuário
121
+ # Retorno [JSON] Sucesso ou falha ao alterar o email do usuário
122
+ # user: { string }
123
+ def self.remove_E5_license(options = {})
124
+ Sticapi::SticapiClient.instance.sticapi_request("/users/remove_E5_license", options)
125
+ end
90
126
  end
91
127
  end
92
128
  end
@@ -1,3 +1,3 @@
1
1
  module SticapiClient
2
- VERSION = "3.2.4"
2
+ VERSION = "3.2.6"
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.2.4
4
+ version: 3.2.6
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-06-21 00:00:00.000000000 Z
11
+ date: 2023-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -139,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
139
139
  - !ruby/object:Gem::Version
140
140
  version: '0'
141
141
  requirements: []
142
- rubygems_version: 3.4.14
142
+ rubygems_version: 3.4.15
143
143
  signing_key:
144
144
  specification_version: 4
145
145
  summary: Client to use TJPI sticapi services