trevol 0.2.0 → 0.3.1
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 +4 -4
- data/CHANGELOG.md +22 -0
- data/GENERADO.md +1 -1
- data/README.md +29 -4
- data/lib/trevol/client.rb +71 -9
- data/lib/trevol/llave.rb +30 -7
- data/lib/trevol/transporte.rb +44 -4
- data/lib/trevol_generado/api/account_api.rb +752 -0
- data/lib/trevol_generado/api/balance_api.rb +4 -4
- data/lib/trevol_generado/api/dian_syncs_api.rb +2 -2
- data/lib/trevol_generado/api/general_api.rb +2 -2
- data/lib/trevol_generado/api/requests_api.rb +2 -2
- data/lib/trevol_generado/models/account_api_key.rb +312 -0
- data/lib/trevol_generado/models/account_api_key_input.rb +254 -0
- data/lib/trevol_generado/models/account_api_key_list.rb +191 -0
- data/lib/trevol_generado/models/account_api_key_revocation.rb +181 -0
- data/lib/trevol_generado/models/account_company.rb +285 -0
- data/lib/trevol_generado/models/account_company_api_key_counts.rb +170 -0
- data/lib/trevol_generado/models/account_company_input.rb +209 -0
- data/lib/trevol_generado/models/account_company_list.rb +191 -0
- data/lib/trevol_generado/models/account_company_onboarding.rb +173 -0
- data/lib/trevol_generado/models/account_company_reference.rb +183 -0
- data/lib/trevol_generado/models/account_dian_counterpart.rb +193 -0
- data/lib/trevol_generado/models/account_dian_document.rb +348 -0
- data/lib/trevol_generado/models/account_dian_document_list.rb +191 -0
- data/lib/trevol_generado/models/account_key.rb +234 -0
- data/lib/trevol_generado/models/account_key_info.rb +181 -0
- data/lib/trevol_generado/models/account_key_info_account.rb +161 -0
- data/lib/trevol_generado/models/account_key_scope.rb +174 -0
- data/lib/trevol_generado/models/account_radian_event.rb +369 -0
- data/lib/trevol_generado/models/account_radian_event_list.rb +191 -0
- data/lib/trevol_generado/models/account_request_log.rb +262 -0
- data/lib/trevol_generado/models/account_request_log_list.rb +191 -0
- data/lib/trevol_generado/models/balance.rb +2 -2
- data/lib/trevol_generado/models/balance_operation_prices.rb +1 -1
- data/lib/trevol_generado/models/event.rb +1 -1
- data/lib/trevol_generado/models/problem.rb +35 -5
- data/lib/trevol_generado/models/radian_summary.rb +183 -0
- data/lib/trevol_generado/models/radian_summary_event.rb +201 -0
- data/lib/trevol_generado/models/webhook_endpoint.rb +1 -1
- data/lib/trevol_generado/models/webhook_endpoint_input.rb +1 -1
- data/lib/trevol_generado/models/webhook_endpoint_update.rb +1 -1
- data/lib/trevol_generado/tablas.rb +166 -151
- data/lib/trevol_generado/version.rb +1 -1
- data/lib/trevol_generado.rb +24 -0
- metadata +25 -1
|
@@ -4,164 +4,176 @@
|
|
|
4
4
|
|
|
5
5
|
module TrevolGenerado
|
|
6
6
|
module Tablas
|
|
7
|
-
VERSION = '0.
|
|
7
|
+
VERSION = '0.3.1'
|
|
8
8
|
API_VERSION = '2026-11-18'
|
|
9
9
|
|
|
10
|
-
# seguro: GET, preview, PATCH y todo POST/PUT con Idempotency-Key. solo_429: el resto.
|
|
10
|
+
# seguro: GET, preview, PATCH y todo POST/PUT con Idempotency-Key que no devuelva un secreto una sola vez. solo_429: el resto.
|
|
11
|
+
# llave: api_o_administracion (tvl_, o tva_ con Trevol-Company y Trevol-Environment), administracion (solo tva_) o ninguna.
|
|
11
12
|
OPERACIONES = [
|
|
12
|
-
{ operation_id: 'associateNumberingRange', metodo: 'POST', ruta: '/numbering_ranges/{id}/associate', recurso: 'NumberingRanges', idempotente: true, reintento: 'seguro', binario: nil },
|
|
13
|
-
{ operation_id: 'cancelNumberingRequest', metodo: 'POST', ruta: '/numbering_requests/{id}/cancel', recurso: 'NumberingRequests', idempotente: false, reintento: 'solo_429', binario: nil },
|
|
14
|
-
{ operation_id: 'correctCreditNote', metodo: 'PUT', ruta: '/credit_notes/{id}', recurso: 'CreditNotes', idempotente: true, reintento: 'seguro', binario: nil },
|
|
15
|
-
{ operation_id: 'correctDebitNote', metodo: 'PUT', ruta: '/debit_notes/{id}', recurso: 'DebitNotes', idempotente: true, reintento: 'seguro', binario: nil },
|
|
16
|
-
{ operation_id: 'correctEquivalentDocument', metodo: 'PUT', ruta: '/equivalent_documents/{id}', recurso: 'EquivalentDocuments', idempotente: true, reintento: 'seguro', binario: nil },
|
|
17
|
-
{ operation_id: 'correctEquivalentDocumentAdjustment', metodo: 'PUT', ruta: '/equivalent_document_adjustments/{id}', recurso: 'EquivalentDocumentAdjustments', idempotente: true, reintento: 'seguro', binario: nil },
|
|
18
|
-
{ operation_id: 'correctInvoice', metodo: 'PUT', ruta: '/invoices/{id}', recurso: 'Invoices', idempotente: true, reintento: 'seguro', binario: nil },
|
|
19
|
-
{ operation_id: 'correctPayroll', metodo: 'PUT', ruta: '/payrolls/{id}', recurso: 'Payrolls', idempotente: true, reintento: 'seguro', binario: nil },
|
|
20
|
-
{ operation_id: 'correctPayrollAdjustment', metodo: 'PUT', ruta: '/payroll_adjustments/{id}', recurso: 'PayrollAdjustments', idempotente: true, reintento: 'seguro', binario: nil },
|
|
21
|
-
{ operation_id: 'correctSupportDocument', metodo: 'PUT', ruta: '/support_documents/{id}', recurso: 'SupportDocuments', idempotente: true, reintento: 'seguro', binario: nil },
|
|
22
|
-
{ operation_id: 'correctSupportDocumentAdjustment', metodo: 'PUT', ruta: '/support_document_adjustments/{id}', recurso: 'SupportDocumentAdjustments', idempotente: true, reintento: 'seguro', binario: nil },
|
|
23
|
-
{ operation_id: '
|
|
24
|
-
{ operation_id: '
|
|
25
|
-
{ operation_id: '
|
|
26
|
-
{ operation_id: '
|
|
27
|
-
{ operation_id: '
|
|
28
|
-
{ operation_id: '
|
|
29
|
-
{ operation_id: '
|
|
30
|
-
{ operation_id: '
|
|
31
|
-
{ operation_id: '
|
|
32
|
-
{ operation_id: '
|
|
33
|
-
{ operation_id: '
|
|
34
|
-
{ operation_id: '
|
|
35
|
-
{ operation_id: '
|
|
36
|
-
{ operation_id: '
|
|
37
|
-
{ operation_id: '
|
|
38
|
-
{ operation_id: '
|
|
39
|
-
{ operation_id: '
|
|
40
|
-
{ operation_id: '
|
|
41
|
-
{ operation_id: '
|
|
42
|
-
{ operation_id: '
|
|
43
|
-
{ operation_id: '
|
|
44
|
-
{ operation_id: '
|
|
45
|
-
{ operation_id: '
|
|
46
|
-
{ operation_id: '
|
|
47
|
-
{ operation_id: '
|
|
48
|
-
{ operation_id: '
|
|
49
|
-
{ operation_id: '
|
|
50
|
-
{ operation_id: '
|
|
51
|
-
{ operation_id: '
|
|
52
|
-
{ operation_id: '
|
|
53
|
-
{ operation_id: '
|
|
54
|
-
{ operation_id: '
|
|
55
|
-
{ operation_id: '
|
|
56
|
-
{ operation_id: '
|
|
57
|
-
{ operation_id: '
|
|
58
|
-
{ operation_id: '
|
|
59
|
-
{ operation_id: '
|
|
60
|
-
{ operation_id: '
|
|
61
|
-
{ operation_id: '
|
|
62
|
-
{ operation_id: '
|
|
63
|
-
{ operation_id: '
|
|
64
|
-
{ operation_id: '
|
|
65
|
-
{ operation_id: '
|
|
66
|
-
{ operation_id: '
|
|
67
|
-
{ operation_id: '
|
|
68
|
-
{ operation_id: '
|
|
69
|
-
{ operation_id: '
|
|
70
|
-
{ operation_id: '
|
|
71
|
-
{ operation_id: '
|
|
72
|
-
{ operation_id: '
|
|
73
|
-
{ operation_id: '
|
|
74
|
-
{ operation_id: '
|
|
75
|
-
{ operation_id: '
|
|
76
|
-
{ operation_id: '
|
|
77
|
-
{ operation_id: '
|
|
78
|
-
{ operation_id: '
|
|
79
|
-
{ operation_id: '
|
|
80
|
-
{ operation_id: '
|
|
81
|
-
{ operation_id: '
|
|
82
|
-
{ operation_id: '
|
|
83
|
-
{ operation_id: '
|
|
84
|
-
{ operation_id: '
|
|
85
|
-
{ operation_id: '
|
|
86
|
-
{ operation_id: '
|
|
87
|
-
{ operation_id: '
|
|
88
|
-
{ operation_id: '
|
|
89
|
-
{ operation_id: '
|
|
90
|
-
{ operation_id: '
|
|
91
|
-
{ operation_id: '
|
|
92
|
-
{ operation_id: '
|
|
93
|
-
{ operation_id: '
|
|
94
|
-
{ operation_id: '
|
|
95
|
-
{ operation_id: '
|
|
96
|
-
{ operation_id: '
|
|
97
|
-
{ operation_id: '
|
|
98
|
-
{ operation_id: '
|
|
99
|
-
{ operation_id: '
|
|
100
|
-
{ operation_id: '
|
|
101
|
-
{ operation_id: '
|
|
102
|
-
{ operation_id: '
|
|
103
|
-
{ operation_id: '
|
|
104
|
-
{ operation_id: '
|
|
105
|
-
{ operation_id: '
|
|
106
|
-
{ operation_id: '
|
|
107
|
-
{ operation_id: '
|
|
108
|
-
{ operation_id: '
|
|
109
|
-
{ operation_id: '
|
|
110
|
-
{ operation_id: '
|
|
111
|
-
{ operation_id: '
|
|
112
|
-
{ operation_id: '
|
|
113
|
-
{ operation_id: '
|
|
114
|
-
{ operation_id: '
|
|
115
|
-
{ operation_id: '
|
|
116
|
-
{ operation_id: '
|
|
117
|
-
{ operation_id: '
|
|
118
|
-
{ operation_id: '
|
|
119
|
-
{ operation_id: '
|
|
120
|
-
{ operation_id: '
|
|
121
|
-
{ operation_id: '
|
|
122
|
-
{ operation_id: '
|
|
123
|
-
{ operation_id: '
|
|
124
|
-
{ operation_id: '
|
|
125
|
-
{ operation_id: '
|
|
126
|
-
{ operation_id: '
|
|
127
|
-
{ operation_id: '
|
|
128
|
-
{ operation_id: '
|
|
129
|
-
{ operation_id: '
|
|
130
|
-
{ operation_id: '
|
|
131
|
-
{ operation_id: '
|
|
132
|
-
{ operation_id: '
|
|
133
|
-
{ operation_id: '
|
|
134
|
-
{ operation_id: '
|
|
135
|
-
{ operation_id: '
|
|
136
|
-
{ operation_id: '
|
|
137
|
-
{ operation_id: '
|
|
138
|
-
{ operation_id: '
|
|
139
|
-
{ operation_id: '
|
|
140
|
-
{ operation_id: '
|
|
141
|
-
{ operation_id: '
|
|
142
|
-
{ operation_id: '
|
|
143
|
-
{ operation_id: '
|
|
144
|
-
{ operation_id: '
|
|
145
|
-
{ operation_id: '
|
|
146
|
-
{ operation_id: '
|
|
147
|
-
{ operation_id: '
|
|
148
|
-
{ operation_id: '
|
|
149
|
-
{ operation_id: '
|
|
150
|
-
{ operation_id: '
|
|
151
|
-
{ operation_id: '
|
|
152
|
-
{ operation_id: '
|
|
153
|
-
{ operation_id: '
|
|
154
|
-
{ operation_id: '
|
|
155
|
-
{ operation_id: '
|
|
156
|
-
{ operation_id: '
|
|
157
|
-
{ operation_id: '
|
|
158
|
-
{ operation_id: '
|
|
159
|
-
{ operation_id: '
|
|
160
|
-
{ operation_id: '
|
|
13
|
+
{ operation_id: 'associateNumberingRange', metodo: 'POST', ruta: '/numbering_ranges/{id}/associate', recurso: 'NumberingRanges', idempotente: true, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
14
|
+
{ operation_id: 'cancelNumberingRequest', metodo: 'POST', ruta: '/numbering_requests/{id}/cancel', recurso: 'NumberingRequests', idempotente: false, reintento: 'solo_429', binario: nil, llave: 'api_o_administracion' },
|
|
15
|
+
{ operation_id: 'correctCreditNote', metodo: 'PUT', ruta: '/credit_notes/{id}', recurso: 'CreditNotes', idempotente: true, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
16
|
+
{ operation_id: 'correctDebitNote', metodo: 'PUT', ruta: '/debit_notes/{id}', recurso: 'DebitNotes', idempotente: true, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
17
|
+
{ operation_id: 'correctEquivalentDocument', metodo: 'PUT', ruta: '/equivalent_documents/{id}', recurso: 'EquivalentDocuments', idempotente: true, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
18
|
+
{ operation_id: 'correctEquivalentDocumentAdjustment', metodo: 'PUT', ruta: '/equivalent_document_adjustments/{id}', recurso: 'EquivalentDocumentAdjustments', idempotente: true, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
19
|
+
{ operation_id: 'correctInvoice', metodo: 'PUT', ruta: '/invoices/{id}', recurso: 'Invoices', idempotente: true, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
20
|
+
{ operation_id: 'correctPayroll', metodo: 'PUT', ruta: '/payrolls/{id}', recurso: 'Payrolls', idempotente: true, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
21
|
+
{ operation_id: 'correctPayrollAdjustment', metodo: 'PUT', ruta: '/payroll_adjustments/{id}', recurso: 'PayrollAdjustments', idempotente: true, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
22
|
+
{ operation_id: 'correctSupportDocument', metodo: 'PUT', ruta: '/support_documents/{id}', recurso: 'SupportDocuments', idempotente: true, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
23
|
+
{ operation_id: 'correctSupportDocumentAdjustment', metodo: 'PUT', ruta: '/support_document_adjustments/{id}', recurso: 'SupportDocumentAdjustments', idempotente: true, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
24
|
+
{ operation_id: 'createAccountCompany', metodo: 'POST', ruta: '/account/companies', recurso: 'Account', idempotente: true, reintento: 'seguro', binario: nil, llave: 'administracion' },
|
|
25
|
+
{ operation_id: 'createAccountCompanyApiKey', metodo: 'POST', ruta: '/account/companies/{id}/api_keys', recurso: 'Account', idempotente: true, reintento: 'solo_429', binario: nil, llave: 'administracion' },
|
|
26
|
+
{ operation_id: 'createBalanceTopUp', metodo: 'POST', ruta: '/balance/top_ups', recurso: 'Balance', idempotente: true, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
27
|
+
{ operation_id: 'createCreditNote', metodo: 'POST', ruta: '/credit_notes', recurso: 'CreditNotes', idempotente: true, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
28
|
+
{ operation_id: 'createCustomer', metodo: 'POST', ruta: '/customers', recurso: 'Customers', idempotente: true, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
29
|
+
{ operation_id: 'createDebitNote', metodo: 'POST', ruta: '/debit_notes', recurso: 'DebitNotes', idempotente: true, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
30
|
+
{ operation_id: 'createDianSync', metodo: 'POST', ruta: '/dian_syncs', recurso: 'DianSyncs', idempotente: true, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
31
|
+
{ operation_id: 'createEquivalentDocument', metodo: 'POST', ruta: '/equivalent_documents', recurso: 'EquivalentDocuments', idempotente: true, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
32
|
+
{ operation_id: 'createEquivalentDocumentAdjustment', metodo: 'POST', ruta: '/equivalent_document_adjustments', recurso: 'EquivalentDocumentAdjustments', idempotente: true, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
33
|
+
{ operation_id: 'createInvoice', metodo: 'POST', ruta: '/invoices', recurso: 'Invoices', idempotente: true, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
34
|
+
{ operation_id: 'createInvoiceBatch', metodo: 'POST', ruta: '/invoice_batches', recurso: 'InvoiceBatches', idempotente: true, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
35
|
+
{ operation_id: 'createNumberingRequest', metodo: 'POST', ruta: '/numbering_requests', recurso: 'NumberingRequests', idempotente: true, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
36
|
+
{ operation_id: 'createPaperNumberingRange', metodo: 'POST', ruta: '/paper_numbering_ranges', recurso: 'PaperNumberingRanges', idempotente: true, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
37
|
+
{ operation_id: 'createPayroll', metodo: 'POST', ruta: '/payrolls', recurso: 'Payrolls', idempotente: true, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
38
|
+
{ operation_id: 'createPayrollAdjustment', metodo: 'POST', ruta: '/payroll_adjustments', recurso: 'PayrollAdjustments', idempotente: true, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
39
|
+
{ operation_id: 'createProduct', metodo: 'POST', ruta: '/products', recurso: 'Products', idempotente: true, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
40
|
+
{ operation_id: 'createRadianEvent', metodo: 'POST', ruta: '/radian_events', recurso: 'RadianEvents', idempotente: true, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
41
|
+
{ operation_id: 'createReportRun', metodo: 'POST', ruta: '/report_runs', recurso: 'ReportRuns', idempotente: true, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
42
|
+
{ operation_id: 'createSupportDocument', metodo: 'POST', ruta: '/support_documents', recurso: 'SupportDocuments', idempotente: true, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
43
|
+
{ operation_id: 'createSupportDocumentAdjustment', metodo: 'POST', ruta: '/support_document_adjustments', recurso: 'SupportDocumentAdjustments', idempotente: true, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
44
|
+
{ operation_id: 'createWebhookEndpoint', metodo: 'POST', ruta: '/webhook_endpoints', recurso: 'WebhookEndpoints', idempotente: false, reintento: 'solo_429', binario: nil, llave: 'api_o_administracion' },
|
|
45
|
+
{ operation_id: 'deactivatePaperNumberingRange', metodo: 'POST', ruta: '/paper_numbering_ranges/{id}/deactivate', recurso: 'PaperNumberingRanges', idempotente: false, reintento: 'solo_429', binario: nil, llave: 'api_o_administracion' },
|
|
46
|
+
{ operation_id: 'deleteWebhookEndpoint', metodo: 'DELETE', ruta: '/webhook_endpoints/{id}', recurso: 'WebhookEndpoints', idempotente: false, reintento: 'solo_429', binario: nil, llave: 'api_o_administracion' },
|
|
47
|
+
{ operation_id: 'downloadCreditNoteDianResponse', metodo: 'GET', ruta: '/credit_notes/{id}/dian_response', recurso: 'CreditNotes', idempotente: false, reintento: 'seguro', binario: 'xml', llave: 'api_o_administracion' },
|
|
48
|
+
{ operation_id: 'downloadCreditNotePdf', metodo: 'GET', ruta: '/credit_notes/{id}/pdf', recurso: 'CreditNotes', idempotente: false, reintento: 'seguro', binario: 'pdf', llave: 'api_o_administracion' },
|
|
49
|
+
{ operation_id: 'downloadCreditNoteXml', metodo: 'GET', ruta: '/credit_notes/{id}/xml', recurso: 'CreditNotes', idempotente: false, reintento: 'seguro', binario: 'xml', llave: 'api_o_administracion' },
|
|
50
|
+
{ operation_id: 'downloadCreditNoteZip', metodo: 'GET', ruta: '/credit_notes/{id}/zip', recurso: 'CreditNotes', idempotente: false, reintento: 'seguro', binario: 'zip', llave: 'api_o_administracion' },
|
|
51
|
+
{ operation_id: 'downloadDebitNoteDianResponse', metodo: 'GET', ruta: '/debit_notes/{id}/dian_response', recurso: 'DebitNotes', idempotente: false, reintento: 'seguro', binario: 'xml', llave: 'api_o_administracion' },
|
|
52
|
+
{ operation_id: 'downloadDebitNotePdf', metodo: 'GET', ruta: '/debit_notes/{id}/pdf', recurso: 'DebitNotes', idempotente: false, reintento: 'seguro', binario: 'pdf', llave: 'api_o_administracion' },
|
|
53
|
+
{ operation_id: 'downloadDebitNoteXml', metodo: 'GET', ruta: '/debit_notes/{id}/xml', recurso: 'DebitNotes', idempotente: false, reintento: 'seguro', binario: 'xml', llave: 'api_o_administracion' },
|
|
54
|
+
{ operation_id: 'downloadDebitNoteZip', metodo: 'GET', ruta: '/debit_notes/{id}/zip', recurso: 'DebitNotes', idempotente: false, reintento: 'seguro', binario: 'zip', llave: 'api_o_administracion' },
|
|
55
|
+
{ operation_id: 'downloadDianDocumentXml', metodo: 'GET', ruta: '/dian_documents/{id}/xml', recurso: 'DianDocuments', idempotente: false, reintento: 'seguro', binario: 'xml', llave: 'api_o_administracion' },
|
|
56
|
+
{ operation_id: 'downloadEquivalentDocumentAdjustmentDianResponse', metodo: 'GET', ruta: '/equivalent_document_adjustments/{id}/dian_response', recurso: 'EquivalentDocumentAdjustments', idempotente: false, reintento: 'seguro', binario: 'xml', llave: 'api_o_administracion' },
|
|
57
|
+
{ operation_id: 'downloadEquivalentDocumentAdjustmentPdf', metodo: 'GET', ruta: '/equivalent_document_adjustments/{id}/pdf', recurso: 'EquivalentDocumentAdjustments', idempotente: false, reintento: 'seguro', binario: 'pdf', llave: 'api_o_administracion' },
|
|
58
|
+
{ operation_id: 'downloadEquivalentDocumentAdjustmentXml', metodo: 'GET', ruta: '/equivalent_document_adjustments/{id}/xml', recurso: 'EquivalentDocumentAdjustments', idempotente: false, reintento: 'seguro', binario: 'xml', llave: 'api_o_administracion' },
|
|
59
|
+
{ operation_id: 'downloadEquivalentDocumentAdjustmentZip', metodo: 'GET', ruta: '/equivalent_document_adjustments/{id}/zip', recurso: 'EquivalentDocumentAdjustments', idempotente: false, reintento: 'seguro', binario: 'zip', llave: 'api_o_administracion' },
|
|
60
|
+
{ operation_id: 'downloadEquivalentDocumentDianResponse', metodo: 'GET', ruta: '/equivalent_documents/{id}/dian_response', recurso: 'EquivalentDocuments', idempotente: false, reintento: 'seguro', binario: 'xml', llave: 'api_o_administracion' },
|
|
61
|
+
{ operation_id: 'downloadEquivalentDocumentPdf', metodo: 'GET', ruta: '/equivalent_documents/{id}/pdf', recurso: 'EquivalentDocuments', idempotente: false, reintento: 'seguro', binario: 'pdf', llave: 'api_o_administracion' },
|
|
62
|
+
{ operation_id: 'downloadEquivalentDocumentXml', metodo: 'GET', ruta: '/equivalent_documents/{id}/xml', recurso: 'EquivalentDocuments', idempotente: false, reintento: 'seguro', binario: 'xml', llave: 'api_o_administracion' },
|
|
63
|
+
{ operation_id: 'downloadEquivalentDocumentZip', metodo: 'GET', ruta: '/equivalent_documents/{id}/zip', recurso: 'EquivalentDocuments', idempotente: false, reintento: 'seguro', binario: 'zip', llave: 'api_o_administracion' },
|
|
64
|
+
{ operation_id: 'downloadInvoiceDianResponse', metodo: 'GET', ruta: '/invoices/{id}/dian_response', recurso: 'Invoices', idempotente: false, reintento: 'seguro', binario: 'xml', llave: 'api_o_administracion' },
|
|
65
|
+
{ operation_id: 'downloadInvoicePdf', metodo: 'GET', ruta: '/invoices/{id}/pdf', recurso: 'Invoices', idempotente: false, reintento: 'seguro', binario: 'pdf', llave: 'api_o_administracion' },
|
|
66
|
+
{ operation_id: 'downloadInvoiceXml', metodo: 'GET', ruta: '/invoices/{id}/xml', recurso: 'Invoices', idempotente: false, reintento: 'seguro', binario: 'xml', llave: 'api_o_administracion' },
|
|
67
|
+
{ operation_id: 'downloadInvoiceZip', metodo: 'GET', ruta: '/invoices/{id}/zip', recurso: 'Invoices', idempotente: false, reintento: 'seguro', binario: 'zip', llave: 'api_o_administracion' },
|
|
68
|
+
{ operation_id: 'downloadPayrollAdjustmentDianResponse', metodo: 'GET', ruta: '/payroll_adjustments/{id}/dian_response', recurso: 'PayrollAdjustments', idempotente: false, reintento: 'seguro', binario: 'xml', llave: 'api_o_administracion' },
|
|
69
|
+
{ operation_id: 'downloadPayrollAdjustmentXml', metodo: 'GET', ruta: '/payroll_adjustments/{id}/xml', recurso: 'PayrollAdjustments', idempotente: false, reintento: 'seguro', binario: 'xml', llave: 'api_o_administracion' },
|
|
70
|
+
{ operation_id: 'downloadPayrollAdjustmentZip', metodo: 'GET', ruta: '/payroll_adjustments/{id}/zip', recurso: 'PayrollAdjustments', idempotente: false, reintento: 'seguro', binario: 'zip', llave: 'api_o_administracion' },
|
|
71
|
+
{ operation_id: 'downloadPayrollDianResponse', metodo: 'GET', ruta: '/payrolls/{id}/dian_response', recurso: 'Payrolls', idempotente: false, reintento: 'seguro', binario: 'xml', llave: 'api_o_administracion' },
|
|
72
|
+
{ operation_id: 'downloadPayrollXml', metodo: 'GET', ruta: '/payrolls/{id}/xml', recurso: 'Payrolls', idempotente: false, reintento: 'seguro', binario: 'xml', llave: 'api_o_administracion' },
|
|
73
|
+
{ operation_id: 'downloadPayrollZip', metodo: 'GET', ruta: '/payrolls/{id}/zip', recurso: 'Payrolls', idempotente: false, reintento: 'seguro', binario: 'zip', llave: 'api_o_administracion' },
|
|
74
|
+
{ operation_id: 'downloadRadianEventXml', metodo: 'GET', ruta: '/radian_events/{id}/xml', recurso: 'RadianEvents', idempotente: false, reintento: 'seguro', binario: 'xml', llave: 'api_o_administracion' },
|
|
75
|
+
{ operation_id: 'downloadSupportDocumentAdjustmentDianResponse', metodo: 'GET', ruta: '/support_document_adjustments/{id}/dian_response', recurso: 'SupportDocumentAdjustments', idempotente: false, reintento: 'seguro', binario: 'xml', llave: 'api_o_administracion' },
|
|
76
|
+
{ operation_id: 'downloadSupportDocumentAdjustmentXml', metodo: 'GET', ruta: '/support_document_adjustments/{id}/xml', recurso: 'SupportDocumentAdjustments', idempotente: false, reintento: 'seguro', binario: 'xml', llave: 'api_o_administracion' },
|
|
77
|
+
{ operation_id: 'downloadSupportDocumentDianResponse', metodo: 'GET', ruta: '/support_documents/{id}/dian_response', recurso: 'SupportDocuments', idempotente: false, reintento: 'seguro', binario: 'xml', llave: 'api_o_administracion' },
|
|
78
|
+
{ operation_id: 'downloadSupportDocumentXml', metodo: 'GET', ruta: '/support_documents/{id}/xml', recurso: 'SupportDocuments', idempotente: false, reintento: 'seguro', binario: 'xml', llave: 'api_o_administracion' },
|
|
79
|
+
{ operation_id: 'exportDocuments', metodo: 'GET', ruta: '/reports/documents', recurso: 'Reports', idempotente: false, reintento: 'seguro', binario: 'csv', llave: 'api_o_administracion' },
|
|
80
|
+
{ operation_id: 'getDianDocument', metodo: 'GET', ruta: '/dian_documents/{id}', recurso: 'DianDocuments', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
81
|
+
{ operation_id: 'getDianSync', metodo: 'GET', ruta: '/dian_syncs/{id}', recurso: 'DianSyncs', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
82
|
+
{ operation_id: 'getHealth', metodo: 'GET', ruta: '/health', recurso: 'General', idempotente: false, reintento: 'seguro', binario: nil, llave: 'ninguna' },
|
|
83
|
+
{ operation_id: 'getRadianStatus', metodo: 'GET', ruta: '/radian_status', recurso: 'RadianStatus', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
84
|
+
{ operation_id: 'listAccountCompanies', metodo: 'GET', ruta: '/account/companies', recurso: 'Account', idempotente: false, reintento: 'seguro', binario: nil, llave: 'administracion' },
|
|
85
|
+
{ operation_id: 'listAccountCompanyApiKeys', metodo: 'GET', ruta: '/account/companies/{id}/api_keys', recurso: 'Account', idempotente: false, reintento: 'seguro', binario: nil, llave: 'administracion' },
|
|
86
|
+
{ operation_id: 'listAccountDianDocuments', metodo: 'GET', ruta: '/account/dian_documents', recurso: 'Account', idempotente: false, reintento: 'seguro', binario: nil, llave: 'administracion' },
|
|
87
|
+
{ operation_id: 'listAccountRadianEvents', metodo: 'GET', ruta: '/account/radian_events', recurso: 'Account', idempotente: false, reintento: 'seguro', binario: nil, llave: 'administracion' },
|
|
88
|
+
{ operation_id: 'listAccountRequests', metodo: 'GET', ruta: '/account/requests', recurso: 'Account', idempotente: false, reintento: 'seguro', binario: nil, llave: 'administracion' },
|
|
89
|
+
{ operation_id: 'listBalanceTransactions', metodo: 'GET', ruta: '/balance/transactions', recurso: 'Balance', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
90
|
+
{ operation_id: 'listCreditNotes', metodo: 'GET', ruta: '/credit_notes', recurso: 'CreditNotes', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
91
|
+
{ operation_id: 'listCustomers', metodo: 'GET', ruta: '/customers', recurso: 'Customers', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
92
|
+
{ operation_id: 'listDebitNotes', metodo: 'GET', ruta: '/debit_notes', recurso: 'DebitNotes', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
93
|
+
{ operation_id: 'listDianDocuments', metodo: 'GET', ruta: '/dian_documents', recurso: 'DianDocuments', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
94
|
+
{ operation_id: 'listDianSyncs', metodo: 'GET', ruta: '/dian_syncs', recurso: 'DianSyncs', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
95
|
+
{ operation_id: 'listEquivalentDocumentAdjustments', metodo: 'GET', ruta: '/equivalent_document_adjustments', recurso: 'EquivalentDocumentAdjustments', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
96
|
+
{ operation_id: 'listEquivalentDocuments', metodo: 'GET', ruta: '/equivalent_documents', recurso: 'EquivalentDocuments', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
97
|
+
{ operation_id: 'listEvents', metodo: 'GET', ruta: '/events', recurso: 'Events', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
98
|
+
{ operation_id: 'listInvoiceBatches', metodo: 'GET', ruta: '/invoice_batches', recurso: 'InvoiceBatches', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
99
|
+
{ operation_id: 'listInvoices', metodo: 'GET', ruta: '/invoices', recurso: 'Invoices', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
100
|
+
{ operation_id: 'listNumberingRanges', metodo: 'GET', ruta: '/numbering_ranges', recurso: 'NumberingRanges', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
101
|
+
{ operation_id: 'listNumberingRequests', metodo: 'GET', ruta: '/numbering_requests', recurso: 'NumberingRequests', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
102
|
+
{ operation_id: 'listPaperNumberingRanges', metodo: 'GET', ruta: '/paper_numbering_ranges', recurso: 'PaperNumberingRanges', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
103
|
+
{ operation_id: 'listPayrollAdjustments', metodo: 'GET', ruta: '/payroll_adjustments', recurso: 'PayrollAdjustments', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
104
|
+
{ operation_id: 'listPayrolls', metodo: 'GET', ruta: '/payrolls', recurso: 'Payrolls', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
105
|
+
{ operation_id: 'listProducts', metodo: 'GET', ruta: '/products', recurso: 'Products', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
106
|
+
{ operation_id: 'listRadianEvents', metodo: 'GET', ruta: '/radian_events', recurso: 'RadianEvents', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
107
|
+
{ operation_id: 'listReportRuns', metodo: 'GET', ruta: '/report_runs', recurso: 'ReportRuns', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
108
|
+
{ operation_id: 'listRequests', metodo: 'GET', ruta: '/requests', recurso: 'Requests', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
109
|
+
{ operation_id: 'listSupportDocumentAdjustments', metodo: 'GET', ruta: '/support_document_adjustments', recurso: 'SupportDocumentAdjustments', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
110
|
+
{ operation_id: 'listSupportDocuments', metodo: 'GET', ruta: '/support_documents', recurso: 'SupportDocuments', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
111
|
+
{ operation_id: 'listWebhookEndpointDeliveries', metodo: 'GET', ruta: '/webhook_endpoints/{id}/deliveries', recurso: 'WebhookEndpoints', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
112
|
+
{ operation_id: 'listWebhookEndpoints', metodo: 'GET', ruta: '/webhook_endpoints', recurso: 'WebhookEndpoints', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
113
|
+
{ operation_id: 'markNumberingRequestSubmitted', metodo: 'POST', ruta: '/numbering_requests/{id}/submitted', recurso: 'NumberingRequests', idempotente: false, reintento: 'solo_429', binario: nil, llave: 'api_o_administracion' },
|
|
114
|
+
{ operation_id: 'previewCreditNote', metodo: 'POST', ruta: '/credit_notes/preview', recurso: 'CreditNotes', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
115
|
+
{ operation_id: 'previewDebitNote', metodo: 'POST', ruta: '/debit_notes/preview', recurso: 'DebitNotes', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
116
|
+
{ operation_id: 'previewEquivalentDocument', metodo: 'POST', ruta: '/equivalent_documents/preview', recurso: 'EquivalentDocuments', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
117
|
+
{ operation_id: 'previewEquivalentDocumentAdjustment', metodo: 'POST', ruta: '/equivalent_document_adjustments/preview', recurso: 'EquivalentDocumentAdjustments', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
118
|
+
{ operation_id: 'previewInvoice', metodo: 'POST', ruta: '/invoices/preview', recurso: 'Invoices', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
119
|
+
{ operation_id: 'previewPayroll', metodo: 'POST', ruta: '/payrolls/preview', recurso: 'Payrolls', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
120
|
+
{ operation_id: 'previewPayrollAdjustment', metodo: 'POST', ruta: '/payroll_adjustments/preview', recurso: 'PayrollAdjustments', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
121
|
+
{ operation_id: 'previewSupportDocument', metodo: 'POST', ruta: '/support_documents/preview', recurso: 'SupportDocuments', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
122
|
+
{ operation_id: 'previewSupportDocumentAdjustment', metodo: 'POST', ruta: '/support_document_adjustments/preview', recurso: 'SupportDocumentAdjustments', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
123
|
+
{ operation_id: 'refreshNumberingRanges', metodo: 'POST', ruta: '/numbering_ranges/refresh', recurso: 'NumberingRanges', idempotente: false, reintento: 'solo_429', binario: nil, llave: 'api_o_administracion' },
|
|
124
|
+
{ operation_id: 'resendEvent', metodo: 'POST', ruta: '/events/{id}/resend', recurso: 'Events', idempotente: false, reintento: 'solo_429', binario: nil, llave: 'api_o_administracion' },
|
|
125
|
+
{ operation_id: 'retrieveAccount', metodo: 'GET', ruta: '/account', recurso: 'Account', idempotente: false, reintento: 'seguro', binario: nil, llave: 'administracion' },
|
|
126
|
+
{ operation_id: 'retrieveAccountCompany', metodo: 'GET', ruta: '/account/companies/{id}', recurso: 'Account', idempotente: false, reintento: 'seguro', binario: nil, llave: 'administracion' },
|
|
127
|
+
{ operation_id: 'retrieveBalance', metodo: 'GET', ruta: '/balance', recurso: 'Balance', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
128
|
+
{ operation_id: 'retrieveCompany', metodo: 'GET', ruta: '/company', recurso: 'General', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
129
|
+
{ operation_id: 'retrieveCreditNote', metodo: 'GET', ruta: '/credit_notes/{id}', recurso: 'CreditNotes', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
130
|
+
{ operation_id: 'retrieveCustomer', metodo: 'GET', ruta: '/customers/{id}', recurso: 'Customers', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
131
|
+
{ operation_id: 'retrieveDebitNote', metodo: 'GET', ruta: '/debit_notes/{id}', recurso: 'DebitNotes', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
132
|
+
{ operation_id: 'retrieveDianAcquirer', metodo: 'GET', ruta: '/dian/acquirer', recurso: 'General', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
133
|
+
{ operation_id: 'retrieveEquivalentDocument', metodo: 'GET', ruta: '/equivalent_documents/{id}', recurso: 'EquivalentDocuments', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
134
|
+
{ operation_id: 'retrieveEquivalentDocumentAdjustment', metodo: 'GET', ruta: '/equivalent_document_adjustments/{id}', recurso: 'EquivalentDocumentAdjustments', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
135
|
+
{ operation_id: 'retrieveEvent', metodo: 'GET', ruta: '/events/{id}', recurso: 'Events', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
136
|
+
{ operation_id: 'retrieveInvoice', metodo: 'GET', ruta: '/invoices/{id}', recurso: 'Invoices', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
137
|
+
{ operation_id: 'retrieveInvoiceBatch', metodo: 'GET', ruta: '/invoice_batches/{id}', recurso: 'InvoiceBatches', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
138
|
+
{ operation_id: 'retrieveInvoiceTacitAcceptance', metodo: 'GET', ruta: '/invoices/{id}/tacit_acceptance', recurso: 'Invoices', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
139
|
+
{ operation_id: 'retrieveNumberingAssociation', metodo: 'GET', ruta: '/numbering_associations/{id}', recurso: 'NumberingAssociations', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
140
|
+
{ operation_id: 'retrieveNumberingRange', metodo: 'GET', ruta: '/numbering_ranges/{id}', recurso: 'NumberingRanges', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
141
|
+
{ operation_id: 'retrieveNumberingRequest', metodo: 'GET', ruta: '/numbering_requests/{id}', recurso: 'NumberingRequests', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
142
|
+
{ operation_id: 'retrievePaperNumberingRange', metodo: 'GET', ruta: '/paper_numbering_ranges/{id}', recurso: 'PaperNumberingRanges', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
143
|
+
{ operation_id: 'retrievePayroll', metodo: 'GET', ruta: '/payrolls/{id}', recurso: 'Payrolls', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
144
|
+
{ operation_id: 'retrievePayrollAdjustment', metodo: 'GET', ruta: '/payroll_adjustments/{id}', recurso: 'PayrollAdjustments', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
145
|
+
{ operation_id: 'retrieveProduct', metodo: 'GET', ruta: '/products/{id}', recurso: 'Products', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
146
|
+
{ operation_id: 'retrieveRadianEvent', metodo: 'GET', ruta: '/radian_events/{id}', recurso: 'RadianEvents', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
147
|
+
{ operation_id: 'retrieveReportRun', metodo: 'GET', ruta: '/report_runs/{id}', recurso: 'ReportRuns', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
148
|
+
{ operation_id: 'retrieveReportRunFile', metodo: 'GET', ruta: '/report_runs/{id}/file', recurso: 'ReportRuns', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
149
|
+
{ operation_id: 'retrieveSupportDocument', metodo: 'GET', ruta: '/support_documents/{id}', recurso: 'SupportDocuments', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
150
|
+
{ operation_id: 'retrieveSupportDocumentAdjustment', metodo: 'GET', ruta: '/support_document_adjustments/{id}', recurso: 'SupportDocumentAdjustments', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
151
|
+
{ operation_id: 'retrieveTacitAcceptanceByCufe', metodo: 'GET', ruta: '/radian_events/tacit_acceptance', recurso: 'RadianEvents', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
152
|
+
{ operation_id: 'retrieveTaxSummary', metodo: 'GET', ruta: '/reports/tax_summary', recurso: 'Reports', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
153
|
+
{ operation_id: 'retrieveWebhookEndpoint', metodo: 'GET', ruta: '/webhook_endpoints/{id}', recurso: 'WebhookEndpoints', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
154
|
+
{ operation_id: 'retryNumberingRequestAutomatic', metodo: 'POST', ruta: '/numbering_requests/{id}/retry_automatic', recurso: 'NumberingRequests', idempotente: false, reintento: 'solo_429', binario: nil, llave: 'api_o_administracion' },
|
|
155
|
+
{ operation_id: 'revokeAccountCompanyApiKey', metodo: 'DELETE', ruta: '/account/companies/{id}/api_keys/{key_id}', recurso: 'Account', idempotente: false, reintento: 'solo_429', binario: nil, llave: 'administracion' },
|
|
156
|
+
{ operation_id: 'rotateWebhookEndpointSecret', metodo: 'POST', ruta: '/webhook_endpoints/{id}/rotate_secret', recurso: 'WebhookEndpoints', idempotente: false, reintento: 'solo_429', binario: nil, llave: 'api_o_administracion' },
|
|
157
|
+
{ operation_id: 'sendCreditNote', metodo: 'POST', ruta: '/credit_notes/{id}/send', recurso: 'CreditNotes', idempotente: false, reintento: 'solo_429', binario: nil, llave: 'api_o_administracion' },
|
|
158
|
+
{ operation_id: 'sendDebitNote', metodo: 'POST', ruta: '/debit_notes/{id}/send', recurso: 'DebitNotes', idempotente: false, reintento: 'solo_429', binario: nil, llave: 'api_o_administracion' },
|
|
159
|
+
{ operation_id: 'sendEquivalentDocument', metodo: 'POST', ruta: '/equivalent_documents/{id}/send', recurso: 'EquivalentDocuments', idempotente: false, reintento: 'solo_429', binario: nil, llave: 'api_o_administracion' },
|
|
160
|
+
{ operation_id: 'sendEquivalentDocumentAdjustment', metodo: 'POST', ruta: '/equivalent_document_adjustments/{id}/send', recurso: 'EquivalentDocumentAdjustments', idempotente: false, reintento: 'solo_429', binario: nil, llave: 'api_o_administracion' },
|
|
161
|
+
{ operation_id: 'sendInvoice', metodo: 'POST', ruta: '/invoices/{id}/send', recurso: 'Invoices', idempotente: false, reintento: 'solo_429', binario: nil, llave: 'api_o_administracion' },
|
|
162
|
+
{ operation_id: 'sendPayroll', metodo: 'POST', ruta: '/payrolls/{id}/send', recurso: 'Payrolls', idempotente: false, reintento: 'solo_429', binario: nil, llave: 'api_o_administracion' },
|
|
163
|
+
{ operation_id: 'sendPayrollAdjustment', metodo: 'POST', ruta: '/payroll_adjustments/{id}/send', recurso: 'PayrollAdjustments', idempotente: false, reintento: 'solo_429', binario: nil, llave: 'api_o_administracion' },
|
|
164
|
+
{ operation_id: 'sendRadianEvent', metodo: 'POST', ruta: '/radian_events/{id}/send', recurso: 'RadianEvents', idempotente: false, reintento: 'solo_429', binario: nil, llave: 'api_o_administracion' },
|
|
165
|
+
{ operation_id: 'sendSupportDocument', metodo: 'POST', ruta: '/support_documents/{id}/send', recurso: 'SupportDocuments', idempotente: false, reintento: 'solo_429', binario: nil, llave: 'api_o_administracion' },
|
|
166
|
+
{ operation_id: 'sendSupportDocumentAdjustment', metodo: 'POST', ruta: '/support_document_adjustments/{id}/send', recurso: 'SupportDocumentAdjustments', idempotente: false, reintento: 'solo_429', binario: nil, llave: 'api_o_administracion' },
|
|
167
|
+
{ operation_id: 'testWebhookEndpoint', metodo: 'POST', ruta: '/webhook_endpoints/{id}/test', recurso: 'WebhookEndpoints', idempotente: false, reintento: 'solo_429', binario: nil, llave: 'api_o_administracion' },
|
|
168
|
+
{ operation_id: 'updateCustomer', metodo: 'PATCH', ruta: '/customers/{id}', recurso: 'Customers', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
169
|
+
{ operation_id: 'updatePaperNumberingRange', metodo: 'PATCH', ruta: '/paper_numbering_ranges/{id}', recurso: 'PaperNumberingRanges', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
170
|
+
{ operation_id: 'updateProduct', metodo: 'PATCH', ruta: '/products/{id}', recurso: 'Products', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' },
|
|
171
|
+
{ operation_id: 'updateWebhookEndpoint', metodo: 'PATCH', ruta: '/webhook_endpoints/{id}', recurso: 'WebhookEndpoints', idempotente: false, reintento: 'seguro', binario: nil, llave: 'api_o_administracion' }
|
|
161
172
|
].freeze
|
|
162
173
|
|
|
163
174
|
# El nombre de cada etiqueta del SDK (un recurso del cliente por etiqueta, en snake_case).
|
|
164
175
|
ETIQUETAS = [
|
|
176
|
+
'Account',
|
|
165
177
|
'Balance',
|
|
166
178
|
'CreditNotes',
|
|
167
179
|
'Customers',
|
|
@@ -218,6 +230,8 @@ module TrevolGenerado
|
|
|
218
230
|
'numbering_request_in_progress' => 'ConflictError',
|
|
219
231
|
'range_protected' => 'ConflictError',
|
|
220
232
|
'paper_numbering_limit_reached' => 'ConflictError',
|
|
233
|
+
'company_exists' => 'ConflictError',
|
|
234
|
+
'key_limit_reached' => 'ConflictError',
|
|
221
235
|
'company_not_enabled' => 'PreconditionError',
|
|
222
236
|
'numbering_unavailable' => 'PreconditionError',
|
|
223
237
|
'certificate_problem' => 'PreconditionError',
|
|
@@ -231,6 +245,7 @@ module TrevolGenerado
|
|
|
231
245
|
'top_up_above_maximum' => 'BalanceError',
|
|
232
246
|
'top_ups_unavailable' => 'BalanceError',
|
|
233
247
|
'rate_limited' => 'RateLimitError',
|
|
248
|
+
'company_limit_reached' => 'RateLimitError',
|
|
234
249
|
'dian_unavailable' => 'DianUnavailableError',
|
|
235
250
|
'internal_error' => 'InternalServerError'
|
|
236
251
|
}.freeze
|
data/lib/trevol_generado.rb
CHANGED
|
@@ -18,6 +18,27 @@ require 'trevol_generado/version'
|
|
|
18
18
|
require 'trevol_generado/configuration'
|
|
19
19
|
|
|
20
20
|
# Models
|
|
21
|
+
require 'trevol_generado/models/account_api_key'
|
|
22
|
+
require 'trevol_generado/models/account_api_key_input'
|
|
23
|
+
require 'trevol_generado/models/account_api_key_list'
|
|
24
|
+
require 'trevol_generado/models/account_api_key_revocation'
|
|
25
|
+
require 'trevol_generado/models/account_company'
|
|
26
|
+
require 'trevol_generado/models/account_company_api_key_counts'
|
|
27
|
+
require 'trevol_generado/models/account_company_input'
|
|
28
|
+
require 'trevol_generado/models/account_company_list'
|
|
29
|
+
require 'trevol_generado/models/account_company_onboarding'
|
|
30
|
+
require 'trevol_generado/models/account_company_reference'
|
|
31
|
+
require 'trevol_generado/models/account_dian_counterpart'
|
|
32
|
+
require 'trevol_generado/models/account_dian_document'
|
|
33
|
+
require 'trevol_generado/models/account_dian_document_list'
|
|
34
|
+
require 'trevol_generado/models/account_key'
|
|
35
|
+
require 'trevol_generado/models/account_key_info'
|
|
36
|
+
require 'trevol_generado/models/account_key_info_account'
|
|
37
|
+
require 'trevol_generado/models/account_key_scope'
|
|
38
|
+
require 'trevol_generado/models/account_radian_event'
|
|
39
|
+
require 'trevol_generado/models/account_radian_event_list'
|
|
40
|
+
require 'trevol_generado/models/account_request_log'
|
|
41
|
+
require 'trevol_generado/models/account_request_log_list'
|
|
21
42
|
require 'trevol_generado/models/acquirer'
|
|
22
43
|
require 'trevol_generado/models/air_collection'
|
|
23
44
|
require 'trevol_generado/models/air_extension'
|
|
@@ -241,6 +262,8 @@ require 'trevol_generado/models/radian_event_invoice'
|
|
|
241
262
|
require 'trevol_generado/models/radian_event_list'
|
|
242
263
|
require 'trevol_generado/models/radian_status'
|
|
243
264
|
require 'trevol_generado/models/radian_status_event'
|
|
265
|
+
require 'trevol_generado/models/radian_summary'
|
|
266
|
+
require 'trevol_generado/models/radian_summary_event'
|
|
244
267
|
require 'trevol_generado/models/received_invoice'
|
|
245
268
|
require 'trevol_generado/models/received_invoice_issuer'
|
|
246
269
|
require 'trevol_generado/models/references'
|
|
@@ -309,6 +332,7 @@ require 'trevol_generado/models/webhook_endpoint_update'
|
|
|
309
332
|
require 'trevol_generado/models/withholding'
|
|
310
333
|
|
|
311
334
|
# APIs
|
|
335
|
+
require 'trevol_generado/api/account_api'
|
|
312
336
|
require 'trevol_generado/api/balance_api'
|
|
313
337
|
require 'trevol_generado/api/credit_notes_api'
|
|
314
338
|
require 'trevol_generado/api/customers_api'
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: trevol
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Joshua Montclair (Trevol)
|
|
@@ -140,6 +140,7 @@ files:
|
|
|
140
140
|
- lib/trevol/transporte.rb
|
|
141
141
|
- lib/trevol/webhook.rb
|
|
142
142
|
- lib/trevol_generado.rb
|
|
143
|
+
- lib/trevol_generado/api/account_api.rb
|
|
143
144
|
- lib/trevol_generado/api/balance_api.rb
|
|
144
145
|
- lib/trevol_generado/api/credit_notes_api.rb
|
|
145
146
|
- lib/trevol_generado/api/customers_api.rb
|
|
@@ -171,6 +172,27 @@ files:
|
|
|
171
172
|
- lib/trevol_generado/api_error.rb
|
|
172
173
|
- lib/trevol_generado/api_model_base.rb
|
|
173
174
|
- lib/trevol_generado/configuration.rb
|
|
175
|
+
- lib/trevol_generado/models/account_api_key.rb
|
|
176
|
+
- lib/trevol_generado/models/account_api_key_input.rb
|
|
177
|
+
- lib/trevol_generado/models/account_api_key_list.rb
|
|
178
|
+
- lib/trevol_generado/models/account_api_key_revocation.rb
|
|
179
|
+
- lib/trevol_generado/models/account_company.rb
|
|
180
|
+
- lib/trevol_generado/models/account_company_api_key_counts.rb
|
|
181
|
+
- lib/trevol_generado/models/account_company_input.rb
|
|
182
|
+
- lib/trevol_generado/models/account_company_list.rb
|
|
183
|
+
- lib/trevol_generado/models/account_company_onboarding.rb
|
|
184
|
+
- lib/trevol_generado/models/account_company_reference.rb
|
|
185
|
+
- lib/trevol_generado/models/account_dian_counterpart.rb
|
|
186
|
+
- lib/trevol_generado/models/account_dian_document.rb
|
|
187
|
+
- lib/trevol_generado/models/account_dian_document_list.rb
|
|
188
|
+
- lib/trevol_generado/models/account_key.rb
|
|
189
|
+
- lib/trevol_generado/models/account_key_info.rb
|
|
190
|
+
- lib/trevol_generado/models/account_key_info_account.rb
|
|
191
|
+
- lib/trevol_generado/models/account_key_scope.rb
|
|
192
|
+
- lib/trevol_generado/models/account_radian_event.rb
|
|
193
|
+
- lib/trevol_generado/models/account_radian_event_list.rb
|
|
194
|
+
- lib/trevol_generado/models/account_request_log.rb
|
|
195
|
+
- lib/trevol_generado/models/account_request_log_list.rb
|
|
174
196
|
- lib/trevol_generado/models/acquirer.rb
|
|
175
197
|
- lib/trevol_generado/models/air_collection.rb
|
|
176
198
|
- lib/trevol_generado/models/air_extension.rb
|
|
@@ -394,6 +416,8 @@ files:
|
|
|
394
416
|
- lib/trevol_generado/models/radian_event_list.rb
|
|
395
417
|
- lib/trevol_generado/models/radian_status.rb
|
|
396
418
|
- lib/trevol_generado/models/radian_status_event.rb
|
|
419
|
+
- lib/trevol_generado/models/radian_summary.rb
|
|
420
|
+
- lib/trevol_generado/models/radian_summary_event.rb
|
|
397
421
|
- lib/trevol_generado/models/received_invoice.rb
|
|
398
422
|
- lib/trevol_generado/models/received_invoice_issuer.rb
|
|
399
423
|
- lib/trevol_generado/models/references.rb
|