intifact 2.0.0__tar.gz → 3.0.0__tar.gz

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.
Files changed (372) hide show
  1. {intifact-2.0.0 → intifact-3.0.0}/PKG-INFO +9 -3
  2. {intifact-2.0.0 → intifact-3.0.0}/README.md +8 -2
  3. {intifact-2.0.0 → intifact-3.0.0}/intifact.egg-info/PKG-INFO +9 -3
  4. {intifact-2.0.0 → intifact-3.0.0}/intifact.egg-info/SOURCES.txt +19 -19
  5. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/__init__.py +19 -19
  6. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/api/__init__.py +0 -1
  7. intifact-3.0.0/intifact_sdk/api/branches_api.py +300 -0
  8. intifact-2.0.0/intifact_sdk/api/branches_api.py → intifact-3.0.0/intifact_sdk/api/company_api.py +36 -409
  9. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/api/documents_api.py +34 -0
  10. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/api/summary_api.py +272 -0
  11. intifact-2.0.0/intifact_sdk/api/webhooks_api.py → intifact-3.0.0/intifact_sdk/api/system_api.py +249 -605
  12. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/api_client.py +1 -1
  13. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/configuration.py +4 -4
  14. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/__init__.py +9 -8
  15. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/compute_invoice200_response_data_items_inner.py +13 -7
  16. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/compute_invoice_request_items_inner.py +12 -2
  17. intifact-3.0.0/intifact_sdk/models/export_producto_sunat200_response.py +107 -0
  18. intifact-3.0.0/intifact_sdk/models/export_producto_sunat200_response_data.py +117 -0
  19. intifact-3.0.0/intifact_sdk/models/export_producto_sunat200_response_data_items_inner.py +143 -0
  20. intifact-3.0.0/intifact_sdk/models/get_producto_sunat200_response.py +107 -0
  21. intifact-3.0.0/intifact_sdk/models/get_summary200_response.py +107 -0
  22. intifact-3.0.0/intifact_sdk/models/get_summary200_response_data.py +196 -0
  23. intifact-3.0.0/intifact_sdk/models/get_summary200_response_data_items_inner.py +134 -0
  24. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/list_documents200_response_data_inner_company.py +9 -2
  25. intifact-3.0.0/intifact_sdk/models/search_producto_sunat200_response.py +107 -0
  26. intifact-3.0.0/intifact_sdk/models/search_producto_sunat200_response_data.py +124 -0
  27. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/send_despatch_multi_request.py +11 -1
  28. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/send_despatch_multi_request_destinos_inner.py +0 -5
  29. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/send_despatch_request.py +11 -6
  30. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/send_despatch_request_vehiculos_secundarios_inner.py +9 -2
  31. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/send_despatch_transportista_request.py +8 -6
  32. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/send_despatch_transportista_request_vehiculos_secundarios_inner.py +9 -2
  33. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/send_invoice_request_detalle_inner.py +12 -2
  34. {intifact-2.0.0 → intifact-3.0.0}/pyproject.toml +1 -1
  35. {intifact-2.0.0 → intifact-3.0.0}/setup.py +2 -2
  36. {intifact-2.0.0 → intifact-3.0.0}/test/test_auth_api.py +27 -27
  37. {intifact-2.0.0 → intifact-3.0.0}/test/test_branches_api.py +2 -23
  38. {intifact-2.0.0 → intifact-3.0.0}/test/test_company_api.py +7 -28
  39. {intifact-2.0.0 → intifact-3.0.0}/test/test_compute_invoice200_response.py +2 -2
  40. {intifact-2.0.0 → intifact-3.0.0}/test/test_compute_invoice200_response_data.py +2 -2
  41. {intifact-2.0.0 → intifact-3.0.0}/test/test_compute_invoice200_response_data_items_inner.py +1 -1
  42. {intifact-2.0.0 → intifact-3.0.0}/test/test_compute_invoice_request.py +2 -2
  43. {intifact-2.0.0 → intifact-3.0.0}/test/test_compute_invoice_request_items_inner.py +1 -1
  44. {intifact-2.0.0 → intifact-3.0.0}/test/test_despatch_api.py +14 -14
  45. {intifact-2.0.0 → intifact-3.0.0}/test/test_documents_api.py +17 -17
  46. intifact-3.0.0/test/test_export_producto_sunat200_response.py +76 -0
  47. intifact-3.0.0/test/test_export_producto_sunat200_response_data.py +72 -0
  48. intifact-3.0.0/test/test_export_producto_sunat200_response_data_items_inner.py +62 -0
  49. {intifact-2.0.0 → intifact-3.0.0}/test/test_get_next_correlativo200_response.py +2 -2
  50. intifact-3.0.0/test/test_get_producto_sunat200_response.py +66 -0
  51. intifact-3.0.0/test/test_get_summary200_response.py +98 -0
  52. intifact-3.0.0/test/test_get_summary200_response_data.py +94 -0
  53. intifact-3.0.0/test/test_get_summary200_response_data_items_inner.py +60 -0
  54. {intifact-2.0.0 → intifact-3.0.0}/test/test_internal_certificates_expiring_get401_response.py +2 -2
  55. {intifact-2.0.0 → intifact-3.0.0}/test/test_internal_certificates_expiring_get403_response.py +2 -2
  56. {intifact-2.0.0 → intifact-3.0.0}/test/test_internal_certificates_expiring_get429_response.py +2 -2
  57. {intifact-2.0.0 → intifact-3.0.0}/test/test_invoice_api.py +10 -10
  58. {intifact-2.0.0 → intifact-3.0.0}/test/test_list_documents200_response.py +4 -2
  59. {intifact-2.0.0 → intifact-3.0.0}/test/test_list_documents200_response_data_inner.py +4 -2
  60. {intifact-2.0.0 → intifact-3.0.0}/test/test_list_documents200_response_data_inner_company.py +2 -1
  61. {intifact-2.0.0 → intifact-3.0.0}/test/test_note_api.py +10 -10
  62. {intifact-2.0.0 → intifact-3.0.0}/test/test_plans_api.py +11 -11
  63. {intifact-2.0.0 → intifact-3.0.0}/test/test_public_api.py +6 -6
  64. {intifact-2.0.0 → intifact-3.0.0}/test/test_queues_api.py +2 -2
  65. intifact-3.0.0/test/test_search_producto_sunat200_response.py +78 -0
  66. intifact-3.0.0/test/test_search_producto_sunat200_response_data.py +74 -0
  67. {intifact-2.0.0 → intifact-3.0.0}/test/test_send_despatch_multi_request.py +2 -2
  68. {intifact-2.0.0 → intifact-3.0.0}/test/test_send_despatch_request.py +2 -2
  69. {intifact-2.0.0 → intifact-3.0.0}/test/test_send_despatch_request_vehiculos_secundarios_inner.py +2 -2
  70. {intifact-2.0.0 → intifact-3.0.0}/test/test_send_despatch_transportista_request.py +3 -3
  71. {intifact-2.0.0 → intifact-3.0.0}/test/test_send_despatch_transportista_request_vehiculos_secundarios_inner.py +2 -2
  72. {intifact-2.0.0 → intifact-3.0.0}/test/test_send_invoice_request.py +2 -2
  73. {intifact-2.0.0 → intifact-3.0.0}/test/test_send_invoice_request_detalle_inner.py +1 -1
  74. {intifact-2.0.0 → intifact-3.0.0}/test/test_send_note_request.py +2 -2
  75. {intifact-2.0.0 → intifact-3.0.0}/test/test_summary_api.py +12 -12
  76. {intifact-2.0.0 → intifact-3.0.0}/test/test_system_api.py +26 -5
  77. intifact-2.0.0/intifact_sdk/api/company_api.py +0 -1665
  78. intifact-2.0.0/intifact_sdk/api/system_api.py +0 -1324
  79. intifact-2.0.0/intifact_sdk/models/claim_company_request.py +0 -110
  80. intifact-2.0.0/intifact_sdk/models/create_branch_request.py +0 -112
  81. intifact-2.0.0/intifact_sdk/models/create_company_request.py +0 -181
  82. intifact-2.0.0/intifact_sdk/models/create_company_request_cuentas_bancarias_inner.py +0 -103
  83. intifact-2.0.0/intifact_sdk/models/create_webhook_request.py +0 -118
  84. intifact-2.0.0/intifact_sdk/models/update_branch_request.py +0 -103
  85. intifact-2.0.0/intifact_sdk/models/update_company_request.py +0 -181
  86. intifact-2.0.0/intifact_sdk/models/update_webhook_request.py +0 -106
  87. intifact-2.0.0/test/test_claim_company_request.py +0 -59
  88. intifact-2.0.0/test/test_create_branch_request.py +0 -60
  89. intifact-2.0.0/test/test_create_company_request.py +0 -89
  90. intifact-2.0.0/test/test_create_company_request_cuentas_bancarias_inner.py +0 -63
  91. intifact-2.0.0/test/test_create_webhook_request.py +0 -62
  92. intifact-2.0.0/test/test_update_branch_request.py +0 -58
  93. intifact-2.0.0/test/test_update_company_request.py +0 -87
  94. intifact-2.0.0/test/test_update_webhook_request.py +0 -56
  95. intifact-2.0.0/test/test_webhooks_api.py +0 -94
  96. {intifact-2.0.0 → intifact-3.0.0}/intifact.egg-info/dependency_links.txt +0 -0
  97. {intifact-2.0.0 → intifact-3.0.0}/intifact.egg-info/requires.txt +0 -0
  98. {intifact-2.0.0 → intifact-3.0.0}/intifact.egg-info/top_level.txt +0 -0
  99. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/api/auth_api.py +0 -0
  100. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/api/despatch_api.py +0 -0
  101. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/api/invoice_api.py +0 -0
  102. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/api/note_api.py +0 -0
  103. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/api/plans_api.py +0 -0
  104. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/api/public_api.py +0 -0
  105. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/api/queues_api.py +0 -0
  106. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/api_response.py +0 -0
  107. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/exceptions.py +0 -0
  108. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_auth_login_post_request.py +0 -0
  109. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_auth_signup_post_request.py +0 -0
  110. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_boleta_cancel_post_request.py +0 -0
  111. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_catalogs_get200_response.py +0 -0
  112. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_catalogs_get200_response_data_inner.py +0 -0
  113. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_catalogs_get200_response_data_inner_items_inner.py +0 -0
  114. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_cdr_consultar_post200_response.py +0 -0
  115. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_cdr_consultar_post_request.py +0 -0
  116. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_companies_claim_post_request.py +0 -0
  117. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_companies_id_branches_branch_id_put_request.py +0 -0
  118. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_companies_id_branches_post_request.py +0 -0
  119. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_companies_id_put_request.py +0 -0
  120. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_companies_post_request.py +0 -0
  121. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_companies_post_request_cuentas_bancarias_inner.py +0 -0
  122. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_despatch_send_multi_post202_response.py +0 -0
  123. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_despatch_send_multi_post202_response_data.py +0 -0
  124. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_despatch_send_multi_post202_response_data_guias_inner.py +0 -0
  125. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_despatch_send_multi_post_request.py +0 -0
  126. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_despatch_send_multi_post_request_destinos_inner.py +0 -0
  127. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_despatch_send_post_request.py +0 -0
  128. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_despatch_send_post_request_chofer_inner.py +0 -0
  129. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_despatch_send_post_request_contenedores_inner.py +0 -0
  130. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_despatch_send_post_request_detalle_inner.py +0 -0
  131. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_despatch_send_post_request_documentos_relacionados_inner.py +0 -0
  132. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_despatch_send_post_request_guia_llegada_geo.py +0 -0
  133. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_despatch_send_post_request_guia_partida_geo.py +0 -0
  134. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_despatch_send_post_request_indicadores.py +0 -0
  135. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_despatch_send_post_request_vehiculos_secundarios_inner.py +0 -0
  136. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_despatch_transportista_send_post_request.py +0 -0
  137. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_despatch_transportista_send_post_request_vehiculos_secundarios_inner.py +0 -0
  138. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_documents_get200_response.py +0 -0
  139. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_documents_get200_response_data_inner.py +0 -0
  140. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_documents_get200_response_data_inner_company.py +0 -0
  141. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_documents_get200_response_pagination.py +0 -0
  142. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_documents_id_recover_post200_response.py +0 -0
  143. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_documents_id_retry_post202_response.py +0 -0
  144. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_documents_next_correlativo_get200_response.py +0 -0
  145. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_documents_next_correlativo_get200_response_data.py +0 -0
  146. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_invoice_cancel_post_request.py +0 -0
  147. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_invoice_compute_post200_response.py +0 -0
  148. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_invoice_compute_post200_response_data.py +0 -0
  149. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_invoice_compute_post200_response_data_items_inner.py +0 -0
  150. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_invoice_compute_post_request.py +0 -0
  151. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_invoice_compute_post_request_items_inner.py +0 -0
  152. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_invoice_compute_post_request_items_inner_descuento.py +0 -0
  153. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_invoice_send_post202_response.py +0 -0
  154. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_invoice_send_post202_response_data.py +0 -0
  155. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_invoice_send_post400_response.py +0 -0
  156. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_invoice_send_post400_response_errors_inner.py +0 -0
  157. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_invoice_send_post_request.py +0 -0
  158. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_invoice_send_post_request_detalle_inner.py +0 -0
  159. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_invoice_send_post_request_detraccion.py +0 -0
  160. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_invoice_send_post_request_forma_pago_inner.py +0 -0
  161. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_invoice_send_post_request_guia_remision_inner.py +0 -0
  162. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_invoice_send_post_request_leyendas_inner.py +0 -0
  163. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_invoice_send_post_request_pagos_inner.py +0 -0
  164. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_note_compute_post_request.py +0 -0
  165. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_note_compute_post_request_items_inner.py +0 -0
  166. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_note_send_post202_response.py +0 -0
  167. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_note_send_post202_response_data.py +0 -0
  168. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_note_send_post_request.py +0 -0
  169. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_note_send_post_request_detalle_inner.py +0 -0
  170. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_plans_id_put_request.py +0 -0
  171. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_plans_post_request.py +0 -0
  172. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_queues_stats_get200_response.py +0 -0
  173. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_queues_stats_get200_response_data.py +0 -0
  174. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_summary_send_post202_response.py +0 -0
  175. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_summary_send_post202_response_data.py +0 -0
  176. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_summary_send_post_request.py +0 -0
  177. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_summary_send_post_request_items_inner.py +0 -0
  178. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_ticket_ticket_status_get200_response.py +0 -0
  179. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_ticket_ticket_status_get200_response_cdr_response.py +0 -0
  180. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_ticket_ticket_status_get202_response.py +0 -0
  181. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_ticket_ticket_status_get202_response_cdr_response.py +0 -0
  182. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_voided_send_post_request.py +0 -0
  183. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_voided_send_post_request_items_inner.py +0 -0
  184. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_webhooks_id_put_request.py +0 -0
  185. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/api_v1_webhooks_post_request.py +0 -0
  186. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/cancel_boleta_request.py +0 -0
  187. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/cancel_invoice_request.py +0 -0
  188. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/compute_invoice200_response.py +0 -0
  189. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/compute_invoice200_response_data.py +0 -0
  190. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/compute_invoice_request.py +0 -0
  191. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/compute_invoice_request_items_inner_descuento.py +0 -0
  192. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/consultar_cdr200_response.py +0 -0
  193. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/consultar_cdr_request.py +0 -0
  194. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/create_plan_request.py +0 -0
  195. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/get_next_correlativo200_response.py +0 -0
  196. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/get_next_correlativo200_response_data.py +0 -0
  197. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/get_queue_stats200_response.py +0 -0
  198. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/get_queue_stats200_response_data.py +0 -0
  199. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/get_ticket_status200_response.py +0 -0
  200. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/get_ticket_status200_response_cdr_response.py +0 -0
  201. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/get_ticket_status202_response.py +0 -0
  202. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/get_ticket_status202_response_cdr_response.py +0 -0
  203. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/internal_certificates_expiring_get401_response.py +0 -0
  204. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/internal_certificates_expiring_get401_response_errors_inner.py +0 -0
  205. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/internal_certificates_expiring_get403_response.py +0 -0
  206. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/internal_certificates_expiring_get403_response_errors_inner.py +0 -0
  207. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/internal_certificates_expiring_get429_response.py +0 -0
  208. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/list_catalogs200_response.py +0 -0
  209. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/list_catalogs200_response_data_inner.py +0 -0
  210. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/list_catalogs200_response_data_inner_items_inner.py +0 -0
  211. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/list_documents200_response.py +0 -0
  212. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/list_documents200_response_data_inner.py +0 -0
  213. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/list_documents200_response_pagination.py +0 -0
  214. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/login_request.py +0 -0
  215. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/reconcile_document200_response.py +0 -0
  216. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/retry_document202_response.py +0 -0
  217. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/send_despatch_multi202_response.py +0 -0
  218. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/send_despatch_multi202_response_data.py +0 -0
  219. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/send_despatch_multi202_response_data_guias_inner.py +0 -0
  220. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/send_despatch_request_chofer_inner.py +0 -0
  221. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/send_despatch_request_contenedores_inner.py +0 -0
  222. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/send_despatch_request_detalle_inner.py +0 -0
  223. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/send_despatch_request_documentos_relacionados_inner.py +0 -0
  224. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/send_despatch_request_guia_llegada_geo.py +0 -0
  225. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/send_despatch_request_guia_partida_geo.py +0 -0
  226. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/send_despatch_request_indicadores.py +0 -0
  227. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/send_invoice202_response.py +0 -0
  228. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/send_invoice202_response_data.py +0 -0
  229. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/send_invoice_request.py +0 -0
  230. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/send_invoice_request_detraccion.py +0 -0
  231. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/send_invoice_request_forma_pago_inner.py +0 -0
  232. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/send_invoice_request_guia_remision_inner.py +0 -0
  233. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/send_invoice_request_leyendas_inner.py +0 -0
  234. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/send_invoice_request_pagos_inner.py +0 -0
  235. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/send_note_request.py +0 -0
  236. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/send_summary202_response.py +0 -0
  237. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/send_summary202_response_data.py +0 -0
  238. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/send_summary_request.py +0 -0
  239. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/send_summary_request_items_inner.py +0 -0
  240. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/send_voided_request.py +0 -0
  241. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/send_voided_request_items_inner.py +0 -0
  242. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/signup_request.py +0 -0
  243. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/models/update_plan_request.py +0 -0
  244. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/py.typed +0 -0
  245. {intifact-2.0.0 → intifact-3.0.0}/intifact_sdk/rest.py +0 -0
  246. {intifact-2.0.0 → intifact-3.0.0}/setup.cfg +0 -0
  247. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_auth_login_post_request.py +0 -0
  248. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_auth_signup_post_request.py +0 -0
  249. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_boleta_cancel_post_request.py +0 -0
  250. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_catalogs_get200_response.py +0 -0
  251. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_catalogs_get200_response_data_inner.py +0 -0
  252. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_catalogs_get200_response_data_inner_items_inner.py +0 -0
  253. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_cdr_consultar_post200_response.py +0 -0
  254. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_cdr_consultar_post_request.py +0 -0
  255. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_companies_claim_post_request.py +0 -0
  256. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_companies_id_branches_branch_id_put_request.py +0 -0
  257. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_companies_id_branches_post_request.py +0 -0
  258. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_companies_id_put_request.py +0 -0
  259. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_companies_post_request.py +0 -0
  260. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_companies_post_request_cuentas_bancarias_inner.py +0 -0
  261. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_despatch_send_multi_post202_response.py +0 -0
  262. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_despatch_send_multi_post202_response_data.py +0 -0
  263. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_despatch_send_multi_post202_response_data_guias_inner.py +0 -0
  264. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_despatch_send_multi_post_request.py +0 -0
  265. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_despatch_send_multi_post_request_destinos_inner.py +0 -0
  266. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_despatch_send_post_request.py +0 -0
  267. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_despatch_send_post_request_chofer_inner.py +0 -0
  268. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_despatch_send_post_request_contenedores_inner.py +0 -0
  269. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_despatch_send_post_request_detalle_inner.py +0 -0
  270. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_despatch_send_post_request_documentos_relacionados_inner.py +0 -0
  271. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_despatch_send_post_request_guia_llegada_geo.py +0 -0
  272. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_despatch_send_post_request_guia_partida_geo.py +0 -0
  273. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_despatch_send_post_request_indicadores.py +0 -0
  274. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_despatch_send_post_request_vehiculos_secundarios_inner.py +0 -0
  275. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_despatch_transportista_send_post_request.py +0 -0
  276. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_despatch_transportista_send_post_request_vehiculos_secundarios_inner.py +0 -0
  277. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_documents_get200_response.py +0 -0
  278. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_documents_get200_response_data_inner.py +0 -0
  279. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_documents_get200_response_data_inner_company.py +0 -0
  280. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_documents_get200_response_pagination.py +0 -0
  281. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_documents_id_recover_post200_response.py +0 -0
  282. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_documents_id_retry_post202_response.py +0 -0
  283. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_documents_next_correlativo_get200_response.py +0 -0
  284. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_documents_next_correlativo_get200_response_data.py +0 -0
  285. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_invoice_cancel_post_request.py +0 -0
  286. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_invoice_compute_post200_response.py +0 -0
  287. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_invoice_compute_post200_response_data.py +0 -0
  288. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_invoice_compute_post200_response_data_items_inner.py +0 -0
  289. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_invoice_compute_post_request.py +0 -0
  290. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_invoice_compute_post_request_items_inner.py +0 -0
  291. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_invoice_compute_post_request_items_inner_descuento.py +0 -0
  292. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_invoice_send_post202_response.py +0 -0
  293. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_invoice_send_post202_response_data.py +0 -0
  294. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_invoice_send_post400_response.py +0 -0
  295. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_invoice_send_post400_response_errors_inner.py +0 -0
  296. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_invoice_send_post_request.py +0 -0
  297. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_invoice_send_post_request_detalle_inner.py +0 -0
  298. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_invoice_send_post_request_detraccion.py +0 -0
  299. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_invoice_send_post_request_forma_pago_inner.py +0 -0
  300. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_invoice_send_post_request_guia_remision_inner.py +0 -0
  301. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_invoice_send_post_request_leyendas_inner.py +0 -0
  302. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_invoice_send_post_request_pagos_inner.py +0 -0
  303. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_note_compute_post_request.py +0 -0
  304. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_note_compute_post_request_items_inner.py +0 -0
  305. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_note_send_post202_response.py +0 -0
  306. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_note_send_post202_response_data.py +0 -0
  307. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_note_send_post_request.py +0 -0
  308. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_note_send_post_request_detalle_inner.py +0 -0
  309. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_plans_id_put_request.py +0 -0
  310. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_plans_post_request.py +0 -0
  311. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_queues_stats_get200_response.py +0 -0
  312. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_queues_stats_get200_response_data.py +0 -0
  313. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_summary_send_post202_response.py +0 -0
  314. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_summary_send_post202_response_data.py +0 -0
  315. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_summary_send_post_request.py +0 -0
  316. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_summary_send_post_request_items_inner.py +0 -0
  317. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_ticket_ticket_status_get200_response.py +0 -0
  318. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_ticket_ticket_status_get200_response_cdr_response.py +0 -0
  319. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_ticket_ticket_status_get202_response.py +0 -0
  320. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_ticket_ticket_status_get202_response_cdr_response.py +0 -0
  321. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_voided_send_post_request.py +0 -0
  322. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_voided_send_post_request_items_inner.py +0 -0
  323. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_webhooks_id_put_request.py +0 -0
  324. {intifact-2.0.0 → intifact-3.0.0}/test/test_api_v1_webhooks_post_request.py +0 -0
  325. {intifact-2.0.0 → intifact-3.0.0}/test/test_cancel_boleta_request.py +0 -0
  326. {intifact-2.0.0 → intifact-3.0.0}/test/test_cancel_invoice_request.py +0 -0
  327. {intifact-2.0.0 → intifact-3.0.0}/test/test_compute_invoice_request_items_inner_descuento.py +0 -0
  328. {intifact-2.0.0 → intifact-3.0.0}/test/test_consultar_cdr200_response.py +0 -0
  329. {intifact-2.0.0 → intifact-3.0.0}/test/test_consultar_cdr_request.py +0 -0
  330. {intifact-2.0.0 → intifact-3.0.0}/test/test_create_plan_request.py +0 -0
  331. {intifact-2.0.0 → intifact-3.0.0}/test/test_get_next_correlativo200_response_data.py +0 -0
  332. {intifact-2.0.0 → intifact-3.0.0}/test/test_get_queue_stats200_response.py +0 -0
  333. {intifact-2.0.0 → intifact-3.0.0}/test/test_get_queue_stats200_response_data.py +0 -0
  334. {intifact-2.0.0 → intifact-3.0.0}/test/test_get_ticket_status200_response.py +0 -0
  335. {intifact-2.0.0 → intifact-3.0.0}/test/test_get_ticket_status200_response_cdr_response.py +0 -0
  336. {intifact-2.0.0 → intifact-3.0.0}/test/test_get_ticket_status202_response.py +0 -0
  337. {intifact-2.0.0 → intifact-3.0.0}/test/test_get_ticket_status202_response_cdr_response.py +0 -0
  338. {intifact-2.0.0 → intifact-3.0.0}/test/test_internal_certificates_expiring_get401_response_errors_inner.py +0 -0
  339. {intifact-2.0.0 → intifact-3.0.0}/test/test_internal_certificates_expiring_get403_response_errors_inner.py +0 -0
  340. {intifact-2.0.0 → intifact-3.0.0}/test/test_list_catalogs200_response.py +0 -0
  341. {intifact-2.0.0 → intifact-3.0.0}/test/test_list_catalogs200_response_data_inner.py +0 -0
  342. {intifact-2.0.0 → intifact-3.0.0}/test/test_list_catalogs200_response_data_inner_items_inner.py +0 -0
  343. {intifact-2.0.0 → intifact-3.0.0}/test/test_list_documents200_response_pagination.py +0 -0
  344. {intifact-2.0.0 → intifact-3.0.0}/test/test_login_request.py +0 -0
  345. {intifact-2.0.0 → intifact-3.0.0}/test/test_reconcile_document200_response.py +0 -0
  346. {intifact-2.0.0 → intifact-3.0.0}/test/test_retry_document202_response.py +0 -0
  347. {intifact-2.0.0 → intifact-3.0.0}/test/test_send_despatch_multi202_response.py +0 -0
  348. {intifact-2.0.0 → intifact-3.0.0}/test/test_send_despatch_multi202_response_data.py +0 -0
  349. {intifact-2.0.0 → intifact-3.0.0}/test/test_send_despatch_multi202_response_data_guias_inner.py +0 -0
  350. {intifact-2.0.0 → intifact-3.0.0}/test/test_send_despatch_multi_request_destinos_inner.py +0 -0
  351. {intifact-2.0.0 → intifact-3.0.0}/test/test_send_despatch_request_chofer_inner.py +0 -0
  352. {intifact-2.0.0 → intifact-3.0.0}/test/test_send_despatch_request_contenedores_inner.py +0 -0
  353. {intifact-2.0.0 → intifact-3.0.0}/test/test_send_despatch_request_detalle_inner.py +0 -0
  354. {intifact-2.0.0 → intifact-3.0.0}/test/test_send_despatch_request_documentos_relacionados_inner.py +0 -0
  355. {intifact-2.0.0 → intifact-3.0.0}/test/test_send_despatch_request_guia_llegada_geo.py +0 -0
  356. {intifact-2.0.0 → intifact-3.0.0}/test/test_send_despatch_request_guia_partida_geo.py +0 -0
  357. {intifact-2.0.0 → intifact-3.0.0}/test/test_send_despatch_request_indicadores.py +0 -0
  358. {intifact-2.0.0 → intifact-3.0.0}/test/test_send_invoice202_response.py +0 -0
  359. {intifact-2.0.0 → intifact-3.0.0}/test/test_send_invoice202_response_data.py +0 -0
  360. {intifact-2.0.0 → intifact-3.0.0}/test/test_send_invoice_request_detraccion.py +0 -0
  361. {intifact-2.0.0 → intifact-3.0.0}/test/test_send_invoice_request_forma_pago_inner.py +0 -0
  362. {intifact-2.0.0 → intifact-3.0.0}/test/test_send_invoice_request_guia_remision_inner.py +0 -0
  363. {intifact-2.0.0 → intifact-3.0.0}/test/test_send_invoice_request_leyendas_inner.py +0 -0
  364. {intifact-2.0.0 → intifact-3.0.0}/test/test_send_invoice_request_pagos_inner.py +0 -0
  365. {intifact-2.0.0 → intifact-3.0.0}/test/test_send_summary202_response.py +0 -0
  366. {intifact-2.0.0 → intifact-3.0.0}/test/test_send_summary202_response_data.py +0 -0
  367. {intifact-2.0.0 → intifact-3.0.0}/test/test_send_summary_request.py +0 -0
  368. {intifact-2.0.0 → intifact-3.0.0}/test/test_send_summary_request_items_inner.py +0 -0
  369. {intifact-2.0.0 → intifact-3.0.0}/test/test_send_voided_request.py +0 -0
  370. {intifact-2.0.0 → intifact-3.0.0}/test/test_send_voided_request_items_inner.py +0 -0
  371. {intifact-2.0.0 → intifact-3.0.0}/test/test_signup_request.py +0 -0
  372. {intifact-2.0.0 → intifact-3.0.0}/test/test_update_plan_request.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: intifact
3
- Version: 2.0.0
3
+ Version: 3.0.0
4
4
  Summary: SDK Python para la API de Facturacion Electronica SUNAT de Intifact (Peru)
5
5
  Home-page:
6
6
  Author: OpenAPI Generator community
@@ -148,16 +148,22 @@ except ApiException as e:
148
148
  | `InvoiceApi` | Facturas/boletas: enviar, PDF, XML, CDR |
149
149
  | `NoteApi` | Notas de crédito/débito |
150
150
  | `DespatchApi` | Guías de remisión (remitente y transportista) |
151
- | `SummaryApi` | Resumen diario y comunicación de baja |
151
+ | `SummaryApi` | Resumen diario y comunicación de baja; `get_summary(id)` da el estado del envío |
152
152
  | `DocumentsApi` | Listar/consultar documentos, reintentar fallidos |
153
153
  | `QueuesApi` | Estado de las colas BullMQ |
154
154
  | `CompanyApi` / `BranchesApi` | Empresas y establecimientos (solo lectura) |
155
- | `WebhooksApi` | Suscripciones y entregas de webhooks |
156
155
  | `PlansApi` | Planes y consumo (quota) |
157
156
  | `PublicApi` | Consulta pública de comprobantes (sin auth) |
158
157
  | `AuthApi` | Autenticación |
159
158
  | `SystemApi` | `/health`, catálogos SUNAT |
160
159
 
160
+ > **Desde la 3.0** la administración de la cuenta —crear o editar empresas,
161
+ > credenciales SOL/GRE, certificado, logo, registrar establecimientos y
162
+ > **webhooks**— se hace desde el panel de Intifact, no con la API key (la API
163
+ > responde `403`). Por eso `WebhooksApi` y los métodos de escritura de
164
+ > `CompanyApi`/`BranchesApi` ya no están en el SDK: una key filtrada solo
165
+ > puede emitir y consultar.
166
+
161
167
  ## Regenerar desde la API
162
168
 
163
169
  El proyecto se generó con [OpenAPI Generator](https://openapi-generator.tech)
@@ -129,16 +129,22 @@ except ApiException as e:
129
129
  | `InvoiceApi` | Facturas/boletas: enviar, PDF, XML, CDR |
130
130
  | `NoteApi` | Notas de crédito/débito |
131
131
  | `DespatchApi` | Guías de remisión (remitente y transportista) |
132
- | `SummaryApi` | Resumen diario y comunicación de baja |
132
+ | `SummaryApi` | Resumen diario y comunicación de baja; `get_summary(id)` da el estado del envío |
133
133
  | `DocumentsApi` | Listar/consultar documentos, reintentar fallidos |
134
134
  | `QueuesApi` | Estado de las colas BullMQ |
135
135
  | `CompanyApi` / `BranchesApi` | Empresas y establecimientos (solo lectura) |
136
- | `WebhooksApi` | Suscripciones y entregas de webhooks |
137
136
  | `PlansApi` | Planes y consumo (quota) |
138
137
  | `PublicApi` | Consulta pública de comprobantes (sin auth) |
139
138
  | `AuthApi` | Autenticación |
140
139
  | `SystemApi` | `/health`, catálogos SUNAT |
141
140
 
141
+ > **Desde la 3.0** la administración de la cuenta —crear o editar empresas,
142
+ > credenciales SOL/GRE, certificado, logo, registrar establecimientos y
143
+ > **webhooks**— se hace desde el panel de Intifact, no con la API key (la API
144
+ > responde `403`). Por eso `WebhooksApi` y los métodos de escritura de
145
+ > `CompanyApi`/`BranchesApi` ya no están en el SDK: una key filtrada solo
146
+ > puede emitir y consultar.
147
+
142
148
  ## Regenerar desde la API
143
149
 
144
150
  El proyecto se generó con [OpenAPI Generator](https://openapi-generator.tech)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: intifact
3
- Version: 2.0.0
3
+ Version: 3.0.0
4
4
  Summary: SDK Python para la API de Facturacion Electronica SUNAT de Intifact (Peru)
5
5
  Home-page:
6
6
  Author: OpenAPI Generator community
@@ -148,16 +148,22 @@ except ApiException as e:
148
148
  | `InvoiceApi` | Facturas/boletas: enviar, PDF, XML, CDR |
149
149
  | `NoteApi` | Notas de crédito/débito |
150
150
  | `DespatchApi` | Guías de remisión (remitente y transportista) |
151
- | `SummaryApi` | Resumen diario y comunicación de baja |
151
+ | `SummaryApi` | Resumen diario y comunicación de baja; `get_summary(id)` da el estado del envío |
152
152
  | `DocumentsApi` | Listar/consultar documentos, reintentar fallidos |
153
153
  | `QueuesApi` | Estado de las colas BullMQ |
154
154
  | `CompanyApi` / `BranchesApi` | Empresas y establecimientos (solo lectura) |
155
- | `WebhooksApi` | Suscripciones y entregas de webhooks |
156
155
  | `PlansApi` | Planes y consumo (quota) |
157
156
  | `PublicApi` | Consulta pública de comprobantes (sin auth) |
158
157
  | `AuthApi` | Autenticación |
159
158
  | `SystemApi` | `/health`, catálogos SUNAT |
160
159
 
160
+ > **Desde la 3.0** la administración de la cuenta —crear o editar empresas,
161
+ > credenciales SOL/GRE, certificado, logo, registrar establecimientos y
162
+ > **webhooks**— se hace desde el panel de Intifact, no con la API key (la API
163
+ > responde `403`). Por eso `WebhooksApi` y los métodos de escritura de
164
+ > `CompanyApi`/`BranchesApi` ya no están en el SDK: una key filtrada solo
165
+ > puede emitir y consultar.
166
+
161
167
  ## Regenerar desde la API
162
168
 
163
169
  El proyecto se generó con [OpenAPI Generator](https://openapi-generator.tech)
@@ -27,7 +27,6 @@ intifact_sdk/api/public_api.py
27
27
  intifact_sdk/api/queues_api.py
28
28
  intifact_sdk/api/summary_api.py
29
29
  intifact_sdk/api/system_api.py
30
- intifact_sdk/api/webhooks_api.py
31
30
  intifact_sdk/models/__init__.py
32
31
  intifact_sdk/models/api_v1_auth_login_post_request.py
33
32
  intifact_sdk/models/api_v1_auth_signup_post_request.py
@@ -109,7 +108,6 @@ intifact_sdk/models/api_v1_webhooks_id_put_request.py
109
108
  intifact_sdk/models/api_v1_webhooks_post_request.py
110
109
  intifact_sdk/models/cancel_boleta_request.py
111
110
  intifact_sdk/models/cancel_invoice_request.py
112
- intifact_sdk/models/claim_company_request.py
113
111
  intifact_sdk/models/compute_invoice200_response.py
114
112
  intifact_sdk/models/compute_invoice200_response_data.py
115
113
  intifact_sdk/models/compute_invoice200_response_data_items_inner.py
@@ -118,15 +116,18 @@ intifact_sdk/models/compute_invoice_request_items_inner.py
118
116
  intifact_sdk/models/compute_invoice_request_items_inner_descuento.py
119
117
  intifact_sdk/models/consultar_cdr200_response.py
120
118
  intifact_sdk/models/consultar_cdr_request.py
121
- intifact_sdk/models/create_branch_request.py
122
- intifact_sdk/models/create_company_request.py
123
- intifact_sdk/models/create_company_request_cuentas_bancarias_inner.py
124
119
  intifact_sdk/models/create_plan_request.py
125
- intifact_sdk/models/create_webhook_request.py
120
+ intifact_sdk/models/export_producto_sunat200_response.py
121
+ intifact_sdk/models/export_producto_sunat200_response_data.py
122
+ intifact_sdk/models/export_producto_sunat200_response_data_items_inner.py
126
123
  intifact_sdk/models/get_next_correlativo200_response.py
127
124
  intifact_sdk/models/get_next_correlativo200_response_data.py
125
+ intifact_sdk/models/get_producto_sunat200_response.py
128
126
  intifact_sdk/models/get_queue_stats200_response.py
129
127
  intifact_sdk/models/get_queue_stats200_response_data.py
128
+ intifact_sdk/models/get_summary200_response.py
129
+ intifact_sdk/models/get_summary200_response_data.py
130
+ intifact_sdk/models/get_summary200_response_data_items_inner.py
130
131
  intifact_sdk/models/get_ticket_status200_response.py
131
132
  intifact_sdk/models/get_ticket_status200_response_cdr_response.py
132
133
  intifact_sdk/models/get_ticket_status202_response.py
@@ -146,6 +147,8 @@ intifact_sdk/models/list_documents200_response_pagination.py
146
147
  intifact_sdk/models/login_request.py
147
148
  intifact_sdk/models/reconcile_document200_response.py
148
149
  intifact_sdk/models/retry_document202_response.py
150
+ intifact_sdk/models/search_producto_sunat200_response.py
151
+ intifact_sdk/models/search_producto_sunat200_response_data.py
149
152
  intifact_sdk/models/send_despatch_multi202_response.py
150
153
  intifact_sdk/models/send_despatch_multi202_response_data.py
151
154
  intifact_sdk/models/send_despatch_multi202_response_data_guias_inner.py
@@ -179,10 +182,7 @@ intifact_sdk/models/send_summary_request_items_inner.py
179
182
  intifact_sdk/models/send_voided_request.py
180
183
  intifact_sdk/models/send_voided_request_items_inner.py
181
184
  intifact_sdk/models/signup_request.py
182
- intifact_sdk/models/update_branch_request.py
183
- intifact_sdk/models/update_company_request.py
184
185
  intifact_sdk/models/update_plan_request.py
185
- intifact_sdk/models/update_webhook_request.py
186
186
  test/test_api_v1_auth_login_post_request.py
187
187
  test/test_api_v1_auth_signup_post_request.py
188
188
  test/test_api_v1_boleta_cancel_post_request.py
@@ -265,7 +265,6 @@ test/test_auth_api.py
265
265
  test/test_branches_api.py
266
266
  test/test_cancel_boleta_request.py
267
267
  test/test_cancel_invoice_request.py
268
- test/test_claim_company_request.py
269
268
  test/test_company_api.py
270
269
  test/test_compute_invoice200_response.py
271
270
  test/test_compute_invoice200_response_data.py
@@ -275,17 +274,20 @@ test/test_compute_invoice_request_items_inner.py
275
274
  test/test_compute_invoice_request_items_inner_descuento.py
276
275
  test/test_consultar_cdr200_response.py
277
276
  test/test_consultar_cdr_request.py
278
- test/test_create_branch_request.py
279
- test/test_create_company_request.py
280
- test/test_create_company_request_cuentas_bancarias_inner.py
281
277
  test/test_create_plan_request.py
282
- test/test_create_webhook_request.py
283
278
  test/test_despatch_api.py
284
279
  test/test_documents_api.py
280
+ test/test_export_producto_sunat200_response.py
281
+ test/test_export_producto_sunat200_response_data.py
282
+ test/test_export_producto_sunat200_response_data_items_inner.py
285
283
  test/test_get_next_correlativo200_response.py
286
284
  test/test_get_next_correlativo200_response_data.py
285
+ test/test_get_producto_sunat200_response.py
287
286
  test/test_get_queue_stats200_response.py
288
287
  test/test_get_queue_stats200_response_data.py
288
+ test/test_get_summary200_response.py
289
+ test/test_get_summary200_response_data.py
290
+ test/test_get_summary200_response_data_items_inner.py
289
291
  test/test_get_ticket_status200_response.py
290
292
  test/test_get_ticket_status200_response_cdr_response.py
291
293
  test/test_get_ticket_status202_response.py
@@ -310,6 +312,8 @@ test/test_public_api.py
310
312
  test/test_queues_api.py
311
313
  test/test_reconcile_document200_response.py
312
314
  test/test_retry_document202_response.py
315
+ test/test_search_producto_sunat200_response.py
316
+ test/test_search_producto_sunat200_response_data.py
313
317
  test/test_send_despatch_multi202_response.py
314
318
  test/test_send_despatch_multi202_response_data.py
315
319
  test/test_send_despatch_multi202_response_data_guias_inner.py
@@ -345,8 +349,4 @@ test/test_send_voided_request_items_inner.py
345
349
  test/test_signup_request.py
346
350
  test/test_summary_api.py
347
351
  test/test_system_api.py
348
- test/test_update_branch_request.py
349
- test/test_update_company_request.py
350
- test/test_update_plan_request.py
351
- test/test_update_webhook_request.py
352
- test/test_webhooks_api.py
352
+ test/test_update_plan_request.py
@@ -14,7 +14,7 @@
14
14
  """ # noqa: E501
15
15
 
16
16
 
17
- __version__ = "1.0.0"
17
+ __version__ = "3.0.0"
18
18
 
19
19
  # Define package exports
20
20
  __all__ = [
@@ -30,7 +30,6 @@ __all__ = [
30
30
  "QueuesApi",
31
31
  "SummaryApi",
32
32
  "SystemApi",
33
- "WebhooksApi",
34
33
  "ApiResponse",
35
34
  "ApiClient",
36
35
  "Configuration",
@@ -42,7 +41,6 @@ __all__ = [
42
41
  "ApiException",
43
42
  "CancelBoletaRequest",
44
43
  "CancelInvoiceRequest",
45
- "ClaimCompanyRequest",
46
44
  "ComputeInvoice200Response",
47
45
  "ComputeInvoice200ResponseData",
48
46
  "ComputeInvoice200ResponseDataItemsInner",
@@ -51,15 +49,18 @@ __all__ = [
51
49
  "ComputeInvoiceRequestItemsInnerDescuento",
52
50
  "ConsultarCdr200Response",
53
51
  "ConsultarCdrRequest",
54
- "CreateBranchRequest",
55
- "CreateCompanyRequest",
56
- "CreateCompanyRequestCuentasBancariasInner",
57
52
  "CreatePlanRequest",
58
- "CreateWebhookRequest",
53
+ "ExportProductoSunat200Response",
54
+ "ExportProductoSunat200ResponseData",
55
+ "ExportProductoSunat200ResponseDataItemsInner",
59
56
  "GetNextCorrelativo200Response",
60
57
  "GetNextCorrelativo200ResponseData",
58
+ "GetProductoSunat200Response",
61
59
  "GetQueueStats200Response",
62
60
  "GetQueueStats200ResponseData",
61
+ "GetSummary200Response",
62
+ "GetSummary200ResponseData",
63
+ "GetSummary200ResponseDataItemsInner",
63
64
  "GetTicketStatus200Response",
64
65
  "GetTicketStatus200ResponseCdrResponse",
65
66
  "GetTicketStatus202Response",
@@ -79,6 +80,8 @@ __all__ = [
79
80
  "LoginRequest",
80
81
  "ReconcileDocument200Response",
81
82
  "RetryDocument202Response",
83
+ "SearchProductoSunat200Response",
84
+ "SearchProductoSunat200ResponseData",
82
85
  "SendDespatchMulti202Response",
83
86
  "SendDespatchMulti202ResponseData",
84
87
  "SendDespatchMulti202ResponseDataGuiasInner",
@@ -112,10 +115,7 @@ __all__ = [
112
115
  "SendVoidedRequest",
113
116
  "SendVoidedRequestItemsInner",
114
117
  "SignupRequest",
115
- "UpdateBranchRequest",
116
- "UpdateCompanyRequest",
117
118
  "UpdatePlanRequest",
118
- "UpdateWebhookRequest",
119
119
  ]
120
120
 
121
121
  # import apis into sdk package
@@ -131,7 +131,6 @@ from intifact_sdk.api.public_api import PublicApi as PublicApi
131
131
  from intifact_sdk.api.queues_api import QueuesApi as QueuesApi
132
132
  from intifact_sdk.api.summary_api import SummaryApi as SummaryApi
133
133
  from intifact_sdk.api.system_api import SystemApi as SystemApi
134
- from intifact_sdk.api.webhooks_api import WebhooksApi as WebhooksApi
135
134
 
136
135
  # import ApiClient
137
136
  from intifact_sdk.api_response import ApiResponse as ApiResponse
@@ -147,7 +146,6 @@ from intifact_sdk.exceptions import ApiException as ApiException
147
146
  # import models into sdk package
148
147
  from intifact_sdk.models.cancel_boleta_request import CancelBoletaRequest as CancelBoletaRequest
149
148
  from intifact_sdk.models.cancel_invoice_request import CancelInvoiceRequest as CancelInvoiceRequest
150
- from intifact_sdk.models.claim_company_request import ClaimCompanyRequest as ClaimCompanyRequest
151
149
  from intifact_sdk.models.compute_invoice200_response import ComputeInvoice200Response as ComputeInvoice200Response
152
150
  from intifact_sdk.models.compute_invoice200_response_data import ComputeInvoice200ResponseData as ComputeInvoice200ResponseData
153
151
  from intifact_sdk.models.compute_invoice200_response_data_items_inner import ComputeInvoice200ResponseDataItemsInner as ComputeInvoice200ResponseDataItemsInner
@@ -156,15 +154,18 @@ from intifact_sdk.models.compute_invoice_request_items_inner import ComputeInvoi
156
154
  from intifact_sdk.models.compute_invoice_request_items_inner_descuento import ComputeInvoiceRequestItemsInnerDescuento as ComputeInvoiceRequestItemsInnerDescuento
157
155
  from intifact_sdk.models.consultar_cdr200_response import ConsultarCdr200Response as ConsultarCdr200Response
158
156
  from intifact_sdk.models.consultar_cdr_request import ConsultarCdrRequest as ConsultarCdrRequest
159
- from intifact_sdk.models.create_branch_request import CreateBranchRequest as CreateBranchRequest
160
- from intifact_sdk.models.create_company_request import CreateCompanyRequest as CreateCompanyRequest
161
- from intifact_sdk.models.create_company_request_cuentas_bancarias_inner import CreateCompanyRequestCuentasBancariasInner as CreateCompanyRequestCuentasBancariasInner
162
157
  from intifact_sdk.models.create_plan_request import CreatePlanRequest as CreatePlanRequest
163
- from intifact_sdk.models.create_webhook_request import CreateWebhookRequest as CreateWebhookRequest
158
+ from intifact_sdk.models.export_producto_sunat200_response import ExportProductoSunat200Response as ExportProductoSunat200Response
159
+ from intifact_sdk.models.export_producto_sunat200_response_data import ExportProductoSunat200ResponseData as ExportProductoSunat200ResponseData
160
+ from intifact_sdk.models.export_producto_sunat200_response_data_items_inner import ExportProductoSunat200ResponseDataItemsInner as ExportProductoSunat200ResponseDataItemsInner
164
161
  from intifact_sdk.models.get_next_correlativo200_response import GetNextCorrelativo200Response as GetNextCorrelativo200Response
165
162
  from intifact_sdk.models.get_next_correlativo200_response_data import GetNextCorrelativo200ResponseData as GetNextCorrelativo200ResponseData
163
+ from intifact_sdk.models.get_producto_sunat200_response import GetProductoSunat200Response as GetProductoSunat200Response
166
164
  from intifact_sdk.models.get_queue_stats200_response import GetQueueStats200Response as GetQueueStats200Response
167
165
  from intifact_sdk.models.get_queue_stats200_response_data import GetQueueStats200ResponseData as GetQueueStats200ResponseData
166
+ from intifact_sdk.models.get_summary200_response import GetSummary200Response as GetSummary200Response
167
+ from intifact_sdk.models.get_summary200_response_data import GetSummary200ResponseData as GetSummary200ResponseData
168
+ from intifact_sdk.models.get_summary200_response_data_items_inner import GetSummary200ResponseDataItemsInner as GetSummary200ResponseDataItemsInner
168
169
  from intifact_sdk.models.get_ticket_status200_response import GetTicketStatus200Response as GetTicketStatus200Response
169
170
  from intifact_sdk.models.get_ticket_status200_response_cdr_response import GetTicketStatus200ResponseCdrResponse as GetTicketStatus200ResponseCdrResponse
170
171
  from intifact_sdk.models.get_ticket_status202_response import GetTicketStatus202Response as GetTicketStatus202Response
@@ -184,6 +185,8 @@ from intifact_sdk.models.list_documents200_response_pagination import ListDocume
184
185
  from intifact_sdk.models.login_request import LoginRequest as LoginRequest
185
186
  from intifact_sdk.models.reconcile_document200_response import ReconcileDocument200Response as ReconcileDocument200Response
186
187
  from intifact_sdk.models.retry_document202_response import RetryDocument202Response as RetryDocument202Response
188
+ from intifact_sdk.models.search_producto_sunat200_response import SearchProductoSunat200Response as SearchProductoSunat200Response
189
+ from intifact_sdk.models.search_producto_sunat200_response_data import SearchProductoSunat200ResponseData as SearchProductoSunat200ResponseData
187
190
  from intifact_sdk.models.send_despatch_multi202_response import SendDespatchMulti202Response as SendDespatchMulti202Response
188
191
  from intifact_sdk.models.send_despatch_multi202_response_data import SendDespatchMulti202ResponseData as SendDespatchMulti202ResponseData
189
192
  from intifact_sdk.models.send_despatch_multi202_response_data_guias_inner import SendDespatchMulti202ResponseDataGuiasInner as SendDespatchMulti202ResponseDataGuiasInner
@@ -217,8 +220,5 @@ from intifact_sdk.models.send_summary_request_items_inner import SendSummaryRequ
217
220
  from intifact_sdk.models.send_voided_request import SendVoidedRequest as SendVoidedRequest
218
221
  from intifact_sdk.models.send_voided_request_items_inner import SendVoidedRequestItemsInner as SendVoidedRequestItemsInner
219
222
  from intifact_sdk.models.signup_request import SignupRequest as SignupRequest
220
- from intifact_sdk.models.update_branch_request import UpdateBranchRequest as UpdateBranchRequest
221
- from intifact_sdk.models.update_company_request import UpdateCompanyRequest as UpdateCompanyRequest
222
223
  from intifact_sdk.models.update_plan_request import UpdatePlanRequest as UpdatePlanRequest
223
- from intifact_sdk.models.update_webhook_request import UpdateWebhookRequest as UpdateWebhookRequest
224
224
 
@@ -13,5 +13,4 @@ from intifact_sdk.api.public_api import PublicApi
13
13
  from intifact_sdk.api.queues_api import QueuesApi
14
14
  from intifact_sdk.api.summary_api import SummaryApi
15
15
  from intifact_sdk.api.system_api import SystemApi
16
- from intifact_sdk.api.webhooks_api import WebhooksApi
17
16
 
@@ -0,0 +1,300 @@
1
+ """
2
+ API de Facturación Electrónica SUNAT
3
+
4
+ API REST para emisión de comprobantes electrónicos ante SUNAT Perú (Facturas, Boletas, Notas, Guías de Remisión, Resúmenes).
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+
9
+ Do not edit the class manually.
10
+ """ # noqa: E501
11
+
12
+
13
+ import warnings
14
+ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
15
+ from typing import Any, Dict, List, Optional, Tuple, Union
16
+ from typing_extensions import Annotated
17
+
18
+ from pydantic import field_validator
19
+ from uuid import UUID
20
+
21
+ from intifact_sdk.api_client import ApiClient, RequestSerialized
22
+ from intifact_sdk.api_response import ApiResponse
23
+ from intifact_sdk.rest import RESTResponseType
24
+
25
+
26
+ class BranchesApi:
27
+ """NOTE: This class is auto generated by OpenAPI Generator
28
+ Ref: https://openapi-generator.tech
29
+
30
+ Do not edit the class manually.
31
+ """
32
+
33
+ def __init__(self, api_client=None) -> None:
34
+ if api_client is None:
35
+ api_client = ApiClient.get_default()
36
+ self.api_client = api_client
37
+
38
+
39
+ @validate_call
40
+ def list_branches(
41
+ self,
42
+ id: UUID,
43
+ _request_timeout: Union[
44
+ None,
45
+ Annotated[StrictFloat, Field(gt=0)],
46
+ Tuple[
47
+ Annotated[StrictFloat, Field(gt=0)],
48
+ Annotated[StrictFloat, Field(gt=0)]
49
+ ]
50
+ ] = None,
51
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
52
+ _content_type: Optional[StrictStr] = None,
53
+ _headers: Optional[Dict[StrictStr, Any]] = None,
54
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
55
+ ) -> None:
56
+ """Listar establecimientos (sucursales) de una empresa
57
+
58
+
59
+ :param id: (required)
60
+ :type id: UUID
61
+ :param _request_timeout: timeout setting for this request. If one
62
+ number provided, it will be total request
63
+ timeout. It can also be a pair (tuple) of
64
+ (connection, read) timeouts.
65
+ :type _request_timeout: int, tuple(int, int), optional
66
+ :param _request_auth: set to override the auth_settings for an a single
67
+ request; this effectively ignores the
68
+ authentication in the spec for a single request.
69
+ :type _request_auth: dict, optional
70
+ :param _content_type: force content-type for the request.
71
+ :type _content_type: str, Optional
72
+ :param _headers: set to override the headers for a single
73
+ request; this effectively ignores the headers
74
+ in the spec for a single request.
75
+ :type _headers: dict, optional
76
+ :param _host_index: set to override the host_index for a single
77
+ request; this effectively ignores the host_index
78
+ in the spec for a single request.
79
+ :type _host_index: int, optional
80
+ :return: Returns the result object.
81
+ """ # noqa: E501
82
+
83
+ _param = self._list_branches_serialize(
84
+ id=id,
85
+ _request_auth=_request_auth,
86
+ _content_type=_content_type,
87
+ _headers=_headers,
88
+ _host_index=_host_index
89
+ )
90
+
91
+ _response_types_map: Dict[str, Optional[str]] = {
92
+ '401': "InternalCertificatesExpiringGet403Response",
93
+ '403': "InternalCertificatesExpiringGet403Response",
94
+ '429': "InternalCertificatesExpiringGet429Response",
95
+ }
96
+ response_data = self.api_client.call_api(
97
+ *_param,
98
+ _request_timeout=_request_timeout
99
+ )
100
+ response_data.read()
101
+ return self.api_client.response_deserialize(
102
+ response_data=response_data,
103
+ response_types_map=_response_types_map,
104
+ ).data
105
+
106
+
107
+ @validate_call
108
+ def list_branches_with_http_info(
109
+ self,
110
+ id: UUID,
111
+ _request_timeout: Union[
112
+ None,
113
+ Annotated[StrictFloat, Field(gt=0)],
114
+ Tuple[
115
+ Annotated[StrictFloat, Field(gt=0)],
116
+ Annotated[StrictFloat, Field(gt=0)]
117
+ ]
118
+ ] = None,
119
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
120
+ _content_type: Optional[StrictStr] = None,
121
+ _headers: Optional[Dict[StrictStr, Any]] = None,
122
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
123
+ ) -> ApiResponse[None]:
124
+ """Listar establecimientos (sucursales) de una empresa
125
+
126
+
127
+ :param id: (required)
128
+ :type id: UUID
129
+ :param _request_timeout: timeout setting for this request. If one
130
+ number provided, it will be total request
131
+ timeout. It can also be a pair (tuple) of
132
+ (connection, read) timeouts.
133
+ :type _request_timeout: int, tuple(int, int), optional
134
+ :param _request_auth: set to override the auth_settings for an a single
135
+ request; this effectively ignores the
136
+ authentication in the spec for a single request.
137
+ :type _request_auth: dict, optional
138
+ :param _content_type: force content-type for the request.
139
+ :type _content_type: str, Optional
140
+ :param _headers: set to override the headers for a single
141
+ request; this effectively ignores the headers
142
+ in the spec for a single request.
143
+ :type _headers: dict, optional
144
+ :param _host_index: set to override the host_index for a single
145
+ request; this effectively ignores the host_index
146
+ in the spec for a single request.
147
+ :type _host_index: int, optional
148
+ :return: Returns the result object.
149
+ """ # noqa: E501
150
+
151
+ _param = self._list_branches_serialize(
152
+ id=id,
153
+ _request_auth=_request_auth,
154
+ _content_type=_content_type,
155
+ _headers=_headers,
156
+ _host_index=_host_index
157
+ )
158
+
159
+ _response_types_map: Dict[str, Optional[str]] = {
160
+ '401': "InternalCertificatesExpiringGet403Response",
161
+ '403': "InternalCertificatesExpiringGet403Response",
162
+ '429': "InternalCertificatesExpiringGet429Response",
163
+ }
164
+ response_data = self.api_client.call_api(
165
+ *_param,
166
+ _request_timeout=_request_timeout
167
+ )
168
+ response_data.read()
169
+ return self.api_client.response_deserialize(
170
+ response_data=response_data,
171
+ response_types_map=_response_types_map,
172
+ )
173
+
174
+
175
+ @validate_call
176
+ def list_branches_without_preload_content(
177
+ self,
178
+ id: UUID,
179
+ _request_timeout: Union[
180
+ None,
181
+ Annotated[StrictFloat, Field(gt=0)],
182
+ Tuple[
183
+ Annotated[StrictFloat, Field(gt=0)],
184
+ Annotated[StrictFloat, Field(gt=0)]
185
+ ]
186
+ ] = None,
187
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
188
+ _content_type: Optional[StrictStr] = None,
189
+ _headers: Optional[Dict[StrictStr, Any]] = None,
190
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
191
+ ) -> RESTResponseType:
192
+ """Listar establecimientos (sucursales) de una empresa
193
+
194
+
195
+ :param id: (required)
196
+ :type id: UUID
197
+ :param _request_timeout: timeout setting for this request. If one
198
+ number provided, it will be total request
199
+ timeout. It can also be a pair (tuple) of
200
+ (connection, read) timeouts.
201
+ :type _request_timeout: int, tuple(int, int), optional
202
+ :param _request_auth: set to override the auth_settings for an a single
203
+ request; this effectively ignores the
204
+ authentication in the spec for a single request.
205
+ :type _request_auth: dict, optional
206
+ :param _content_type: force content-type for the request.
207
+ :type _content_type: str, Optional
208
+ :param _headers: set to override the headers for a single
209
+ request; this effectively ignores the headers
210
+ in the spec for a single request.
211
+ :type _headers: dict, optional
212
+ :param _host_index: set to override the host_index for a single
213
+ request; this effectively ignores the host_index
214
+ in the spec for a single request.
215
+ :type _host_index: int, optional
216
+ :return: Returns the result object.
217
+ """ # noqa: E501
218
+
219
+ _param = self._list_branches_serialize(
220
+ id=id,
221
+ _request_auth=_request_auth,
222
+ _content_type=_content_type,
223
+ _headers=_headers,
224
+ _host_index=_host_index
225
+ )
226
+
227
+ _response_types_map: Dict[str, Optional[str]] = {
228
+ '401': "InternalCertificatesExpiringGet403Response",
229
+ '403': "InternalCertificatesExpiringGet403Response",
230
+ '429': "InternalCertificatesExpiringGet429Response",
231
+ }
232
+ response_data = self.api_client.call_api(
233
+ *_param,
234
+ _request_timeout=_request_timeout
235
+ )
236
+ return response_data.response
237
+
238
+
239
+ def _list_branches_serialize(
240
+ self,
241
+ id,
242
+ _request_auth,
243
+ _content_type,
244
+ _headers,
245
+ _host_index,
246
+ ) -> RequestSerialized:
247
+
248
+ _host = None
249
+
250
+ _collection_formats: Dict[str, str] = {
251
+ }
252
+
253
+ _path_params: Dict[str, str] = {}
254
+ _query_params: List[Tuple[str, str]] = []
255
+ _header_params: Dict[str, Optional[str]] = _headers or {}
256
+ _form_params: List[Tuple[str, str]] = []
257
+ _files: Dict[
258
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
259
+ ] = {}
260
+ _body_params: Optional[bytes] = None
261
+
262
+ # process the path parameters
263
+ if id is not None:
264
+ _path_params['id'] = id
265
+ # process the query parameters
266
+ # process the header parameters
267
+ # process the form parameters
268
+ # process the body parameter
269
+
270
+
271
+ # set the HTTP header `Accept`
272
+ if 'Accept' not in _header_params:
273
+ _header_params['Accept'] = self.api_client.select_header_accept(
274
+ [
275
+ 'application/json'
276
+ ]
277
+ )
278
+
279
+
280
+ # authentication setting
281
+ _auth_settings: List[str] = [
282
+ 'apiKey'
283
+ ]
284
+
285
+ return self.api_client.param_serialize(
286
+ method='GET',
287
+ resource_path='/api/v1/companies/{id}/branches',
288
+ path_params=_path_params,
289
+ query_params=_query_params,
290
+ header_params=_header_params,
291
+ body=_body_params,
292
+ post_params=_form_params,
293
+ files=_files,
294
+ auth_settings=_auth_settings,
295
+ collection_formats=_collection_formats,
296
+ _host=_host,
297
+ _request_auth=_request_auth
298
+ )
299
+
300
+