conexa 0.0.6 → 0.0.8

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.
data/README_pt-BR.md CHANGED
@@ -148,8 +148,8 @@ Conexa::Customer.all(name: "João", page: 1, size: 10)
148
148
  Conexa::Customer.all("id[]": [102, 103])
149
149
 
150
150
  # Filtrar por empresa
151
- Conexa::Customer.all("companyId[]": [3])
152
- Conexa::Contract.all("companyId[]": [540], page: 2, size: 5)
151
+ Conexa::Customer.all("company_id[]": [3])
152
+ Conexa::Contract.all("company_id[]": [540], page: 2, size: 5)
153
153
 
154
154
  # Múltiplos filtros combinados
155
155
  Conexa::Company.all(
@@ -174,13 +174,13 @@ Conexa::Sale.all(page: 2, size: 6)
174
174
 
175
175
  | Recurso | Filtros Comuns |
176
176
  |---------|---------------|
177
- | Customer | `name`, `id[]`, `companyId[]` |
177
+ | Customer | `name`, `id[]`, `company_id[]` |
178
178
  | Company | `id[]`, `tradeName`, `legalName`, `cnpj`, `city`, `active` |
179
- | Contract | `companyId[]`, `active` |
180
- | Bill | `status`, `companyId[]` |
179
+ | Contract | `company_id[]`, `active` |
180
+ | Bill | `status`, `company_id[]` |
181
181
  | Plan | `id[]` |
182
182
  | Sale | `date` |
183
- | InvoicingMethod | `id[]`, `companyId[]`, `isActive`, `type` |
183
+ | InvoicingMethod | `id[]`, `company_id[]`, `isActive`, `type` |
184
184
 
185
185
  ### Operações Específicas de Recursos (Sub-processos)
186
186
 
@@ -227,7 +227,7 @@ Conexa::RecurringSale.end_recurring_sale(recurring_sale_id, end_date: "2024-12-3
227
227
 
228
228
  ```ruby
229
229
  # Listar meios de faturamento com filtros
230
- Conexa::InvoicingMethod.all("companyId[]": [3], is_active: 1, type: "billet")
230
+ Conexa::InvoicingMethod.all("company_id[]": [3], is_active: 1, type: "billet")
231
231
 
232
232
  # Buscar por ID
233
233
  Conexa::InvoicingMethod.find(invoicing_method_id)