unit-openapi-python-sdk 0.11.0__py3-none-any.whl → 0.16.0__py3-none-any.whl

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 (684) hide show
  1. unit_finance_sdk/__init__.py +289 -1
  2. unit_finance_sdk/api/__init__.py +10 -0
  3. unit_finance_sdk/api/accounts_api.py +1 -1
  4. unit_finance_sdk/api/application_documents_api.py +1 -1
  5. unit_finance_sdk/api/applications_api.py +1 -1
  6. unit_finance_sdk/api/authorized_users_api.py +1227 -0
  7. unit_finance_sdk/api/card_fraud_outreach_api.py +2151 -0
  8. unit_finance_sdk/api/card_holder_api_tokens_api.py +635 -0
  9. unit_finance_sdk/api/cards_add_to_mobile_wallet_api.py +338 -0
  10. unit_finance_sdk/api/cards_api.py +1 -1
  11. unit_finance_sdk/api/cards_atm_locations_api.py +361 -0
  12. unit_finance_sdk/api/cards_authorization_requests_api.py +683 -0
  13. unit_finance_sdk/api/cards_authorizations_api.py +1090 -0
  14. unit_finance_sdk/api/check_deposits_api.py +1 -1
  15. unit_finance_sdk/api/check_payments_api.py +2284 -0
  16. unit_finance_sdk/api/counterparties_api.py +1 -1
  17. unit_finance_sdk/api/credit_applications_api.py +1266 -0
  18. unit_finance_sdk/api/credit_decisions_api.py +1001 -0
  19. unit_finance_sdk/api/customers_api.py +1 -1
  20. unit_finance_sdk/api/fees_api.py +1 -1
  21. unit_finance_sdk/api/payments_api.py +1 -1
  22. unit_finance_sdk/api/transactions_api.py +1 -1
  23. unit_finance_sdk/api_client.py +1 -1
  24. unit_finance_sdk/configuration.py +2 -2
  25. unit_finance_sdk/exceptions.py +1 -1
  26. unit_finance_sdk/models/__init__.py +135 -1
  27. unit_finance_sdk/models/account_end_of_day.py +1 -1
  28. unit_finance_sdk/models/account_end_of_day_attributes.py +1 -1
  29. unit_finance_sdk/models/account_end_of_day_relationships.py +1 -1
  30. unit_finance_sdk/models/account_hold.py +1 -1
  31. unit_finance_sdk/models/account_hold_attributes.py +1 -1
  32. unit_finance_sdk/models/account_low_balance_closure_transaction.py +1 -1
  33. unit_finance_sdk/models/account_low_balance_closure_transaction_attributes.py +1 -1
  34. unit_finance_sdk/models/account_low_balance_closure_transaction_relationships.py +1 -1
  35. unit_finance_sdk/models/ach_counterparty.py +1 -1
  36. unit_finance_sdk/models/ach_counterparty_attributes.py +1 -1
  37. unit_finance_sdk/models/ach_payment.py +1 -1
  38. unit_finance_sdk/models/ach_payment_attributes.py +1 -1
  39. unit_finance_sdk/models/ach_payment_relationships.py +1 -1
  40. unit_finance_sdk/models/ach_received_payment.py +1 -1
  41. unit_finance_sdk/models/ach_received_payment_attributes.py +1 -1
  42. unit_finance_sdk/models/ach_received_payment_relationships.py +1 -1
  43. unit_finance_sdk/models/add_account_owners200_response.py +1 -1
  44. unit_finance_sdk/models/add_account_owners_request.py +1 -1
  45. unit_finance_sdk/models/add_authorized_users_data.py +114 -0
  46. unit_finance_sdk/models/add_authorized_users_data_attributes.py +109 -0
  47. unit_finance_sdk/models/add_authorized_users_request.py +105 -0
  48. unit_finance_sdk/models/address_type.py +1 -1
  49. unit_finance_sdk/models/adjustment_transaction.py +1 -1
  50. unit_finance_sdk/models/adjustment_transaction_attributes.py +1 -1
  51. unit_finance_sdk/models/annual_income_type.py +1 -1
  52. unit_finance_sdk/models/annual_revenue_type.py +1 -1
  53. unit_finance_sdk/models/application_document.py +1 -1
  54. unit_finance_sdk/models/application_document_attributes.py +1 -1
  55. unit_finance_sdk/models/approve_check_payment_additional_verification_data.py +110 -0
  56. unit_finance_sdk/models/approve_check_payment_additional_verification_request.py +105 -0
  57. unit_finance_sdk/models/approved_credit_limit_decision.py +122 -0
  58. unit_finance_sdk/models/approved_credit_limit_decision_attributes.py +118 -0
  59. unit_finance_sdk/models/approved_credit_limit_decision_relationships.py +110 -0
  60. unit_finance_sdk/models/archive_customer_data.py +1 -1
  61. unit_finance_sdk/models/archive_customer_data_attributes.py +1 -1
  62. unit_finance_sdk/models/archive_customer_request.py +1 -1
  63. unit_finance_sdk/models/atm_authorization_request.py +122 -0
  64. unit_finance_sdk/models/atm_authorization_request_attributes.py +118 -0
  65. unit_finance_sdk/models/atm_authorization_request_relationships.py +115 -0
  66. unit_finance_sdk/models/atm_location.py +116 -0
  67. unit_finance_sdk/models/atm_location_attributes.py +121 -0
  68. unit_finance_sdk/models/atm_transaction.py +1 -1
  69. unit_finance_sdk/models/atm_transaction_attributes.py +1 -1
  70. unit_finance_sdk/models/atm_transaction_relationships.py +1 -1
  71. unit_finance_sdk/models/authorization.py +122 -0
  72. unit_finance_sdk/models/authorization_attributes.py +154 -0
  73. unit_finance_sdk/models/authorization_card_fraud_case.py +122 -0
  74. unit_finance_sdk/models/authorization_card_fraud_case_attributes.py +120 -0
  75. unit_finance_sdk/models/authorization_card_fraud_case_relationships.py +120 -0
  76. unit_finance_sdk/models/authorization_relationships.py +125 -0
  77. unit_finance_sdk/models/authorized_user_type.py +1 -1
  78. unit_finance_sdk/models/batch_release.py +1 -1
  79. unit_finance_sdk/models/batch_release_attributes.py +1 -1
  80. unit_finance_sdk/models/batch_release_relationships.py +1 -1
  81. unit_finance_sdk/models/beneficial_owner.py +1 -1
  82. unit_finance_sdk/models/beneficial_owner_attributes.py +1 -1
  83. unit_finance_sdk/models/beneficial_owner_request_type.py +1 -1
  84. unit_finance_sdk/models/beneficial_owner_type.py +1 -1
  85. unit_finance_sdk/models/book_payment.py +1 -1
  86. unit_finance_sdk/models/book_payment_attributes.py +1 -1
  87. unit_finance_sdk/models/book_payment_relationships.py +1 -1
  88. unit_finance_sdk/models/book_transaction.py +1 -1
  89. unit_finance_sdk/models/book_transaction_attributes.py +1 -1
  90. unit_finance_sdk/models/book_transaction_relationships.py +1 -1
  91. unit_finance_sdk/models/business_annual_revenue_type.py +1 -1
  92. unit_finance_sdk/models/business_application.py +1 -1
  93. unit_finance_sdk/models/business_application_attributes.py +1 -1
  94. unit_finance_sdk/models/business_application_relationships.py +1 -1
  95. unit_finance_sdk/models/business_contact_type.py +1 -1
  96. unit_finance_sdk/models/business_credit_card.py +1 -1
  97. unit_finance_sdk/models/business_customer.py +1 -1
  98. unit_finance_sdk/models/business_customer_attributes.py +1 -1
  99. unit_finance_sdk/models/business_customer_relationships.py +1 -1
  100. unit_finance_sdk/models/business_debit_card.py +1 -1
  101. unit_finance_sdk/models/business_debit_card_attributes.py +1 -1
  102. unit_finance_sdk/models/business_number_of_employees_type.py +1 -1
  103. unit_finance_sdk/models/business_vertical_type.py +1 -1
  104. unit_finance_sdk/models/business_virtual_credit_card.py +1 -1
  105. unit_finance_sdk/models/business_virtual_debit_card.py +1 -1
  106. unit_finance_sdk/models/business_virtual_debit_card_attributes.py +1 -1
  107. unit_finance_sdk/models/business_wallet_customer.py +1 -1
  108. unit_finance_sdk/models/business_wallet_customer_attributes.py +1 -1
  109. unit_finance_sdk/models/business_wallet_customer_relationships.py +1 -1
  110. unit_finance_sdk/models/cancel_application201_response.py +1 -1
  111. unit_finance_sdk/models/cancel_application_data.py +1 -1
  112. unit_finance_sdk/models/cancel_application_data_attributes.py +1 -1
  113. unit_finance_sdk/models/cancel_application_request.py +1 -1
  114. unit_finance_sdk/models/cancel_payment200_response.py +1 -1
  115. unit_finance_sdk/models/cancel_payment200_response_data.py +1 -1
  116. unit_finance_sdk/models/card_fraud_outreach_policy.py +122 -0
  117. unit_finance_sdk/models/card_fraud_outreach_policy_attributes.py +125 -0
  118. unit_finance_sdk/models/card_fraud_outreach_policy_relationships.py +110 -0
  119. unit_finance_sdk/models/card_reversal_transaction.py +1 -1
  120. unit_finance_sdk/models/card_reversal_transaction_attributes.py +1 -1
  121. unit_finance_sdk/models/card_reversal_transaction_relationships.py +1 -1
  122. unit_finance_sdk/models/card_transaction.py +1 -1
  123. unit_finance_sdk/models/card_transaction_attributes.py +1 -1
  124. unit_finance_sdk/models/card_transaction_attributes_card_verification_data.py +1 -1
  125. unit_finance_sdk/models/card_transaction_attributes_merchant.py +1 -1
  126. unit_finance_sdk/models/card_transaction_authorization_request.py +122 -0
  127. unit_finance_sdk/models/card_transaction_authorization_request_attributes.py +142 -0
  128. unit_finance_sdk/models/card_transaction_relationships.py +1 -1
  129. unit_finance_sdk/models/cash_deposit_barcode.py +1 -1
  130. unit_finance_sdk/models/cash_deposit_barcode_attributes.py +1 -1
  131. unit_finance_sdk/models/cash_deposit_barcode_relationships.py +1 -1
  132. unit_finance_sdk/models/cash_deposit_transaction.py +1 -1
  133. unit_finance_sdk/models/cash_deposit_transaction_attributes.py +1 -1
  134. unit_finance_sdk/models/cash_flow_type.py +1 -1
  135. unit_finance_sdk/models/chargeback_transaction.py +1 -1
  136. unit_finance_sdk/models/chargeback_transaction_attributes.py +1 -1
  137. unit_finance_sdk/models/chargeback_transaction_relationships.py +1 -1
  138. unit_finance_sdk/models/check_counterparty_type.py +1 -1
  139. unit_finance_sdk/models/check_deposit.py +1 -1
  140. unit_finance_sdk/models/check_deposit_attributes.py +1 -1
  141. unit_finance_sdk/models/check_deposit_relationships.py +1 -1
  142. unit_finance_sdk/models/check_deposit_transaction.py +1 -1
  143. unit_finance_sdk/models/check_deposit_transaction_attributes.py +1 -1
  144. unit_finance_sdk/models/check_deposit_transaction_relationships.py +1 -1
  145. unit_finance_sdk/models/check_payment.py +122 -0
  146. unit_finance_sdk/models/check_payment_attributes.py +152 -0
  147. unit_finance_sdk/models/check_payment_counterparty_type.py +109 -0
  148. unit_finance_sdk/models/check_payment_transaction.py +1 -1
  149. unit_finance_sdk/models/check_payment_transaction_relationships.py +1 -1
  150. unit_finance_sdk/models/clear_ach_debit_payment200_response.py +1 -1
  151. unit_finance_sdk/models/close_account_request.py +1 -1
  152. unit_finance_sdk/models/close_card200_response.py +1 -1
  153. unit_finance_sdk/models/close_credit_account_data.py +1 -1
  154. unit_finance_sdk/models/close_credit_account_data_attributes.py +1 -1
  155. unit_finance_sdk/models/close_credit_account_request.py +1 -1
  156. unit_finance_sdk/models/close_deposit_account_data.py +1 -1
  157. unit_finance_sdk/models/close_deposit_account_data_attributes.py +1 -1
  158. unit_finance_sdk/models/close_deposit_account_request.py +1 -1
  159. unit_finance_sdk/models/close_wallet_data.py +1 -1
  160. unit_finance_sdk/models/close_wallet_data_attributes.py +1 -1
  161. unit_finance_sdk/models/close_wallet_request.py +1 -1
  162. unit_finance_sdk/models/coordinates_type.py +1 -1
  163. unit_finance_sdk/models/counterparty_balance.py +1 -1
  164. unit_finance_sdk/models/counterparty_balance_attributes.py +1 -1
  165. unit_finance_sdk/models/counterparty_balance_relationships.py +1 -1
  166. unit_finance_sdk/models/counterparty_type.py +1 -1
  167. unit_finance_sdk/models/create_a_book_payment_data.py +1 -1
  168. unit_finance_sdk/models/create_a_book_payment_data_attributes.py +1 -1
  169. unit_finance_sdk/models/create_a_book_payment_data_relationships.py +1 -1
  170. unit_finance_sdk/models/create_a_book_payment_request.py +1 -1
  171. unit_finance_sdk/models/create_a_wire_payment_data.py +1 -1
  172. unit_finance_sdk/models/create_a_wire_payment_data_attributes.py +1 -1
  173. unit_finance_sdk/models/create_a_wire_payment_request.py +1 -1
  174. unit_finance_sdk/models/create_account201_response.py +1 -1
  175. unit_finance_sdk/models/create_account_hold201_response.py +1 -1
  176. unit_finance_sdk/models/create_account_hold_data.py +1 -1
  177. unit_finance_sdk/models/create_account_hold_data_attributes.py +1 -1
  178. unit_finance_sdk/models/create_account_hold_request.py +1 -1
  179. unit_finance_sdk/models/create_account_request.py +1 -1
  180. unit_finance_sdk/models/create_ach_payment_data.py +1 -1
  181. unit_finance_sdk/models/create_ach_payment_data_attributes.py +1 -1
  182. unit_finance_sdk/models/create_ach_payment_existing_counterparty_data.py +1 -1
  183. unit_finance_sdk/models/create_ach_payment_existing_counterparty_data_attributes.py +1 -1
  184. unit_finance_sdk/models/create_ach_payment_existing_counterparty_data_relationships.py +1 -1
  185. unit_finance_sdk/models/create_ach_payment_existing_counterparty_request.py +1 -1
  186. unit_finance_sdk/models/create_ach_payment_plaid_token_data.py +1 -1
  187. unit_finance_sdk/models/create_ach_payment_plaid_token_data_attributes.py +1 -1
  188. unit_finance_sdk/models/create_ach_payment_plaid_token_request.py +1 -1
  189. unit_finance_sdk/models/create_ach_payment_request.py +1 -1
  190. unit_finance_sdk/models/create_application201_response.py +1 -1
  191. unit_finance_sdk/models/create_application201_response_included_inner.py +1 -1
  192. unit_finance_sdk/models/create_application_document200_response.py +1 -1
  193. unit_finance_sdk/models/create_application_request.py +1 -1
  194. unit_finance_sdk/models/create_approved_credit_limit_decision_data.py +120 -0
  195. unit_finance_sdk/models/create_approved_credit_limit_decision_data_attributes.py +116 -0
  196. unit_finance_sdk/models/create_approved_credit_limit_decision_data_relationships.py +105 -0
  197. unit_finance_sdk/models/create_approved_credit_limit_decision_request.py +105 -0
  198. unit_finance_sdk/models/create_batch_releases201_response.py +1 -1
  199. unit_finance_sdk/models/create_batch_releases_data.py +1 -1
  200. unit_finance_sdk/models/create_batch_releases_data_attributes.py +1 -1
  201. unit_finance_sdk/models/create_batch_releases_request.py +1 -1
  202. unit_finance_sdk/models/create_bulk_payment201_response.py +1 -1
  203. unit_finance_sdk/models/create_bulk_payment201_response_data.py +1 -1
  204. unit_finance_sdk/models/create_bulk_payment201_response_data_attributes.py +1 -1
  205. unit_finance_sdk/models/create_bulk_payment_request.py +1 -1
  206. unit_finance_sdk/models/create_bulk_payment_request_data_inner.py +1 -1
  207. unit_finance_sdk/models/create_business_application_data.py +1 -1
  208. unit_finance_sdk/models/create_business_application_data_attributes.py +1 -1
  209. unit_finance_sdk/models/create_business_application_request.py +1 -1
  210. unit_finance_sdk/models/create_business_credit_card_data.py +1 -1
  211. unit_finance_sdk/models/create_business_credit_card_data_attributes.py +1 -1
  212. unit_finance_sdk/models/create_business_credit_card_request.py +1 -1
  213. unit_finance_sdk/models/create_business_debit_card_data.py +1 -1
  214. unit_finance_sdk/models/create_business_debit_card_request.py +1 -1
  215. unit_finance_sdk/models/create_business_virtual_credit_card_data.py +1 -1
  216. unit_finance_sdk/models/create_business_virtual_credit_card_data_attributes.py +1 -1
  217. unit_finance_sdk/models/create_business_virtual_credit_card_request.py +1 -1
  218. unit_finance_sdk/models/create_business_virtual_debit_card_data.py +1 -1
  219. unit_finance_sdk/models/create_business_virtual_debit_card_data_attributes.py +1 -1
  220. unit_finance_sdk/models/create_business_virtual_debit_card_request.py +1 -1
  221. unit_finance_sdk/models/create_business_wallet_customer201_response.py +1 -1
  222. unit_finance_sdk/models/create_business_wallet_customer_data.py +1 -1
  223. unit_finance_sdk/models/create_business_wallet_customer_data_attributes.py +1 -1
  224. unit_finance_sdk/models/create_business_wallet_customer_request.py +1 -1
  225. unit_finance_sdk/models/create_card201_response.py +1 -1
  226. unit_finance_sdk/models/create_card201_response_data.py +1 -1
  227. unit_finance_sdk/models/create_card_request.py +1 -1
  228. unit_finance_sdk/models/create_cardholder_token201_response.py +105 -0
  229. unit_finance_sdk/models/create_cardholder_token201_response_data.py +117 -0
  230. unit_finance_sdk/models/create_cardholder_token201_response_data_attributes.py +103 -0
  231. unit_finance_sdk/models/create_cardholder_token_data.py +114 -0
  232. unit_finance_sdk/models/create_cardholder_token_data_attributes.py +109 -0
  233. unit_finance_sdk/models/create_cardholder_token_request.py +105 -0
  234. unit_finance_sdk/models/create_cardholder_token_verification201_response.py +105 -0
  235. unit_finance_sdk/models/create_cardholder_token_verification201_response_data.py +117 -0
  236. unit_finance_sdk/models/create_cardholder_token_verification201_response_data_attributes.py +101 -0
  237. unit_finance_sdk/models/create_cardholder_token_verification_data.py +114 -0
  238. unit_finance_sdk/models/create_cardholder_token_verification_data_attributes.py +111 -0
  239. unit_finance_sdk/models/create_cardholder_token_verification_request.py +105 -0
  240. unit_finance_sdk/models/create_check_deposit201_response.py +1 -1
  241. unit_finance_sdk/models/create_check_deposit_data.py +1 -1
  242. unit_finance_sdk/models/create_check_deposit_data_attributes.py +1 -1
  243. unit_finance_sdk/models/create_check_deposit_request.py +1 -1
  244. unit_finance_sdk/models/create_check_deposit_send_link201_response.py +1 -1
  245. unit_finance_sdk/models/create_check_deposit_send_link201_response_data.py +1 -1
  246. unit_finance_sdk/models/create_check_deposit_send_link_data.py +1 -1
  247. unit_finance_sdk/models/create_check_deposit_send_link_data_attributes.py +1 -1
  248. unit_finance_sdk/models/create_check_deposit_send_link_data_relationships.py +1 -1
  249. unit_finance_sdk/models/create_check_deposit_send_link_request.py +1 -1
  250. unit_finance_sdk/models/create_counterparty201_response.py +1 -1
  251. unit_finance_sdk/models/create_counterparty_body.py +1 -1
  252. unit_finance_sdk/models/create_counterparty_data.py +1 -1
  253. unit_finance_sdk/models/create_counterparty_data_attributes.py +1 -1
  254. unit_finance_sdk/models/create_counterparty_request.py +1 -1
  255. unit_finance_sdk/models/create_counterparty_with_plaid_token_data.py +1 -1
  256. unit_finance_sdk/models/create_counterparty_with_plaid_token_data_attributes.py +1 -1
  257. unit_finance_sdk/models/create_counterparty_with_plaid_token_request.py +1 -1
  258. unit_finance_sdk/models/create_credit_account_data.py +1 -1
  259. unit_finance_sdk/models/create_credit_account_data_attributes.py +1 -1
  260. unit_finance_sdk/models/create_credit_account_request.py +1 -1
  261. unit_finance_sdk/models/create_credit_application201_response.py +105 -0
  262. unit_finance_sdk/models/create_credit_application_request.py +137 -0
  263. unit_finance_sdk/models/create_credit_decision201_response.py +105 -0
  264. unit_finance_sdk/models/create_credit_decision_request.py +179 -0
  265. unit_finance_sdk/models/create_denied_credit_application_decision_data.py +120 -0
  266. unit_finance_sdk/models/create_denied_credit_application_decision_data_attributes.py +118 -0
  267. unit_finance_sdk/models/create_denied_credit_application_decision_request.py +105 -0
  268. unit_finance_sdk/models/create_denied_credit_limit_decision_data.py +120 -0
  269. unit_finance_sdk/models/create_denied_credit_limit_decision_data_attributes.py +118 -0
  270. unit_finance_sdk/models/create_denied_credit_limit_decision_request.py +105 -0
  271. unit_finance_sdk/models/create_deposit_account_data.py +1 -1
  272. unit_finance_sdk/models/create_deposit_account_data_attributes.py +1 -1
  273. unit_finance_sdk/models/create_deposit_account_data_relationships.py +1 -1
  274. unit_finance_sdk/models/create_deposit_account_request.py +1 -1
  275. unit_finance_sdk/models/create_existing_credit_application_data.py +120 -0
  276. unit_finance_sdk/models/create_existing_credit_application_data_attributes.py +112 -0
  277. unit_finance_sdk/models/create_existing_credit_application_data_relationships.py +110 -0
  278. unit_finance_sdk/models/create_existing_credit_application_request.py +105 -0
  279. unit_finance_sdk/models/create_fee201_response.py +1 -1
  280. unit_finance_sdk/models/create_fee_data.py +1 -1
  281. unit_finance_sdk/models/create_fee_data_attributes.py +1 -1
  282. unit_finance_sdk/models/create_fee_data_relationships.py +1 -1
  283. unit_finance_sdk/models/create_fee_request.py +1 -1
  284. unit_finance_sdk/models/create_individual_application_data.py +1 -1
  285. unit_finance_sdk/models/create_individual_application_data_attributes.py +1 -1
  286. unit_finance_sdk/models/create_individual_application_request.py +1 -1
  287. unit_finance_sdk/models/create_individual_debit_card_data.py +1 -1
  288. unit_finance_sdk/models/create_individual_debit_card_data_attributes.py +1 -1
  289. unit_finance_sdk/models/create_individual_debit_card_request.py +1 -1
  290. unit_finance_sdk/models/create_individual_virtual_debit_card_data.py +1 -1
  291. unit_finance_sdk/models/create_individual_virtual_debit_card_data_attributes.py +1 -1
  292. unit_finance_sdk/models/create_individual_virtual_debit_card_request.py +1 -1
  293. unit_finance_sdk/models/create_manual_review_credit_application_decision_data.py +120 -0
  294. unit_finance_sdk/models/create_manual_review_credit_application_decision_data_attributes.py +110 -0
  295. unit_finance_sdk/models/create_manual_review_credit_application_decision_request.py +105 -0
  296. unit_finance_sdk/models/create_manual_review_credit_limit_decision_data.py +120 -0
  297. unit_finance_sdk/models/create_manual_review_credit_limit_decision_data_attributes.py +114 -0
  298. unit_finance_sdk/models/create_manual_review_credit_limit_decision_request.py +105 -0
  299. unit_finance_sdk/models/create_onboarding_credit_application_data.py +120 -0
  300. unit_finance_sdk/models/create_onboarding_credit_application_data_attributes.py +112 -0
  301. unit_finance_sdk/models/create_onboarding_credit_application_data_relationships.py +110 -0
  302. unit_finance_sdk/models/create_onboarding_credit_application_request.py +105 -0
  303. unit_finance_sdk/models/create_payment201_response.py +1 -1
  304. unit_finance_sdk/models/create_payment201_response_data.py +1 -1
  305. unit_finance_sdk/models/create_payment_request.py +1 -1
  306. unit_finance_sdk/models/create_policy201_response.py +105 -0
  307. unit_finance_sdk/models/create_policy_data.py +120 -0
  308. unit_finance_sdk/models/create_policy_data_attributes.py +119 -0
  309. unit_finance_sdk/models/create_policy_data_relationships.py +115 -0
  310. unit_finance_sdk/models/create_policy_request.py +105 -0
  311. unit_finance_sdk/models/create_recurring_credit_ach_payment_data.py +1 -1
  312. unit_finance_sdk/models/create_recurring_credit_ach_payment_data_attributes.py +1 -1
  313. unit_finance_sdk/models/create_recurring_credit_ach_payment_request.py +1 -1
  314. unit_finance_sdk/models/create_recurring_credit_book_payment_data.py +1 -1
  315. unit_finance_sdk/models/create_recurring_credit_book_payment_data_attributes.py +1 -1
  316. unit_finance_sdk/models/create_recurring_credit_book_payment_request.py +1 -1
  317. unit_finance_sdk/models/create_recurring_debit_ach_payment_data.py +1 -1
  318. unit_finance_sdk/models/create_recurring_debit_ach_payment_data_attributes.py +1 -1
  319. unit_finance_sdk/models/create_recurring_debit_ach_payment_request.py +1 -1
  320. unit_finance_sdk/models/create_recurring_payment201_response.py +1 -1
  321. unit_finance_sdk/models/create_recurring_payment_request.py +1 -1
  322. unit_finance_sdk/models/create_schedule_type.py +1 -1
  323. unit_finance_sdk/models/create_sole_proprietor_application_data.py +1 -1
  324. unit_finance_sdk/models/create_sole_proprietor_application_data_attributes.py +1 -1
  325. unit_finance_sdk/models/create_sole_proprietor_application_request.py +1 -1
  326. unit_finance_sdk/models/create_wallet_data.py +1 -1
  327. unit_finance_sdk/models/create_wallet_data_attributes.py +1 -1
  328. unit_finance_sdk/models/create_wallet_request.py +1 -1
  329. unit_finance_sdk/models/credit_account.py +1 -1
  330. unit_finance_sdk/models/credit_account_attributes.py +1 -1
  331. unit_finance_sdk/models/credit_account_relationships.py +1 -1
  332. unit_finance_sdk/models/currency_conversion_type.py +1 -1
  333. unit_finance_sdk/models/denied_credit_application_decision.py +122 -0
  334. unit_finance_sdk/models/denied_credit_application_decision_attributes.py +118 -0
  335. unit_finance_sdk/models/denied_credit_application_decision_relationships.py +110 -0
  336. unit_finance_sdk/models/denied_credit_limit_decision.py +122 -0
  337. unit_finance_sdk/models/deposit_account.py +1 -1
  338. unit_finance_sdk/models/deposit_account_attributes.py +1 -1
  339. unit_finance_sdk/models/deposit_account_relationships.py +1 -1
  340. unit_finance_sdk/models/device_fingerprint_type.py +1 -1
  341. unit_finance_sdk/models/dishonored_ach_transaction.py +1 -1
  342. unit_finance_sdk/models/dishonored_ach_transaction_attributes.py +1 -1
  343. unit_finance_sdk/models/dispute_transaction.py +1 -1
  344. unit_finance_sdk/models/dispute_transaction_attributes.py +1 -1
  345. unit_finance_sdk/models/dispute_transaction_relationships.py +1 -1
  346. unit_finance_sdk/models/error_document.py +1 -1
  347. unit_finance_sdk/models/error_document_errors_inner.py +1 -1
  348. unit_finance_sdk/models/error_document_errors_inner_source.py +1 -1
  349. unit_finance_sdk/models/existing_customer_credit_application.py +122 -0
  350. unit_finance_sdk/models/existing_customer_credit_application_attributes.py +135 -0
  351. unit_finance_sdk/models/existing_customer_credit_application_relationships.py +110 -0
  352. unit_finance_sdk/models/fee.py +1 -1
  353. unit_finance_sdk/models/fee_attributes.py +1 -1
  354. unit_finance_sdk/models/fee_relationships.py +1 -1
  355. unit_finance_sdk/models/fee_reversal.py +1 -1
  356. unit_finance_sdk/models/fee_reversal_attributes.py +1 -1
  357. unit_finance_sdk/models/fee_reversal_relationships.py +1 -1
  358. unit_finance_sdk/models/fee_reversal_transaction.py +1 -1
  359. unit_finance_sdk/models/fee_reversal_transaction_relationships.py +1 -1
  360. unit_finance_sdk/models/fee_transaction.py +1 -1
  361. unit_finance_sdk/models/fraud_case_card_activity_type.py +120 -0
  362. unit_finance_sdk/models/freeze_account_request.py +1 -1
  363. unit_finance_sdk/models/freeze_card_data.py +1 -1
  364. unit_finance_sdk/models/freeze_card_data_attributes.py +1 -1
  365. unit_finance_sdk/models/freeze_card_request.py +1 -1
  366. unit_finance_sdk/models/freeze_credit_account_data.py +1 -1
  367. unit_finance_sdk/models/freeze_credit_account_request.py +1 -1
  368. unit_finance_sdk/models/freeze_deposit_account_data.py +1 -1
  369. unit_finance_sdk/models/freeze_deposit_account_data_attributes.py +1 -1
  370. unit_finance_sdk/models/freeze_deposit_account_request.py +1 -1
  371. unit_finance_sdk/models/freeze_wallet_data.py +1 -1
  372. unit_finance_sdk/models/freeze_wallet_data_attributes.py +1 -1
  373. unit_finance_sdk/models/freeze_wallet_request.py +1 -1
  374. unit_finance_sdk/models/full_name_type.py +1 -1
  375. unit_finance_sdk/models/generate_barcode_data.py +1 -1
  376. unit_finance_sdk/models/generate_barcode_data_attributes.py +1 -1
  377. unit_finance_sdk/models/generate_barcode_data_relationships.py +1 -1
  378. unit_finance_sdk/models/generate_cash_deposit_barcode200_response.py +1 -1
  379. unit_finance_sdk/models/generate_cash_deposit_barcode_request.py +1 -1
  380. unit_finance_sdk/models/get_account_balance_history200_response.py +1 -1
  381. unit_finance_sdk/models/get_account_limits200_response.py +1 -1
  382. unit_finance_sdk/models/get_account_limits200_response_data.py +1 -1
  383. unit_finance_sdk/models/get_authorization200_response.py +105 -0
  384. unit_finance_sdk/models/get_authorization_request_by_id200_response.py +105 -0
  385. unit_finance_sdk/models/get_authorized_user200_response.py +105 -0
  386. unit_finance_sdk/models/get_available_deposit_products200_response.py +1 -1
  387. unit_finance_sdk/models/get_available_deposit_products200_response_data_inner.py +1 -1
  388. unit_finance_sdk/models/get_available_deposit_products200_response_data_inner_attributes.py +1 -1
  389. unit_finance_sdk/models/get_card200_response.py +1 -1
  390. unit_finance_sdk/models/get_card_fraud_case_by_id200_response.py +105 -0
  391. unit_finance_sdk/models/get_card_pin_status200_response.py +1 -1
  392. unit_finance_sdk/models/get_check_deposit200_response.py +1 -1
  393. unit_finance_sdk/models/get_check_payment200_response.py +115 -0
  394. unit_finance_sdk/models/get_counterparty_balance200_response.py +1 -1
  395. unit_finance_sdk/models/get_customer200_response.py +1 -1
  396. unit_finance_sdk/models/get_expected_ach_completion_date200_response.py +1 -1
  397. unit_finance_sdk/models/get_expected_ach_completion_date200_response_data.py +1 -1
  398. unit_finance_sdk/models/get_expected_ach_completion_date_data.py +1 -1
  399. unit_finance_sdk/models/get_expected_ach_completion_date_data_attributes.py +1 -1
  400. unit_finance_sdk/models/get_expected_ach_completion_date_request.py +1 -1
  401. unit_finance_sdk/models/get_mobile_wallet_payload200_response.py +105 -0
  402. unit_finance_sdk/models/get_mobile_wallet_payload_data.py +105 -0
  403. unit_finance_sdk/models/get_mobile_wallet_payload_data_attributes.py +101 -0
  404. unit_finance_sdk/models/get_mobile_wallet_payload_request.py +105 -0
  405. unit_finance_sdk/models/get_received_payment200_response.py +1 -1
  406. unit_finance_sdk/models/get_transaction200_response.py +1 -1
  407. unit_finance_sdk/models/get_wire_drawdown200_response.py +1 -1
  408. unit_finance_sdk/models/healthcare_amounts_type.py +111 -0
  409. unit_finance_sdk/models/individual_application.py +1 -1
  410. unit_finance_sdk/models/individual_application_attributes.py +1 -1
  411. unit_finance_sdk/models/individual_application_relationships.py +1 -1
  412. unit_finance_sdk/models/individual_customer.py +1 -1
  413. unit_finance_sdk/models/individual_customer_relationships.py +1 -1
  414. unit_finance_sdk/models/individual_debit_card.py +1 -1
  415. unit_finance_sdk/models/individual_debit_card_attributes.py +1 -1
  416. unit_finance_sdk/models/individual_virtual_debit_card.py +1 -1
  417. unit_finance_sdk/models/individual_virtual_debit_card_attributes.py +1 -1
  418. unit_finance_sdk/models/industry_type.py +1 -1
  419. unit_finance_sdk/models/interest_share_transaction.py +1 -1
  420. unit_finance_sdk/models/interest_share_transaction_relationships.py +1 -1
  421. unit_finance_sdk/models/interest_transaction.py +1 -1
  422. unit_finance_sdk/models/list200_response.py +1 -1
  423. unit_finance_sdk/models/list200_response_data_inner.py +1 -1
  424. unit_finance_sdk/models/list_account_holds200_response.py +1 -1
  425. unit_finance_sdk/models/list_accounts200_response.py +1 -1
  426. unit_finance_sdk/models/list_accounts200_response_data_inner.py +1 -1
  427. unit_finance_sdk/models/list_application_documents200_response.py +1 -1
  428. unit_finance_sdk/models/list_atm_locations200_response.py +109 -0
  429. unit_finance_sdk/models/list_authorization_requests200_response.py +109 -0
  430. unit_finance_sdk/models/list_authorization_requests200_response_data_inner.py +154 -0
  431. unit_finance_sdk/models/list_authorizations200_response.py +115 -0
  432. unit_finance_sdk/models/list_authorized_users200_response.py +109 -0
  433. unit_finance_sdk/models/list_card_fraud_cases200_response.py +115 -0
  434. unit_finance_sdk/models/list_card_fraud_cases200_response_data_inner.py +140 -0
  435. unit_finance_sdk/models/list_cards200_response.py +1 -1
  436. unit_finance_sdk/models/list_cards200_response_data_inner.py +1 -1
  437. unit_finance_sdk/models/list_check_deposits200_response.py +1 -1
  438. unit_finance_sdk/models/list_check_payments200_response.py +125 -0
  439. unit_finance_sdk/models/list_counterparties200_response.py +1 -1
  440. unit_finance_sdk/models/list_credit_applications200_response.py +109 -0
  441. unit_finance_sdk/models/list_credit_applications200_response_data_inner.py +140 -0
  442. unit_finance_sdk/models/list_credit_decisions200_response.py +109 -0
  443. unit_finance_sdk/models/list_credit_decisions200_response_data_inner.py +182 -0
  444. unit_finance_sdk/models/list_customers200_response.py +1 -1
  445. unit_finance_sdk/models/list_customers200_response_data_inner.py +1 -1
  446. unit_finance_sdk/models/list_received_payments200_response.py +1 -1
  447. unit_finance_sdk/models/list_received_payments200_response_data_inner.py +1 -1
  448. unit_finance_sdk/models/list_recurring_payments200_response.py +1 -1
  449. unit_finance_sdk/models/list_recurring_payments200_response_data_inner.py +1 -1
  450. unit_finance_sdk/models/list_store_locations200_response.py +1 -1
  451. unit_finance_sdk/models/list_transactions200_response.py +1 -1
  452. unit_finance_sdk/models/list_transactions200_response_included_inner.py +1 -1
  453. unit_finance_sdk/models/list_wire_drawdowns200_response.py +1 -1
  454. unit_finance_sdk/models/manual_review_credit_application_decision.py +122 -0
  455. unit_finance_sdk/models/manual_review_credit_application_decision_attributes.py +118 -0
  456. unit_finance_sdk/models/manual_review_credit_limit_decision.py +122 -0
  457. unit_finance_sdk/models/manual_review_credit_limit_decision_attributes.py +118 -0
  458. unit_finance_sdk/models/mark_card_fraud_case_as_fraud_data.py +114 -0
  459. unit_finance_sdk/models/mark_card_fraud_case_as_fraud_data_attributes.py +101 -0
  460. unit_finance_sdk/models/mark_card_fraud_case_as_fraud_request.py +105 -0
  461. unit_finance_sdk/models/meta.py +1 -1
  462. unit_finance_sdk/models/meta_pagination.py +1 -1
  463. unit_finance_sdk/models/mobile_wallet_payload.py +116 -0
  464. unit_finance_sdk/models/mobile_wallet_payload_attributes.py +101 -0
  465. unit_finance_sdk/models/negative_balance_coverage_transaction.py +1 -1
  466. unit_finance_sdk/models/number_of_employees_type.py +1 -1
  467. unit_finance_sdk/models/occupation_type.py +1 -1
  468. unit_finance_sdk/models/officer.py +1 -1
  469. unit_finance_sdk/models/officer_attributes.py +1 -1
  470. unit_finance_sdk/models/officer_relationships.py +1 -1
  471. unit_finance_sdk/models/officer_request_type.py +1 -1
  472. unit_finance_sdk/models/officer_type.py +1 -1
  473. unit_finance_sdk/models/onboarding_credit_application.py +122 -0
  474. unit_finance_sdk/models/onboarding_credit_application_relationships.py +110 -0
  475. unit_finance_sdk/models/originate_check_payment_mail_physical_check201_response.py +105 -0
  476. unit_finance_sdk/models/originate_check_payment_mail_physical_check_data.py +120 -0
  477. unit_finance_sdk/models/originate_check_payment_mail_physical_check_data_attributes.py +123 -0
  478. unit_finance_sdk/models/originate_check_payment_mail_physical_check_data_relationships.py +110 -0
  479. unit_finance_sdk/models/originate_check_payment_mail_physical_check_request.py +105 -0
  480. unit_finance_sdk/models/originated_ach_transaction.py +1 -1
  481. unit_finance_sdk/models/originated_ach_transaction_attributes.py +1 -1
  482. unit_finance_sdk/models/originated_ach_transaction_relationships.py +1 -1
  483. unit_finance_sdk/models/payment_advance_transaction.py +1 -1
  484. unit_finance_sdk/models/payment_advance_transaction_attributes.py +1 -1
  485. unit_finance_sdk/models/payment_advance_transaction_relationships.py +1 -1
  486. unit_finance_sdk/models/payment_canceled_transaction.py +1 -1
  487. unit_finance_sdk/models/payment_canceled_transaction_relationships.py +1 -1
  488. unit_finance_sdk/models/phone_type.py +1 -1
  489. unit_finance_sdk/models/pin_status.py +1 -1
  490. unit_finance_sdk/models/pin_status_attributes.py +1 -1
  491. unit_finance_sdk/models/product_type.py +1 -1
  492. unit_finance_sdk/models/purchase_authorization_request.py +122 -0
  493. unit_finance_sdk/models/purchase_authorization_request_attributes.py +156 -0
  494. unit_finance_sdk/models/purchase_authorization_request_relationships.py +125 -0
  495. unit_finance_sdk/models/purchase_transaction.py +1 -1
  496. unit_finance_sdk/models/purchase_transaction_attributes.py +1 -1
  497. unit_finance_sdk/models/purchase_transaction_attributes_merchant.py +1 -1
  498. unit_finance_sdk/models/purchase_transaction_relationships.py +1 -1
  499. unit_finance_sdk/models/push_to_card_reversal_transaction.py +1 -1
  500. unit_finance_sdk/models/push_to_card_reversal_transaction_relationships.py +1 -1
  501. unit_finance_sdk/models/push_to_card_transaction.py +1 -1
  502. unit_finance_sdk/models/push_to_card_transaction_relationships.py +1 -1
  503. unit_finance_sdk/models/real_time_counterparty_type.py +1 -1
  504. unit_finance_sdk/models/realtime_received_payment.py +1 -1
  505. unit_finance_sdk/models/realtime_received_payment_attributes.py +1 -1
  506. unit_finance_sdk/models/realtime_received_payment_relationships.py +1 -1
  507. unit_finance_sdk/models/received_ach_transaction.py +1 -1
  508. unit_finance_sdk/models/received_ach_transaction_attributes.py +1 -1
  509. unit_finance_sdk/models/recurring_credit_ach_payment.py +1 -1
  510. unit_finance_sdk/models/recurring_credit_ach_payment_attributes.py +1 -1
  511. unit_finance_sdk/models/recurring_credit_ach_payment_relationships.py +1 -1
  512. unit_finance_sdk/models/recurring_credit_book_payment.py +1 -1
  513. unit_finance_sdk/models/recurring_credit_book_payment_attributes.py +1 -1
  514. unit_finance_sdk/models/recurring_credit_book_payment_relationships.py +1 -1
  515. unit_finance_sdk/models/recurring_debit_ach_payment.py +1 -1
  516. unit_finance_sdk/models/relationship.py +1 -1
  517. unit_finance_sdk/models/relationship_data.py +1 -1
  518. unit_finance_sdk/models/release_account_hold_data.py +1 -1
  519. unit_finance_sdk/models/release_account_hold_data_attributes.py +1 -1
  520. unit_finance_sdk/models/release_account_hold_request.py +1 -1
  521. unit_finance_sdk/models/release_transaction.py +1 -1
  522. unit_finance_sdk/models/release_transaction_attributes.py +1 -1
  523. unit_finance_sdk/models/remove_account_owners_request.py +1 -1
  524. unit_finance_sdk/models/remove_authorized_users_data.py +114 -0
  525. unit_finance_sdk/models/remove_authorized_users_data_attributes.py +101 -0
  526. unit_finance_sdk/models/remove_authorized_users_request.py +105 -0
  527. unit_finance_sdk/models/reopen_account200_response.py +1 -1
  528. unit_finance_sdk/models/reopen_account200_response_data.py +1 -1
  529. unit_finance_sdk/models/repaid_payment_advance_transaction.py +1 -1
  530. unit_finance_sdk/models/repaid_payment_advance_transaction_attributes.py +1 -1
  531. unit_finance_sdk/models/repaid_payment_advance_transaction_relationships.py +1 -1
  532. unit_finance_sdk/models/replace_card200_response.py +1 -1
  533. unit_finance_sdk/models/replace_card200_response_data.py +1 -1
  534. unit_finance_sdk/models/replace_card_data.py +1 -1
  535. unit_finance_sdk/models/replace_card_data_attributes.py +1 -1
  536. unit_finance_sdk/models/replace_card_request.py +1 -1
  537. unit_finance_sdk/models/requested_product_type.py +1 -1
  538. unit_finance_sdk/models/resource_identifier.py +1 -1
  539. unit_finance_sdk/models/return_check_payment_data.py +114 -0
  540. unit_finance_sdk/models/return_check_payment_data_attributes.py +101 -0
  541. unit_finance_sdk/models/return_check_payment_request.py +105 -0
  542. unit_finance_sdk/models/returned_ach_transaction.py +1 -1
  543. unit_finance_sdk/models/returned_ach_transaction_attributes.py +1 -1
  544. unit_finance_sdk/models/returned_ach_transaction_relationships.py +1 -1
  545. unit_finance_sdk/models/returned_check_deposit_transaction.py +1 -1
  546. unit_finance_sdk/models/returned_check_deposit_transaction_attributes.py +1 -1
  547. unit_finance_sdk/models/returned_check_payment_transaction.py +1 -1
  548. unit_finance_sdk/models/returned_check_payment_transaction_attributes.py +1 -1
  549. unit_finance_sdk/models/returned_received_ach_transaction.py +1 -1
  550. unit_finance_sdk/models/returned_received_ach_transaction_attributes.py +1 -1
  551. unit_finance_sdk/models/returned_received_ach_transaction_relationships.py +1 -1
  552. unit_finance_sdk/models/returned_wire_transaction.py +1 -1
  553. unit_finance_sdk/models/returned_wire_transaction_attributes.py +1 -1
  554. unit_finance_sdk/models/reverse_fee201_response.py +1 -1
  555. unit_finance_sdk/models/reverse_fee_data.py +1 -1
  556. unit_finance_sdk/models/reverse_fee_data_attributes.py +1 -1
  557. unit_finance_sdk/models/reverse_fee_data_relationships.py +1 -1
  558. unit_finance_sdk/models/reverse_fee_request.py +1 -1
  559. unit_finance_sdk/models/reward_transaction.py +1 -1
  560. unit_finance_sdk/models/reward_transaction_attributes.py +1 -1
  561. unit_finance_sdk/models/reward_transaction_relationships.py +1 -1
  562. unit_finance_sdk/models/rich_merchant_data_type.py +1 -1
  563. unit_finance_sdk/models/rich_merchant_data_type_address.py +1 -1
  564. unit_finance_sdk/models/rich_merchant_data_type_categories_inner.py +1 -1
  565. unit_finance_sdk/models/schedule_type.py +1 -1
  566. unit_finance_sdk/models/send_drawdown_payment200_response.py +1 -1
  567. unit_finance_sdk/models/send_drawdown_payment_data.py +1 -1
  568. unit_finance_sdk/models/send_drawdown_payment_data_attributes.py +1 -1
  569. unit_finance_sdk/models/send_drawdown_payment_request.py +1 -1
  570. unit_finance_sdk/models/sole_proprietor_annual_revenue_type.py +1 -1
  571. unit_finance_sdk/models/sole_proprietor_number_of_employees_type.py +1 -1
  572. unit_finance_sdk/models/source_of_income_type.py +1 -1
  573. unit_finance_sdk/models/store_location.py +1 -1
  574. unit_finance_sdk/models/store_location_attributes.py +1 -1
  575. unit_finance_sdk/models/to_many_relationship.py +1 -1
  576. unit_finance_sdk/models/total_accrued_interest_type.py +1 -1
  577. unit_finance_sdk/models/transaction.py +1 -1
  578. unit_finance_sdk/models/transaction_card_fraud_case.py +122 -0
  579. unit_finance_sdk/models/update_account_request.py +1 -1
  580. unit_finance_sdk/models/update_ach_payment_data.py +1 -1
  581. unit_finance_sdk/models/update_ach_payment_data_attributes.py +1 -1
  582. unit_finance_sdk/models/update_ach_payment_request.py +1 -1
  583. unit_finance_sdk/models/update_ach_received_payment_data.py +1 -1
  584. unit_finance_sdk/models/update_ach_received_payment_data_attributes.py +1 -1
  585. unit_finance_sdk/models/update_ach_received_payment_request.py +1 -1
  586. unit_finance_sdk/models/update_application_request.py +1 -1
  587. unit_finance_sdk/models/update_book_payment_data.py +1 -1
  588. unit_finance_sdk/models/update_book_payment_data_attributes.py +1 -1
  589. unit_finance_sdk/models/update_book_payment_request.py +1 -1
  590. unit_finance_sdk/models/update_book_transaction_data.py +1 -1
  591. unit_finance_sdk/models/update_book_transaction_data_attributes.py +1 -1
  592. unit_finance_sdk/models/update_book_transaction_request.py +1 -1
  593. unit_finance_sdk/models/update_business_application_data.py +1 -1
  594. unit_finance_sdk/models/update_business_application_data_attributes.py +1 -1
  595. unit_finance_sdk/models/update_business_application_request.py +1 -1
  596. unit_finance_sdk/models/update_business_beneficial_owner201_response.py +1 -1
  597. unit_finance_sdk/models/update_business_beneficial_owner_data.py +1 -1
  598. unit_finance_sdk/models/update_business_beneficial_owner_data_attributes.py +1 -1
  599. unit_finance_sdk/models/update_business_beneficial_owner_data_relationships.py +1 -1
  600. unit_finance_sdk/models/update_business_beneficial_owner_request.py +1 -1
  601. unit_finance_sdk/models/update_business_customer_data.py +1 -1
  602. unit_finance_sdk/models/update_business_customer_data_attributes.py +1 -1
  603. unit_finance_sdk/models/update_business_customer_officer200_response.py +1 -1
  604. unit_finance_sdk/models/update_business_customer_officer_data.py +1 -1
  605. unit_finance_sdk/models/update_business_customer_officer_data_attributes.py +1 -1
  606. unit_finance_sdk/models/update_business_customer_officer_request.py +1 -1
  607. unit_finance_sdk/models/update_business_customer_request.py +1 -1
  608. unit_finance_sdk/models/update_business_officer_data.py +1 -1
  609. unit_finance_sdk/models/update_business_officer_data_attributes.py +1 -1
  610. unit_finance_sdk/models/update_business_officer_request.py +1 -1
  611. unit_finance_sdk/models/update_card200_response.py +1 -1
  612. unit_finance_sdk/models/update_card200_response_data.py +1 -1
  613. unit_finance_sdk/models/update_card_data.py +1 -1
  614. unit_finance_sdk/models/update_card_data_attributes.py +1 -1
  615. unit_finance_sdk/models/update_card_request.py +1 -1
  616. unit_finance_sdk/models/update_chargeback_transaction_data.py +1 -1
  617. unit_finance_sdk/models/update_chargeback_transaction_data_attributes.py +1 -1
  618. unit_finance_sdk/models/update_chargeback_transaction_request.py +1 -1
  619. unit_finance_sdk/models/update_check_deposit_request.py +1 -1
  620. unit_finance_sdk/models/update_counterparty200_response.py +1 -1
  621. unit_finance_sdk/models/update_counterparty_data.py +1 -1
  622. unit_finance_sdk/models/update_counterparty_data_attributes.py +1 -1
  623. unit_finance_sdk/models/update_counterparty_request.py +1 -1
  624. unit_finance_sdk/models/update_credit_account_data.py +1 -1
  625. unit_finance_sdk/models/update_credit_account_data_attributes.py +1 -1
  626. unit_finance_sdk/models/update_credit_account_request.py +1 -1
  627. unit_finance_sdk/models/update_credit_application_data.py +114 -0
  628. unit_finance_sdk/models/update_credit_application_data_attributes.py +110 -0
  629. unit_finance_sdk/models/update_credit_application_request.py +105 -0
  630. unit_finance_sdk/models/update_customer200_response.py +1 -1
  631. unit_finance_sdk/models/update_customer_request.py +1 -1
  632. unit_finance_sdk/models/update_data.py +1 -1
  633. unit_finance_sdk/models/update_data_attributes.py +1 -1
  634. unit_finance_sdk/models/update_deposit_account_data.py +1 -1
  635. unit_finance_sdk/models/update_deposit_account_data_attributes.py +1 -1
  636. unit_finance_sdk/models/update_deposit_account_request.py +1 -1
  637. unit_finance_sdk/models/update_individual_application_data.py +1 -1
  638. unit_finance_sdk/models/update_individual_application_data_attributes.py +1 -1
  639. unit_finance_sdk/models/update_individual_application_request.py +1 -1
  640. unit_finance_sdk/models/update_individual_customer_data.py +1 -1
  641. unit_finance_sdk/models/update_individual_customer_data_attributes.py +1 -1
  642. unit_finance_sdk/models/update_individual_customer_request.py +1 -1
  643. unit_finance_sdk/models/update_payment200_response.py +1 -1
  644. unit_finance_sdk/models/update_payment200_response_data.py +1 -1
  645. unit_finance_sdk/models/update_payment_request.py +1 -1
  646. unit_finance_sdk/models/update_policy_data.py +114 -0
  647. unit_finance_sdk/models/update_policy_data_attributes.py +123 -0
  648. unit_finance_sdk/models/update_policy_request.py +105 -0
  649. unit_finance_sdk/models/update_realtime_received_payment_data.py +1 -1
  650. unit_finance_sdk/models/update_realtime_received_payment_request.py +1 -1
  651. unit_finance_sdk/models/update_received_payment200_response.py +1 -1
  652. unit_finance_sdk/models/update_received_payment_request.py +1 -1
  653. unit_finance_sdk/models/update_sole_proprietor_application_data.py +1 -1
  654. unit_finance_sdk/models/update_sole_proprietor_application_data_attributes.py +1 -1
  655. unit_finance_sdk/models/update_sole_proprietor_application_request.py +1 -1
  656. unit_finance_sdk/models/update_tags_data.py +1 -1
  657. unit_finance_sdk/models/update_tags_data_attributes.py +1 -1
  658. unit_finance_sdk/models/update_tags_request.py +1 -1
  659. unit_finance_sdk/models/update_transaction200_response.py +1 -1
  660. unit_finance_sdk/models/update_transaction_request.py +1 -1
  661. unit_finance_sdk/models/update_wallet_data.py +1 -1
  662. unit_finance_sdk/models/update_wallet_data_attributes.py +1 -1
  663. unit_finance_sdk/models/update_wallet_request.py +1 -1
  664. unit_finance_sdk/models/verify_document_data.py +1 -1
  665. unit_finance_sdk/models/verify_document_data_attributes.py +1 -1
  666. unit_finance_sdk/models/verify_document_request.py +1 -1
  667. unit_finance_sdk/models/wallet_account.py +1 -1
  668. unit_finance_sdk/models/wallet_account_attributes.py +1 -1
  669. unit_finance_sdk/models/wire_counterparty_type.py +1 -1
  670. unit_finance_sdk/models/wire_drawdown.py +1 -1
  671. unit_finance_sdk/models/wire_drawdown_attributes.py +1 -1
  672. unit_finance_sdk/models/wire_drawdown_relationships.py +1 -1
  673. unit_finance_sdk/models/wire_payment.py +1 -1
  674. unit_finance_sdk/models/wire_payment_attributes.py +1 -1
  675. unit_finance_sdk/models/wire_payment_relationships.py +1 -1
  676. unit_finance_sdk/models/wire_transaction.py +1 -1
  677. unit_finance_sdk/models/wire_transaction_attributes.py +1 -1
  678. unit_finance_sdk/models/write_off_transaction.py +1 -1
  679. unit_finance_sdk/rest.py +1 -1
  680. {unit_openapi_python_sdk-0.11.0.dist-info → unit_openapi_python_sdk-0.16.0.dist-info}/METADATA +1 -1
  681. unit_openapi_python_sdk-0.16.0.dist-info/RECORD +685 -0
  682. unit_openapi_python_sdk-0.11.0.dist-info/RECORD +0 -541
  683. {unit_openapi_python_sdk-0.11.0.dist-info → unit_openapi_python_sdk-0.16.0.dist-info}/WHEEL +0 -0
  684. {unit_openapi_python_sdk-0.11.0.dist-info → unit_openapi_python_sdk-0.16.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,1227 @@
1
+ """
2
+ Unit API
3
+
4
+ JSON:API-compliant banking API.
5
+
6
+ The version of the OpenAPI document: 0.16.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, StrictStr
19
+ from typing import Optional
20
+ from typing_extensions import Annotated
21
+ from unit_finance_sdk.models.add_authorized_users_request import AddAuthorizedUsersRequest
22
+ from unit_finance_sdk.models.get_authorized_user200_response import GetAuthorizedUser200Response
23
+ from unit_finance_sdk.models.list_authorized_users200_response import ListAuthorizedUsers200Response
24
+ from unit_finance_sdk.models.remove_authorized_users_request import RemoveAuthorizedUsersRequest
25
+ from unit_finance_sdk.models.update_customer200_response import UpdateCustomer200Response
26
+
27
+ from unit_finance_sdk.api_client import ApiClient, RequestSerialized
28
+ from unit_finance_sdk.api_response import ApiResponse
29
+ from unit_finance_sdk.rest import RESTResponseType
30
+
31
+
32
+ class AuthorizedUsersApi:
33
+ """NOTE: This class is auto generated by OpenAPI Generator
34
+ Ref: https://openapi-generator.tech
35
+
36
+ Do not edit the class manually.
37
+ """
38
+
39
+ def __init__(self, api_client=None) -> None:
40
+ if api_client is None:
41
+ api_client = ApiClient.get_default()
42
+ self.api_client = api_client
43
+
44
+
45
+ @validate_call
46
+ def add_authorized_users(
47
+ self,
48
+ customer_id: StrictStr,
49
+ add_authorized_users_request: AddAuthorizedUsersRequest,
50
+ _request_timeout: Union[
51
+ None,
52
+ Annotated[StrictFloat, Field(gt=0)],
53
+ Tuple[
54
+ Annotated[StrictFloat, Field(gt=0)],
55
+ Annotated[StrictFloat, Field(gt=0)]
56
+ ]
57
+ ] = None,
58
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
59
+ _content_type: Optional[StrictStr] = None,
60
+ _headers: Optional[Dict[StrictStr, Any]] = None,
61
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
62
+ ) -> UpdateCustomer200Response:
63
+ """Add authorized users
64
+
65
+ Add authorized users for a customer. The Customer Update webhook event will be fired.
66
+
67
+ :param customer_id: (required)
68
+ :type customer_id: str
69
+ :param add_authorized_users_request: (required)
70
+ :type add_authorized_users_request: AddAuthorizedUsersRequest
71
+ :param _request_timeout: timeout setting for this request. If one
72
+ number provided, it will be total request
73
+ timeout. It can also be a pair (tuple) of
74
+ (connection, read) timeouts.
75
+ :type _request_timeout: int, tuple(int, int), optional
76
+ :param _request_auth: set to override the auth_settings for an a single
77
+ request; this effectively ignores the
78
+ authentication in the spec for a single request.
79
+ :type _request_auth: dict, optional
80
+ :param _content_type: force content-type for the request.
81
+ :type _content_type: str, Optional
82
+ :param _headers: set to override the headers for a single
83
+ request; this effectively ignores the headers
84
+ in the spec for a single request.
85
+ :type _headers: dict, optional
86
+ :param _host_index: set to override the host_index for a single
87
+ request; this effectively ignores the host_index
88
+ in the spec for a single request.
89
+ :type _host_index: int, optional
90
+ :return: Returns the result object.
91
+ """ # noqa: E501
92
+
93
+ _param = self._add_authorized_users_serialize(
94
+ customer_id=customer_id,
95
+ add_authorized_users_request=add_authorized_users_request,
96
+ _request_auth=_request_auth,
97
+ _content_type=_content_type,
98
+ _headers=_headers,
99
+ _host_index=_host_index
100
+ )
101
+
102
+ _response_types_map: Dict[str, Optional[str]] = {
103
+ '200': "UpdateCustomer200Response",
104
+ '400': "ErrorDocument",
105
+ '401': "ErrorDocument",
106
+ '404': "ErrorDocument",
107
+ }
108
+ response_data = self.api_client.call_api(
109
+ *_param,
110
+ _request_timeout=_request_timeout
111
+ )
112
+ response_data.read()
113
+ return self.api_client.response_deserialize(
114
+ response_data=response_data,
115
+ response_types_map=_response_types_map,
116
+ ).data
117
+
118
+
119
+ @validate_call
120
+ def add_authorized_users_with_http_info(
121
+ self,
122
+ customer_id: StrictStr,
123
+ add_authorized_users_request: AddAuthorizedUsersRequest,
124
+ _request_timeout: Union[
125
+ None,
126
+ Annotated[StrictFloat, Field(gt=0)],
127
+ Tuple[
128
+ Annotated[StrictFloat, Field(gt=0)],
129
+ Annotated[StrictFloat, Field(gt=0)]
130
+ ]
131
+ ] = None,
132
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
133
+ _content_type: Optional[StrictStr] = None,
134
+ _headers: Optional[Dict[StrictStr, Any]] = None,
135
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
136
+ ) -> ApiResponse[UpdateCustomer200Response]:
137
+ """Add authorized users
138
+
139
+ Add authorized users for a customer. The Customer Update webhook event will be fired.
140
+
141
+ :param customer_id: (required)
142
+ :type customer_id: str
143
+ :param add_authorized_users_request: (required)
144
+ :type add_authorized_users_request: AddAuthorizedUsersRequest
145
+ :param _request_timeout: timeout setting for this request. If one
146
+ number provided, it will be total request
147
+ timeout. It can also be a pair (tuple) of
148
+ (connection, read) timeouts.
149
+ :type _request_timeout: int, tuple(int, int), optional
150
+ :param _request_auth: set to override the auth_settings for an a single
151
+ request; this effectively ignores the
152
+ authentication in the spec for a single request.
153
+ :type _request_auth: dict, optional
154
+ :param _content_type: force content-type for the request.
155
+ :type _content_type: str, Optional
156
+ :param _headers: set to override the headers for a single
157
+ request; this effectively ignores the headers
158
+ in the spec for a single request.
159
+ :type _headers: dict, optional
160
+ :param _host_index: set to override the host_index for a single
161
+ request; this effectively ignores the host_index
162
+ in the spec for a single request.
163
+ :type _host_index: int, optional
164
+ :return: Returns the result object.
165
+ """ # noqa: E501
166
+
167
+ _param = self._add_authorized_users_serialize(
168
+ customer_id=customer_id,
169
+ add_authorized_users_request=add_authorized_users_request,
170
+ _request_auth=_request_auth,
171
+ _content_type=_content_type,
172
+ _headers=_headers,
173
+ _host_index=_host_index
174
+ )
175
+
176
+ _response_types_map: Dict[str, Optional[str]] = {
177
+ '200': "UpdateCustomer200Response",
178
+ '400': "ErrorDocument",
179
+ '401': "ErrorDocument",
180
+ '404': "ErrorDocument",
181
+ }
182
+ response_data = self.api_client.call_api(
183
+ *_param,
184
+ _request_timeout=_request_timeout
185
+ )
186
+ response_data.read()
187
+ return self.api_client.response_deserialize(
188
+ response_data=response_data,
189
+ response_types_map=_response_types_map,
190
+ )
191
+
192
+
193
+ @validate_call
194
+ def add_authorized_users_without_preload_content(
195
+ self,
196
+ customer_id: StrictStr,
197
+ add_authorized_users_request: AddAuthorizedUsersRequest,
198
+ _request_timeout: Union[
199
+ None,
200
+ Annotated[StrictFloat, Field(gt=0)],
201
+ Tuple[
202
+ Annotated[StrictFloat, Field(gt=0)],
203
+ Annotated[StrictFloat, Field(gt=0)]
204
+ ]
205
+ ] = None,
206
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
207
+ _content_type: Optional[StrictStr] = None,
208
+ _headers: Optional[Dict[StrictStr, Any]] = None,
209
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
210
+ ) -> RESTResponseType:
211
+ """Add authorized users
212
+
213
+ Add authorized users for a customer. The Customer Update webhook event will be fired.
214
+
215
+ :param customer_id: (required)
216
+ :type customer_id: str
217
+ :param add_authorized_users_request: (required)
218
+ :type add_authorized_users_request: AddAuthorizedUsersRequest
219
+ :param _request_timeout: timeout setting for this request. If one
220
+ number provided, it will be total request
221
+ timeout. It can also be a pair (tuple) of
222
+ (connection, read) timeouts.
223
+ :type _request_timeout: int, tuple(int, int), optional
224
+ :param _request_auth: set to override the auth_settings for an a single
225
+ request; this effectively ignores the
226
+ authentication in the spec for a single request.
227
+ :type _request_auth: dict, optional
228
+ :param _content_type: force content-type for the request.
229
+ :type _content_type: str, Optional
230
+ :param _headers: set to override the headers for a single
231
+ request; this effectively ignores the headers
232
+ in the spec for a single request.
233
+ :type _headers: dict, optional
234
+ :param _host_index: set to override the host_index for a single
235
+ request; this effectively ignores the host_index
236
+ in the spec for a single request.
237
+ :type _host_index: int, optional
238
+ :return: Returns the result object.
239
+ """ # noqa: E501
240
+
241
+ _param = self._add_authorized_users_serialize(
242
+ customer_id=customer_id,
243
+ add_authorized_users_request=add_authorized_users_request,
244
+ _request_auth=_request_auth,
245
+ _content_type=_content_type,
246
+ _headers=_headers,
247
+ _host_index=_host_index
248
+ )
249
+
250
+ _response_types_map: Dict[str, Optional[str]] = {
251
+ '200': "UpdateCustomer200Response",
252
+ '400': "ErrorDocument",
253
+ '401': "ErrorDocument",
254
+ '404': "ErrorDocument",
255
+ }
256
+ response_data = self.api_client.call_api(
257
+ *_param,
258
+ _request_timeout=_request_timeout
259
+ )
260
+ return response_data.response
261
+
262
+
263
+ def _add_authorized_users_serialize(
264
+ self,
265
+ customer_id,
266
+ add_authorized_users_request,
267
+ _request_auth,
268
+ _content_type,
269
+ _headers,
270
+ _host_index,
271
+ ) -> RequestSerialized:
272
+
273
+ _host = None
274
+
275
+ _collection_formats: Dict[str, str] = {
276
+ }
277
+
278
+ _path_params: Dict[str, str] = {}
279
+ _query_params: List[Tuple[str, str]] = []
280
+ _header_params: Dict[str, Optional[str]] = _headers or {}
281
+ _form_params: List[Tuple[str, str]] = []
282
+ _files: Dict[
283
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
284
+ ] = {}
285
+ _body_params: Optional[bytes] = None
286
+
287
+ # process the path parameters
288
+ if customer_id is not None:
289
+ _path_params['customerId'] = customer_id
290
+ # process the query parameters
291
+ # process the header parameters
292
+ # process the form parameters
293
+ # process the body parameter
294
+ if add_authorized_users_request is not None:
295
+ _body_params = add_authorized_users_request
296
+
297
+
298
+ # set the HTTP header `Accept`
299
+ if 'Accept' not in _header_params:
300
+ _header_params['Accept'] = self.api_client.select_header_accept(
301
+ [
302
+ 'application/vnd.api+json'
303
+ ]
304
+ )
305
+
306
+ # set the HTTP header `Content-Type`
307
+ if _content_type:
308
+ _header_params['Content-Type'] = _content_type
309
+ else:
310
+ _default_content_type = (
311
+ self.api_client.select_header_content_type(
312
+ [
313
+ 'application/vnd.api+json'
314
+ ]
315
+ )
316
+ )
317
+ if _default_content_type is not None:
318
+ _header_params['Content-Type'] = _default_content_type
319
+
320
+ # authentication setting
321
+ _auth_settings: List[str] = [
322
+ 'bearerAuth'
323
+ ]
324
+
325
+ return self.api_client.param_serialize(
326
+ method='POST',
327
+ resource_path='/customers/{customerId}/authorized-users',
328
+ path_params=_path_params,
329
+ query_params=_query_params,
330
+ header_params=_header_params,
331
+ body=_body_params,
332
+ post_params=_form_params,
333
+ files=_files,
334
+ auth_settings=_auth_settings,
335
+ collection_formats=_collection_formats,
336
+ _host=_host,
337
+ _request_auth=_request_auth
338
+ )
339
+
340
+
341
+
342
+
343
+ @validate_call
344
+ def get_authorized_user(
345
+ self,
346
+ customer_id: StrictStr,
347
+ authorized_user_id: StrictStr,
348
+ _request_timeout: Union[
349
+ None,
350
+ Annotated[StrictFloat, Field(gt=0)],
351
+ Tuple[
352
+ Annotated[StrictFloat, Field(gt=0)],
353
+ Annotated[StrictFloat, Field(gt=0)]
354
+ ]
355
+ ] = None,
356
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
357
+ _content_type: Optional[StrictStr] = None,
358
+ _headers: Optional[Dict[StrictStr, Any]] = None,
359
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
360
+ ) -> GetAuthorizedUser200Response:
361
+ """Get an authorized user
362
+
363
+ Get an authorized user resource by id.
364
+
365
+ :param customer_id: (required)
366
+ :type customer_id: str
367
+ :param authorized_user_id: (required)
368
+ :type authorized_user_id: str
369
+ :param _request_timeout: timeout setting for this request. If one
370
+ number provided, it will be total request
371
+ timeout. It can also be a pair (tuple) of
372
+ (connection, read) timeouts.
373
+ :type _request_timeout: int, tuple(int, int), optional
374
+ :param _request_auth: set to override the auth_settings for an a single
375
+ request; this effectively ignores the
376
+ authentication in the spec for a single request.
377
+ :type _request_auth: dict, optional
378
+ :param _content_type: force content-type for the request.
379
+ :type _content_type: str, Optional
380
+ :param _headers: set to override the headers for a single
381
+ request; this effectively ignores the headers
382
+ in the spec for a single request.
383
+ :type _headers: dict, optional
384
+ :param _host_index: set to override the host_index for a single
385
+ request; this effectively ignores the host_index
386
+ in the spec for a single request.
387
+ :type _host_index: int, optional
388
+ :return: Returns the result object.
389
+ """ # noqa: E501
390
+
391
+ _param = self._get_authorized_user_serialize(
392
+ customer_id=customer_id,
393
+ authorized_user_id=authorized_user_id,
394
+ _request_auth=_request_auth,
395
+ _content_type=_content_type,
396
+ _headers=_headers,
397
+ _host_index=_host_index
398
+ )
399
+
400
+ _response_types_map: Dict[str, Optional[str]] = {
401
+ '200': "GetAuthorizedUser200Response",
402
+ '400': "ErrorDocument",
403
+ '401': "ErrorDocument",
404
+ '404': "ErrorDocument",
405
+ }
406
+ response_data = self.api_client.call_api(
407
+ *_param,
408
+ _request_timeout=_request_timeout
409
+ )
410
+ response_data.read()
411
+ return self.api_client.response_deserialize(
412
+ response_data=response_data,
413
+ response_types_map=_response_types_map,
414
+ ).data
415
+
416
+
417
+ @validate_call
418
+ def get_authorized_user_with_http_info(
419
+ self,
420
+ customer_id: StrictStr,
421
+ authorized_user_id: StrictStr,
422
+ _request_timeout: Union[
423
+ None,
424
+ Annotated[StrictFloat, Field(gt=0)],
425
+ Tuple[
426
+ Annotated[StrictFloat, Field(gt=0)],
427
+ Annotated[StrictFloat, Field(gt=0)]
428
+ ]
429
+ ] = None,
430
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
431
+ _content_type: Optional[StrictStr] = None,
432
+ _headers: Optional[Dict[StrictStr, Any]] = None,
433
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
434
+ ) -> ApiResponse[GetAuthorizedUser200Response]:
435
+ """Get an authorized user
436
+
437
+ Get an authorized user resource by id.
438
+
439
+ :param customer_id: (required)
440
+ :type customer_id: str
441
+ :param authorized_user_id: (required)
442
+ :type authorized_user_id: str
443
+ :param _request_timeout: timeout setting for this request. If one
444
+ number provided, it will be total request
445
+ timeout. It can also be a pair (tuple) of
446
+ (connection, read) timeouts.
447
+ :type _request_timeout: int, tuple(int, int), optional
448
+ :param _request_auth: set to override the auth_settings for an a single
449
+ request; this effectively ignores the
450
+ authentication in the spec for a single request.
451
+ :type _request_auth: dict, optional
452
+ :param _content_type: force content-type for the request.
453
+ :type _content_type: str, Optional
454
+ :param _headers: set to override the headers for a single
455
+ request; this effectively ignores the headers
456
+ in the spec for a single request.
457
+ :type _headers: dict, optional
458
+ :param _host_index: set to override the host_index for a single
459
+ request; this effectively ignores the host_index
460
+ in the spec for a single request.
461
+ :type _host_index: int, optional
462
+ :return: Returns the result object.
463
+ """ # noqa: E501
464
+
465
+ _param = self._get_authorized_user_serialize(
466
+ customer_id=customer_id,
467
+ authorized_user_id=authorized_user_id,
468
+ _request_auth=_request_auth,
469
+ _content_type=_content_type,
470
+ _headers=_headers,
471
+ _host_index=_host_index
472
+ )
473
+
474
+ _response_types_map: Dict[str, Optional[str]] = {
475
+ '200': "GetAuthorizedUser200Response",
476
+ '400': "ErrorDocument",
477
+ '401': "ErrorDocument",
478
+ '404': "ErrorDocument",
479
+ }
480
+ response_data = self.api_client.call_api(
481
+ *_param,
482
+ _request_timeout=_request_timeout
483
+ )
484
+ response_data.read()
485
+ return self.api_client.response_deserialize(
486
+ response_data=response_data,
487
+ response_types_map=_response_types_map,
488
+ )
489
+
490
+
491
+ @validate_call
492
+ def get_authorized_user_without_preload_content(
493
+ self,
494
+ customer_id: StrictStr,
495
+ authorized_user_id: StrictStr,
496
+ _request_timeout: Union[
497
+ None,
498
+ Annotated[StrictFloat, Field(gt=0)],
499
+ Tuple[
500
+ Annotated[StrictFloat, Field(gt=0)],
501
+ Annotated[StrictFloat, Field(gt=0)]
502
+ ]
503
+ ] = None,
504
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
505
+ _content_type: Optional[StrictStr] = None,
506
+ _headers: Optional[Dict[StrictStr, Any]] = None,
507
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
508
+ ) -> RESTResponseType:
509
+ """Get an authorized user
510
+
511
+ Get an authorized user resource by id.
512
+
513
+ :param customer_id: (required)
514
+ :type customer_id: str
515
+ :param authorized_user_id: (required)
516
+ :type authorized_user_id: str
517
+ :param _request_timeout: timeout setting for this request. If one
518
+ number provided, it will be total request
519
+ timeout. It can also be a pair (tuple) of
520
+ (connection, read) timeouts.
521
+ :type _request_timeout: int, tuple(int, int), optional
522
+ :param _request_auth: set to override the auth_settings for an a single
523
+ request; this effectively ignores the
524
+ authentication in the spec for a single request.
525
+ :type _request_auth: dict, optional
526
+ :param _content_type: force content-type for the request.
527
+ :type _content_type: str, Optional
528
+ :param _headers: set to override the headers for a single
529
+ request; this effectively ignores the headers
530
+ in the spec for a single request.
531
+ :type _headers: dict, optional
532
+ :param _host_index: set to override the host_index for a single
533
+ request; this effectively ignores the host_index
534
+ in the spec for a single request.
535
+ :type _host_index: int, optional
536
+ :return: Returns the result object.
537
+ """ # noqa: E501
538
+
539
+ _param = self._get_authorized_user_serialize(
540
+ customer_id=customer_id,
541
+ authorized_user_id=authorized_user_id,
542
+ _request_auth=_request_auth,
543
+ _content_type=_content_type,
544
+ _headers=_headers,
545
+ _host_index=_host_index
546
+ )
547
+
548
+ _response_types_map: Dict[str, Optional[str]] = {
549
+ '200': "GetAuthorizedUser200Response",
550
+ '400': "ErrorDocument",
551
+ '401': "ErrorDocument",
552
+ '404': "ErrorDocument",
553
+ }
554
+ response_data = self.api_client.call_api(
555
+ *_param,
556
+ _request_timeout=_request_timeout
557
+ )
558
+ return response_data.response
559
+
560
+
561
+ def _get_authorized_user_serialize(
562
+ self,
563
+ customer_id,
564
+ authorized_user_id,
565
+ _request_auth,
566
+ _content_type,
567
+ _headers,
568
+ _host_index,
569
+ ) -> RequestSerialized:
570
+
571
+ _host = None
572
+
573
+ _collection_formats: Dict[str, str] = {
574
+ }
575
+
576
+ _path_params: Dict[str, str] = {}
577
+ _query_params: List[Tuple[str, str]] = []
578
+ _header_params: Dict[str, Optional[str]] = _headers or {}
579
+ _form_params: List[Tuple[str, str]] = []
580
+ _files: Dict[
581
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
582
+ ] = {}
583
+ _body_params: Optional[bytes] = None
584
+
585
+ # process the path parameters
586
+ if customer_id is not None:
587
+ _path_params['customerId'] = customer_id
588
+ if authorized_user_id is not None:
589
+ _path_params['authorizedUserId'] = authorized_user_id
590
+ # process the query parameters
591
+ # process the header parameters
592
+ # process the form parameters
593
+ # process the body parameter
594
+
595
+
596
+ # set the HTTP header `Accept`
597
+ if 'Accept' not in _header_params:
598
+ _header_params['Accept'] = self.api_client.select_header_accept(
599
+ [
600
+ 'application/vnd.api+json'
601
+ ]
602
+ )
603
+
604
+
605
+ # authentication setting
606
+ _auth_settings: List[str] = [
607
+ 'bearerAuth'
608
+ ]
609
+
610
+ return self.api_client.param_serialize(
611
+ method='GET',
612
+ resource_path='/customers/{customerId}/authorized-users/{authorizedUserId}',
613
+ path_params=_path_params,
614
+ query_params=_query_params,
615
+ header_params=_header_params,
616
+ body=_body_params,
617
+ post_params=_form_params,
618
+ files=_files,
619
+ auth_settings=_auth_settings,
620
+ collection_formats=_collection_formats,
621
+ _host=_host,
622
+ _request_auth=_request_auth
623
+ )
624
+
625
+
626
+
627
+
628
+ @validate_call
629
+ def list_authorized_users(
630
+ self,
631
+ customer_id: StrictStr,
632
+ filter_jwt_subject: Annotated[Optional[StrictStr], Field(description="Optional. Filter authorized users by JWT subject.")] = None,
633
+ filter_phone: Annotated[Optional[StrictStr], Field(description="Optional. Filter authorized users by phone.")] = None,
634
+ _request_timeout: Union[
635
+ None,
636
+ Annotated[StrictFloat, Field(gt=0)],
637
+ Tuple[
638
+ Annotated[StrictFloat, Field(gt=0)],
639
+ Annotated[StrictFloat, Field(gt=0)]
640
+ ]
641
+ ] = None,
642
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
643
+ _content_type: Optional[StrictStr] = None,
644
+ _headers: Optional[Dict[StrictStr, Any]] = None,
645
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
646
+ ) -> ListAuthorizedUsers200Response:
647
+ """List authorized users
648
+
649
+ List of authorized user resources. Filtering can be applied.
650
+
651
+ :param customer_id: (required)
652
+ :type customer_id: str
653
+ :param filter_jwt_subject: Optional. Filter authorized users by JWT subject.
654
+ :type filter_jwt_subject: str
655
+ :param filter_phone: Optional. Filter authorized users by phone.
656
+ :type filter_phone: str
657
+ :param _request_timeout: timeout setting for this request. If one
658
+ number provided, it will be total request
659
+ timeout. It can also be a pair (tuple) of
660
+ (connection, read) timeouts.
661
+ :type _request_timeout: int, tuple(int, int), optional
662
+ :param _request_auth: set to override the auth_settings for an a single
663
+ request; this effectively ignores the
664
+ authentication in the spec for a single request.
665
+ :type _request_auth: dict, optional
666
+ :param _content_type: force content-type for the request.
667
+ :type _content_type: str, Optional
668
+ :param _headers: set to override the headers for a single
669
+ request; this effectively ignores the headers
670
+ in the spec for a single request.
671
+ :type _headers: dict, optional
672
+ :param _host_index: set to override the host_index for a single
673
+ request; this effectively ignores the host_index
674
+ in the spec for a single request.
675
+ :type _host_index: int, optional
676
+ :return: Returns the result object.
677
+ """ # noqa: E501
678
+
679
+ _param = self._list_authorized_users_serialize(
680
+ customer_id=customer_id,
681
+ filter_jwt_subject=filter_jwt_subject,
682
+ filter_phone=filter_phone,
683
+ _request_auth=_request_auth,
684
+ _content_type=_content_type,
685
+ _headers=_headers,
686
+ _host_index=_host_index
687
+ )
688
+
689
+ _response_types_map: Dict[str, Optional[str]] = {
690
+ '200': "ListAuthorizedUsers200Response",
691
+ '400': "ErrorDocument",
692
+ '401': "ErrorDocument",
693
+ '404': "ErrorDocument",
694
+ }
695
+ response_data = self.api_client.call_api(
696
+ *_param,
697
+ _request_timeout=_request_timeout
698
+ )
699
+ response_data.read()
700
+ return self.api_client.response_deserialize(
701
+ response_data=response_data,
702
+ response_types_map=_response_types_map,
703
+ ).data
704
+
705
+
706
+ @validate_call
707
+ def list_authorized_users_with_http_info(
708
+ self,
709
+ customer_id: StrictStr,
710
+ filter_jwt_subject: Annotated[Optional[StrictStr], Field(description="Optional. Filter authorized users by JWT subject.")] = None,
711
+ filter_phone: Annotated[Optional[StrictStr], Field(description="Optional. Filter authorized users by phone.")] = None,
712
+ _request_timeout: Union[
713
+ None,
714
+ Annotated[StrictFloat, Field(gt=0)],
715
+ Tuple[
716
+ Annotated[StrictFloat, Field(gt=0)],
717
+ Annotated[StrictFloat, Field(gt=0)]
718
+ ]
719
+ ] = None,
720
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
721
+ _content_type: Optional[StrictStr] = None,
722
+ _headers: Optional[Dict[StrictStr, Any]] = None,
723
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
724
+ ) -> ApiResponse[ListAuthorizedUsers200Response]:
725
+ """List authorized users
726
+
727
+ List of authorized user resources. Filtering can be applied.
728
+
729
+ :param customer_id: (required)
730
+ :type customer_id: str
731
+ :param filter_jwt_subject: Optional. Filter authorized users by JWT subject.
732
+ :type filter_jwt_subject: str
733
+ :param filter_phone: Optional. Filter authorized users by phone.
734
+ :type filter_phone: str
735
+ :param _request_timeout: timeout setting for this request. If one
736
+ number provided, it will be total request
737
+ timeout. It can also be a pair (tuple) of
738
+ (connection, read) timeouts.
739
+ :type _request_timeout: int, tuple(int, int), optional
740
+ :param _request_auth: set to override the auth_settings for an a single
741
+ request; this effectively ignores the
742
+ authentication in the spec for a single request.
743
+ :type _request_auth: dict, optional
744
+ :param _content_type: force content-type for the request.
745
+ :type _content_type: str, Optional
746
+ :param _headers: set to override the headers for a single
747
+ request; this effectively ignores the headers
748
+ in the spec for a single request.
749
+ :type _headers: dict, optional
750
+ :param _host_index: set to override the host_index for a single
751
+ request; this effectively ignores the host_index
752
+ in the spec for a single request.
753
+ :type _host_index: int, optional
754
+ :return: Returns the result object.
755
+ """ # noqa: E501
756
+
757
+ _param = self._list_authorized_users_serialize(
758
+ customer_id=customer_id,
759
+ filter_jwt_subject=filter_jwt_subject,
760
+ filter_phone=filter_phone,
761
+ _request_auth=_request_auth,
762
+ _content_type=_content_type,
763
+ _headers=_headers,
764
+ _host_index=_host_index
765
+ )
766
+
767
+ _response_types_map: Dict[str, Optional[str]] = {
768
+ '200': "ListAuthorizedUsers200Response",
769
+ '400': "ErrorDocument",
770
+ '401': "ErrorDocument",
771
+ '404': "ErrorDocument",
772
+ }
773
+ response_data = self.api_client.call_api(
774
+ *_param,
775
+ _request_timeout=_request_timeout
776
+ )
777
+ response_data.read()
778
+ return self.api_client.response_deserialize(
779
+ response_data=response_data,
780
+ response_types_map=_response_types_map,
781
+ )
782
+
783
+
784
+ @validate_call
785
+ def list_authorized_users_without_preload_content(
786
+ self,
787
+ customer_id: StrictStr,
788
+ filter_jwt_subject: Annotated[Optional[StrictStr], Field(description="Optional. Filter authorized users by JWT subject.")] = None,
789
+ filter_phone: Annotated[Optional[StrictStr], Field(description="Optional. Filter authorized users by phone.")] = None,
790
+ _request_timeout: Union[
791
+ None,
792
+ Annotated[StrictFloat, Field(gt=0)],
793
+ Tuple[
794
+ Annotated[StrictFloat, Field(gt=0)],
795
+ Annotated[StrictFloat, Field(gt=0)]
796
+ ]
797
+ ] = None,
798
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
799
+ _content_type: Optional[StrictStr] = None,
800
+ _headers: Optional[Dict[StrictStr, Any]] = None,
801
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
802
+ ) -> RESTResponseType:
803
+ """List authorized users
804
+
805
+ List of authorized user resources. Filtering can be applied.
806
+
807
+ :param customer_id: (required)
808
+ :type customer_id: str
809
+ :param filter_jwt_subject: Optional. Filter authorized users by JWT subject.
810
+ :type filter_jwt_subject: str
811
+ :param filter_phone: Optional. Filter authorized users by phone.
812
+ :type filter_phone: str
813
+ :param _request_timeout: timeout setting for this request. If one
814
+ number provided, it will be total request
815
+ timeout. It can also be a pair (tuple) of
816
+ (connection, read) timeouts.
817
+ :type _request_timeout: int, tuple(int, int), optional
818
+ :param _request_auth: set to override the auth_settings for an a single
819
+ request; this effectively ignores the
820
+ authentication in the spec for a single request.
821
+ :type _request_auth: dict, optional
822
+ :param _content_type: force content-type for the request.
823
+ :type _content_type: str, Optional
824
+ :param _headers: set to override the headers for a single
825
+ request; this effectively ignores the headers
826
+ in the spec for a single request.
827
+ :type _headers: dict, optional
828
+ :param _host_index: set to override the host_index for a single
829
+ request; this effectively ignores the host_index
830
+ in the spec for a single request.
831
+ :type _host_index: int, optional
832
+ :return: Returns the result object.
833
+ """ # noqa: E501
834
+
835
+ _param = self._list_authorized_users_serialize(
836
+ customer_id=customer_id,
837
+ filter_jwt_subject=filter_jwt_subject,
838
+ filter_phone=filter_phone,
839
+ _request_auth=_request_auth,
840
+ _content_type=_content_type,
841
+ _headers=_headers,
842
+ _host_index=_host_index
843
+ )
844
+
845
+ _response_types_map: Dict[str, Optional[str]] = {
846
+ '200': "ListAuthorizedUsers200Response",
847
+ '400': "ErrorDocument",
848
+ '401': "ErrorDocument",
849
+ '404': "ErrorDocument",
850
+ }
851
+ response_data = self.api_client.call_api(
852
+ *_param,
853
+ _request_timeout=_request_timeout
854
+ )
855
+ return response_data.response
856
+
857
+
858
+ def _list_authorized_users_serialize(
859
+ self,
860
+ customer_id,
861
+ filter_jwt_subject,
862
+ filter_phone,
863
+ _request_auth,
864
+ _content_type,
865
+ _headers,
866
+ _host_index,
867
+ ) -> RequestSerialized:
868
+
869
+ _host = None
870
+
871
+ _collection_formats: Dict[str, str] = {
872
+ }
873
+
874
+ _path_params: Dict[str, str] = {}
875
+ _query_params: List[Tuple[str, str]] = []
876
+ _header_params: Dict[str, Optional[str]] = _headers or {}
877
+ _form_params: List[Tuple[str, str]] = []
878
+ _files: Dict[
879
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
880
+ ] = {}
881
+ _body_params: Optional[bytes] = None
882
+
883
+ # process the path parameters
884
+ if customer_id is not None:
885
+ _path_params['customerId'] = customer_id
886
+ # process the query parameters
887
+ if filter_jwt_subject is not None:
888
+
889
+ _query_params.append(('filter[jwtSubject]', filter_jwt_subject))
890
+
891
+ if filter_phone is not None:
892
+
893
+ _query_params.append(('filter[phone]', filter_phone))
894
+
895
+ # process the header parameters
896
+ # process the form parameters
897
+ # process the body parameter
898
+
899
+
900
+ # set the HTTP header `Accept`
901
+ if 'Accept' not in _header_params:
902
+ _header_params['Accept'] = self.api_client.select_header_accept(
903
+ [
904
+ 'application/vnd.api+json'
905
+ ]
906
+ )
907
+
908
+
909
+ # authentication setting
910
+ _auth_settings: List[str] = [
911
+ 'bearerAuth'
912
+ ]
913
+
914
+ return self.api_client.param_serialize(
915
+ method='GET',
916
+ resource_path='/customers/{customerId}/authorized-users',
917
+ path_params=_path_params,
918
+ query_params=_query_params,
919
+ header_params=_header_params,
920
+ body=_body_params,
921
+ post_params=_form_params,
922
+ files=_files,
923
+ auth_settings=_auth_settings,
924
+ collection_formats=_collection_formats,
925
+ _host=_host,
926
+ _request_auth=_request_auth
927
+ )
928
+
929
+
930
+
931
+
932
+ @validate_call
933
+ def remove_authorized_users(
934
+ self,
935
+ customer_id: StrictStr,
936
+ remove_authorized_users_request: RemoveAuthorizedUsersRequest,
937
+ _request_timeout: Union[
938
+ None,
939
+ Annotated[StrictFloat, Field(gt=0)],
940
+ Tuple[
941
+ Annotated[StrictFloat, Field(gt=0)],
942
+ Annotated[StrictFloat, Field(gt=0)]
943
+ ]
944
+ ] = None,
945
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
946
+ _content_type: Optional[StrictStr] = None,
947
+ _headers: Optional[Dict[StrictStr, Any]] = None,
948
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
949
+ ) -> UpdateCustomer200Response:
950
+ """Remove authorized users
951
+
952
+ Remove existing authorized users from a customer. The Customer Update webhook event will be fired.
953
+
954
+ :param customer_id: (required)
955
+ :type customer_id: str
956
+ :param remove_authorized_users_request: (required)
957
+ :type remove_authorized_users_request: RemoveAuthorizedUsersRequest
958
+ :param _request_timeout: timeout setting for this request. If one
959
+ number provided, it will be total request
960
+ timeout. It can also be a pair (tuple) of
961
+ (connection, read) timeouts.
962
+ :type _request_timeout: int, tuple(int, int), optional
963
+ :param _request_auth: set to override the auth_settings for an a single
964
+ request; this effectively ignores the
965
+ authentication in the spec for a single request.
966
+ :type _request_auth: dict, optional
967
+ :param _content_type: force content-type for the request.
968
+ :type _content_type: str, Optional
969
+ :param _headers: set to override the headers for a single
970
+ request; this effectively ignores the headers
971
+ in the spec for a single request.
972
+ :type _headers: dict, optional
973
+ :param _host_index: set to override the host_index for a single
974
+ request; this effectively ignores the host_index
975
+ in the spec for a single request.
976
+ :type _host_index: int, optional
977
+ :return: Returns the result object.
978
+ """ # noqa: E501
979
+
980
+ _param = self._remove_authorized_users_serialize(
981
+ customer_id=customer_id,
982
+ remove_authorized_users_request=remove_authorized_users_request,
983
+ _request_auth=_request_auth,
984
+ _content_type=_content_type,
985
+ _headers=_headers,
986
+ _host_index=_host_index
987
+ )
988
+
989
+ _response_types_map: Dict[str, Optional[str]] = {
990
+ '200': "UpdateCustomer200Response",
991
+ '400': "ErrorDocument",
992
+ '401': "ErrorDocument",
993
+ '404': "ErrorDocument",
994
+ }
995
+ response_data = self.api_client.call_api(
996
+ *_param,
997
+ _request_timeout=_request_timeout
998
+ )
999
+ response_data.read()
1000
+ return self.api_client.response_deserialize(
1001
+ response_data=response_data,
1002
+ response_types_map=_response_types_map,
1003
+ ).data
1004
+
1005
+
1006
+ @validate_call
1007
+ def remove_authorized_users_with_http_info(
1008
+ self,
1009
+ customer_id: StrictStr,
1010
+ remove_authorized_users_request: RemoveAuthorizedUsersRequest,
1011
+ _request_timeout: Union[
1012
+ None,
1013
+ Annotated[StrictFloat, Field(gt=0)],
1014
+ Tuple[
1015
+ Annotated[StrictFloat, Field(gt=0)],
1016
+ Annotated[StrictFloat, Field(gt=0)]
1017
+ ]
1018
+ ] = None,
1019
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1020
+ _content_type: Optional[StrictStr] = None,
1021
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1022
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1023
+ ) -> ApiResponse[UpdateCustomer200Response]:
1024
+ """Remove authorized users
1025
+
1026
+ Remove existing authorized users from a customer. The Customer Update webhook event will be fired.
1027
+
1028
+ :param customer_id: (required)
1029
+ :type customer_id: str
1030
+ :param remove_authorized_users_request: (required)
1031
+ :type remove_authorized_users_request: RemoveAuthorizedUsersRequest
1032
+ :param _request_timeout: timeout setting for this request. If one
1033
+ number provided, it will be total request
1034
+ timeout. It can also be a pair (tuple) of
1035
+ (connection, read) timeouts.
1036
+ :type _request_timeout: int, tuple(int, int), optional
1037
+ :param _request_auth: set to override the auth_settings for an a single
1038
+ request; this effectively ignores the
1039
+ authentication in the spec for a single request.
1040
+ :type _request_auth: dict, optional
1041
+ :param _content_type: force content-type for the request.
1042
+ :type _content_type: str, Optional
1043
+ :param _headers: set to override the headers for a single
1044
+ request; this effectively ignores the headers
1045
+ in the spec for a single request.
1046
+ :type _headers: dict, optional
1047
+ :param _host_index: set to override the host_index for a single
1048
+ request; this effectively ignores the host_index
1049
+ in the spec for a single request.
1050
+ :type _host_index: int, optional
1051
+ :return: Returns the result object.
1052
+ """ # noqa: E501
1053
+
1054
+ _param = self._remove_authorized_users_serialize(
1055
+ customer_id=customer_id,
1056
+ remove_authorized_users_request=remove_authorized_users_request,
1057
+ _request_auth=_request_auth,
1058
+ _content_type=_content_type,
1059
+ _headers=_headers,
1060
+ _host_index=_host_index
1061
+ )
1062
+
1063
+ _response_types_map: Dict[str, Optional[str]] = {
1064
+ '200': "UpdateCustomer200Response",
1065
+ '400': "ErrorDocument",
1066
+ '401': "ErrorDocument",
1067
+ '404': "ErrorDocument",
1068
+ }
1069
+ response_data = self.api_client.call_api(
1070
+ *_param,
1071
+ _request_timeout=_request_timeout
1072
+ )
1073
+ response_data.read()
1074
+ return self.api_client.response_deserialize(
1075
+ response_data=response_data,
1076
+ response_types_map=_response_types_map,
1077
+ )
1078
+
1079
+
1080
+ @validate_call
1081
+ def remove_authorized_users_without_preload_content(
1082
+ self,
1083
+ customer_id: StrictStr,
1084
+ remove_authorized_users_request: RemoveAuthorizedUsersRequest,
1085
+ _request_timeout: Union[
1086
+ None,
1087
+ Annotated[StrictFloat, Field(gt=0)],
1088
+ Tuple[
1089
+ Annotated[StrictFloat, Field(gt=0)],
1090
+ Annotated[StrictFloat, Field(gt=0)]
1091
+ ]
1092
+ ] = None,
1093
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1094
+ _content_type: Optional[StrictStr] = None,
1095
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1096
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1097
+ ) -> RESTResponseType:
1098
+ """Remove authorized users
1099
+
1100
+ Remove existing authorized users from a customer. The Customer Update webhook event will be fired.
1101
+
1102
+ :param customer_id: (required)
1103
+ :type customer_id: str
1104
+ :param remove_authorized_users_request: (required)
1105
+ :type remove_authorized_users_request: RemoveAuthorizedUsersRequest
1106
+ :param _request_timeout: timeout setting for this request. If one
1107
+ number provided, it will be total request
1108
+ timeout. It can also be a pair (tuple) of
1109
+ (connection, read) timeouts.
1110
+ :type _request_timeout: int, tuple(int, int), optional
1111
+ :param _request_auth: set to override the auth_settings for an a single
1112
+ request; this effectively ignores the
1113
+ authentication in the spec for a single request.
1114
+ :type _request_auth: dict, optional
1115
+ :param _content_type: force content-type for the request.
1116
+ :type _content_type: str, Optional
1117
+ :param _headers: set to override the headers for a single
1118
+ request; this effectively ignores the headers
1119
+ in the spec for a single request.
1120
+ :type _headers: dict, optional
1121
+ :param _host_index: set to override the host_index for a single
1122
+ request; this effectively ignores the host_index
1123
+ in the spec for a single request.
1124
+ :type _host_index: int, optional
1125
+ :return: Returns the result object.
1126
+ """ # noqa: E501
1127
+
1128
+ _param = self._remove_authorized_users_serialize(
1129
+ customer_id=customer_id,
1130
+ remove_authorized_users_request=remove_authorized_users_request,
1131
+ _request_auth=_request_auth,
1132
+ _content_type=_content_type,
1133
+ _headers=_headers,
1134
+ _host_index=_host_index
1135
+ )
1136
+
1137
+ _response_types_map: Dict[str, Optional[str]] = {
1138
+ '200': "UpdateCustomer200Response",
1139
+ '400': "ErrorDocument",
1140
+ '401': "ErrorDocument",
1141
+ '404': "ErrorDocument",
1142
+ }
1143
+ response_data = self.api_client.call_api(
1144
+ *_param,
1145
+ _request_timeout=_request_timeout
1146
+ )
1147
+ return response_data.response
1148
+
1149
+
1150
+ def _remove_authorized_users_serialize(
1151
+ self,
1152
+ customer_id,
1153
+ remove_authorized_users_request,
1154
+ _request_auth,
1155
+ _content_type,
1156
+ _headers,
1157
+ _host_index,
1158
+ ) -> RequestSerialized:
1159
+
1160
+ _host = None
1161
+
1162
+ _collection_formats: Dict[str, str] = {
1163
+ }
1164
+
1165
+ _path_params: Dict[str, str] = {}
1166
+ _query_params: List[Tuple[str, str]] = []
1167
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1168
+ _form_params: List[Tuple[str, str]] = []
1169
+ _files: Dict[
1170
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1171
+ ] = {}
1172
+ _body_params: Optional[bytes] = None
1173
+
1174
+ # process the path parameters
1175
+ if customer_id is not None:
1176
+ _path_params['customerId'] = customer_id
1177
+ # process the query parameters
1178
+ # process the header parameters
1179
+ # process the form parameters
1180
+ # process the body parameter
1181
+ if remove_authorized_users_request is not None:
1182
+ _body_params = remove_authorized_users_request
1183
+
1184
+
1185
+ # set the HTTP header `Accept`
1186
+ if 'Accept' not in _header_params:
1187
+ _header_params['Accept'] = self.api_client.select_header_accept(
1188
+ [
1189
+ 'application/vnd.api+json'
1190
+ ]
1191
+ )
1192
+
1193
+ # set the HTTP header `Content-Type`
1194
+ if _content_type:
1195
+ _header_params['Content-Type'] = _content_type
1196
+ else:
1197
+ _default_content_type = (
1198
+ self.api_client.select_header_content_type(
1199
+ [
1200
+ 'application/vnd.api+json'
1201
+ ]
1202
+ )
1203
+ )
1204
+ if _default_content_type is not None:
1205
+ _header_params['Content-Type'] = _default_content_type
1206
+
1207
+ # authentication setting
1208
+ _auth_settings: List[str] = [
1209
+ 'bearerAuth'
1210
+ ]
1211
+
1212
+ return self.api_client.param_serialize(
1213
+ method='DELETE',
1214
+ resource_path='/customers/{customerId}/authorized-users',
1215
+ path_params=_path_params,
1216
+ query_params=_query_params,
1217
+ header_params=_header_params,
1218
+ body=_body_params,
1219
+ post_params=_form_params,
1220
+ files=_files,
1221
+ auth_settings=_auth_settings,
1222
+ collection_formats=_collection_formats,
1223
+ _host=_host,
1224
+ _request_auth=_request_auth
1225
+ )
1226
+
1227
+