kard-financial-sdk 0.0.78938__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (507) hide show
  1. kard_financial_sdk-0.0.78938/PKG-INFO +281 -0
  2. kard_financial_sdk-0.0.78938/README.md +253 -0
  3. kard_financial_sdk-0.0.78938/pyproject.toml +86 -0
  4. kard_financial_sdk-0.0.78938/src/kard/__init__.py +1152 -0
  5. kard_financial_sdk-0.0.78938/src/kard/attributions/__init__.py +112 -0
  6. kard_financial_sdk-0.0.78938/src/kard/attributions/client.py +359 -0
  7. kard_financial_sdk-0.0.78938/src/kard/attributions/raw_client.py +406 -0
  8. kard_financial_sdk-0.0.78938/src/kard/attributions/types/__init__.py +114 -0
  9. kard_financial_sdk-0.0.78938/src/kard/attributions/types/create_attribution_response.py +38 -0
  10. kard_financial_sdk-0.0.78938/src/kard/attributions/types/internal_api_attribution.py +47 -0
  11. kard_financial_sdk-0.0.78938/src/kard/attributions/types/internal_api_notification_attribution.py +24 -0
  12. kard_financial_sdk-0.0.78938/src/kard/attributions/types/internal_api_notification_attribution_attributes.py +37 -0
  13. kard_financial_sdk-0.0.78938/src/kard/attributions/types/internal_api_offer_attribution.py +24 -0
  14. kard_financial_sdk-0.0.78938/src/kard/attributions/types/internal_api_offer_attribution_attributes.py +37 -0
  15. kard_financial_sdk-0.0.78938/src/kard/attributions/types/internal_attribution.py +45 -0
  16. kard_financial_sdk-0.0.78938/src/kard/attributions/types/internal_attribution_message.py +30 -0
  17. kard_financial_sdk-0.0.78938/src/kard/attributions/types/internal_attribution_message_metadata.py +24 -0
  18. kard_financial_sdk-0.0.78938/src/kard/attributions/types/internal_attribution_type.py +5 -0
  19. kard_financial_sdk-0.0.78938/src/kard/attributions/types/internal_bulk_create_attributions_request.py +20 -0
  20. kard_financial_sdk-0.0.78938/src/kard/attributions/types/internal_bulk_create_attributions_response.py +20 -0
  21. kard_financial_sdk-0.0.78938/src/kard/attributions/types/internal_bulk_create_response_metadata.py +24 -0
  22. kard_financial_sdk-0.0.78938/src/kard/attributions/types/internal_event_code.py +5 -0
  23. kard_financial_sdk-0.0.78938/src/kard/attributions/types/internal_get_attributions_response.py +22 -0
  24. kard_financial_sdk-0.0.78938/src/kard/attributions/types/internal_notification_attribution.py +20 -0
  25. kard_financial_sdk-0.0.78938/src/kard/attributions/types/internal_notification_attribution_attributes.py +35 -0
  26. kard_financial_sdk-0.0.78938/src/kard/attributions/types/internal_notification_medium.py +5 -0
  27. kard_financial_sdk-0.0.78938/src/kard/attributions/types/internal_offer_attribution.py +20 -0
  28. kard_financial_sdk-0.0.78938/src/kard/attributions/types/internal_offer_attribution_attributes.py +35 -0
  29. kard_financial_sdk-0.0.78938/src/kard/attributions/types/internal_offer_medium.py +5 -0
  30. kard_financial_sdk-0.0.78938/src/kard/audit/__init__.py +64 -0
  31. kard_financial_sdk-0.0.78938/src/kard/audit/types/__init__.py +60 -0
  32. kard_financial_sdk-0.0.78938/src/kard/audit/types/audit_audit_event.py +21 -0
  33. kard_financial_sdk-0.0.78938/src/kard/audit/types/author.py +73 -0
  34. kard_financial_sdk-0.0.78938/src/kard/audit/types/process_events_request.py +22 -0
  35. kard_financial_sdk-0.0.78938/src/kard/audit/types/process_sns_event_response.py +20 -0
  36. kard_financial_sdk-0.0.78938/src/kard/audit/types/sns_event_message.py +28 -0
  37. kard_financial_sdk-0.0.78938/src/kard/audit/types/system_author.py +29 -0
  38. kard_financial_sdk-0.0.78938/src/kard/audit/types/user_author.py +22 -0
  39. kard_financial_sdk-0.0.78938/src/kard/auth/__init__.py +34 -0
  40. kard_financial_sdk-0.0.78938/src/kard/auth/client.py +121 -0
  41. kard_financial_sdk-0.0.78938/src/kard/auth/raw_client.py +108 -0
  42. kard_financial_sdk-0.0.78938/src/kard/auth/types/__init__.py +34 -0
  43. kard_financial_sdk-0.0.78938/src/kard/auth/types/token_response.py +25 -0
  44. kard_financial_sdk-0.0.78938/src/kard/billing_agent/__init__.py +70 -0
  45. kard_financial_sdk-0.0.78938/src/kard/billing_agent/client.py +853 -0
  46. kard_financial_sdk-0.0.78938/src/kard/billing_agent/raw_client.py +1243 -0
  47. kard_financial_sdk-0.0.78938/src/kard/billing_agent/types/__init__.py +68 -0
  48. kard_financial_sdk-0.0.78938/src/kard/billing_agent/types/billing_issuer_matched_transaction.py +86 -0
  49. kard_financial_sdk-0.0.78938/src/kard/billing_agent/types/create_issuer_reward_request_body.py +43 -0
  50. kard_financial_sdk-0.0.78938/src/kard/billing_agent/types/create_issuer_reward_response_object.py +78 -0
  51. kard_financial_sdk-0.0.78938/src/kard/billing_agent/types/eom_update_payload.py +29 -0
  52. kard_financial_sdk-0.0.78938/src/kard/billing_agent/types/eom_updates_request_body.py +20 -0
  53. kard_financial_sdk-0.0.78938/src/kard/billing_agent/types/get_issuer_matched_transaction_info_response_object.py +48 -0
  54. kard_financial_sdk-0.0.78938/src/kard/billing_agent/types/get_issuer_reward_response_object.py +78 -0
  55. kard_financial_sdk-0.0.78938/src/kard/billing_agent/types/get_issuer_rewards_response_object.py +80 -0
  56. kard_financial_sdk-0.0.78938/src/kard/billing_agent/types/revert_issuer_reward_response_object.py +78 -0
  57. kard_financial_sdk-0.0.78938/src/kard/billing_agent/types/update_matched_transaction_payload.py +46 -0
  58. kard_financial_sdk-0.0.78938/src/kard/billing_agent/types/update_matched_transaction_request_body.py +37 -0
  59. kard_financial_sdk-0.0.78938/src/kard/billing_commons/__init__.py +64 -0
  60. kard_financial_sdk-0.0.78938/src/kard/billing_commons/types/__init__.py +62 -0
  61. kard_financial_sdk-0.0.78938/src/kard/billing_commons/types/merchant_id.py +7 -0
  62. kard_financial_sdk-0.0.78938/src/kard/billing_commons/types/offer_id.py +7 -0
  63. kard_financial_sdk-0.0.78938/src/kard/billing_commons/types/reward.py +156 -0
  64. kard_financial_sdk-0.0.78938/src/kard/billing_commons/types/reward_entry.py +70 -0
  65. kard_financial_sdk-0.0.78938/src/kard/billing_commons/types/reward_entry_full.py +133 -0
  66. kard_financial_sdk-0.0.78938/src/kard/billing_commons/types/reward_id.py +12 -0
  67. kard_financial_sdk-0.0.78938/src/kard/billing_commons/types/reward_type.py +5 -0
  68. kard_financial_sdk-0.0.78938/src/kard/billing_commons/types/rewards_filter_options.py +48 -0
  69. kard_financial_sdk-0.0.78938/src/kard/billing_commons/types/transaction_id.py +7 -0
  70. kard_financial_sdk-0.0.78938/src/kard/billing_service/__init__.py +76 -0
  71. kard_financial_sdk-0.0.78938/src/kard/billing_service/client.py +934 -0
  72. kard_financial_sdk-0.0.78938/src/kard/billing_service/raw_client.py +1562 -0
  73. kard_financial_sdk-0.0.78938/src/kard/billing_service/types/__init__.py +74 -0
  74. kard_financial_sdk-0.0.78938/src/kard/billing_service/types/create_reward_request_body.py +57 -0
  75. kard_financial_sdk-0.0.78938/src/kard/billing_service/types/create_reward_response_object.py +78 -0
  76. kard_financial_sdk-0.0.78938/src/kard/billing_service/types/get_reward_entries_response_object.py +64 -0
  77. kard_financial_sdk-0.0.78938/src/kard/billing_service/types/get_reward_response_object.py +78 -0
  78. kard_financial_sdk-0.0.78938/src/kard/billing_service/types/get_rewards_response_object.py +87 -0
  79. kard_financial_sdk-0.0.78938/src/kard/billing_service/types/invoice_status_file.py +31 -0
  80. kard_financial_sdk-0.0.78938/src/kard/billing_service/types/invoice_status_file_response_object.py +36 -0
  81. kard_financial_sdk-0.0.78938/src/kard/billing_service/types/revert_rewards_response_object.py +32 -0
  82. kard_financial_sdk-0.0.78938/src/kard/billing_service/types/revert_rewards_stats.py +29 -0
  83. kard_financial_sdk-0.0.78938/src/kard/billing_service/types/trigger_merchant_invoice_request_body.py +55 -0
  84. kard_financial_sdk-0.0.78938/src/kard/billing_service/types/trigger_merchant_invoice_response_object.py +31 -0
  85. kard_financial_sdk-0.0.78938/src/kard/billing_service/types/update_reward_request_body.py +52 -0
  86. kard_financial_sdk-0.0.78938/src/kard/billing_service/types/update_reward_response_object.py +78 -0
  87. kard_financial_sdk-0.0.78938/src/kard/client.py +587 -0
  88. kard_financial_sdk-0.0.78938/src/kard/commons/__init__.py +174 -0
  89. kard_financial_sdk-0.0.78938/src/kard/commons/errors/__init__.py +44 -0
  90. kard_financial_sdk-0.0.78938/src/kard/commons/errors/conflict_error.py +11 -0
  91. kard_financial_sdk-0.0.78938/src/kard/commons/errors/does_not_exist_error.py +11 -0
  92. kard_financial_sdk-0.0.78938/src/kard/commons/errors/internal_server_error.py +11 -0
  93. kard_financial_sdk-0.0.78938/src/kard/commons/errors/invalid_request.py +11 -0
  94. kard_financial_sdk-0.0.78938/src/kard/commons/errors/unauthorized_error.py +11 -0
  95. kard_financial_sdk-0.0.78938/src/kard/commons/types/__init__.py +159 -0
  96. kard_financial_sdk-0.0.78938/src/kard/commons/types/address.py +25 -0
  97. kard_financial_sdk-0.0.78938/src/kard/commons/types/audit_event.py +67 -0
  98. kard_financial_sdk-0.0.78938/src/kard/commons/types/audit_event_author.py +75 -0
  99. kard_financial_sdk-0.0.78938/src/kard/commons/types/audit_event_entity_type.py +5 -0
  100. kard_financial_sdk-0.0.78938/src/kard/commons/types/audit_event_meta_properties.py +30 -0
  101. kard_financial_sdk-0.0.78938/src/kard/commons/types/audit_event_operation_type.py +5 -0
  102. kard_financial_sdk-0.0.78938/src/kard/commons/types/audit_event_system_author.py +29 -0
  103. kard_financial_sdk-0.0.78938/src/kard/commons/types/audit_event_user_author.py +22 -0
  104. kard_financial_sdk-0.0.78938/src/kard/commons/types/category_option.py +26 -0
  105. kard_financial_sdk-0.0.78938/src/kard/commons/types/commission_type.py +5 -0
  106. kard_financial_sdk-0.0.78938/src/kard/commons/types/commission_value.py +28 -0
  107. kard_financial_sdk-0.0.78938/src/kard/commons/types/commission_value_type.py +5 -0
  108. kard_financial_sdk-0.0.78938/src/kard/commons/types/empty_object.py +17 -0
  109. kard_financial_sdk-0.0.78938/src/kard/commons/types/enrolled_rewards_type.py +5 -0
  110. kard_financial_sdk-0.0.78938/src/kard/commons/types/error_object.py +43 -0
  111. kard_financial_sdk-0.0.78938/src/kard/commons/types/error_response.py +20 -0
  112. kard_financial_sdk-0.0.78938/src/kard/commons/types/error_source.py +32 -0
  113. kard_financial_sdk-0.0.78938/src/kard/commons/types/geo_location.py +27 -0
  114. kard_financial_sdk-0.0.78938/src/kard/commons/types/issuer_id.py +3 -0
  115. kard_financial_sdk-0.0.78938/src/kard/commons/types/job.py +24 -0
  116. kard_financial_sdk-0.0.78938/src/kard/commons/types/job_response.py +27 -0
  117. kard_financial_sdk-0.0.78938/src/kard/commons/types/job_status.py +5 -0
  118. kard_financial_sdk-0.0.78938/src/kard/commons/types/links.py +27 -0
  119. kard_financial_sdk-0.0.78938/src/kard/commons/types/location_type.py +5 -0
  120. kard_financial_sdk-0.0.78938/src/kard/commons/types/mongo_id.py +3 -0
  121. kard_financial_sdk-0.0.78938/src/kard/commons/types/notification_type.py +19 -0
  122. kard_financial_sdk-0.0.78938/src/kard/commons/types/operating_hours.py +27 -0
  123. kard_financial_sdk-0.0.78938/src/kard/commons/types/organization_id.py +3 -0
  124. kard_financial_sdk-0.0.78938/src/kard/commons/types/page.py +44 -0
  125. kard_financial_sdk-0.0.78938/src/kard/commons/types/partially_accepted_data.py +23 -0
  126. kard_financial_sdk-0.0.78938/src/kard/commons/types/purchase_channel.py +5 -0
  127. kard_financial_sdk-0.0.78938/src/kard/commons/types/relationship_data.py +24 -0
  128. kard_financial_sdk-0.0.78938/src/kard/commons/types/relationship_multiple.py +20 -0
  129. kard_financial_sdk-0.0.78938/src/kard/commons/types/relationship_single.py +20 -0
  130. kard_financial_sdk-0.0.78938/src/kard/commons/types/resource_type.py +3 -0
  131. kard_financial_sdk-0.0.78938/src/kard/commons/types/sort_order.py +5 -0
  132. kard_financial_sdk-0.0.78938/src/kard/commons/types/source.py +5 -0
  133. kard_financial_sdk-0.0.78938/src/kard/commons/types/state.py +68 -0
  134. kard_financial_sdk-0.0.78938/src/kard/commons/types/subscription_id.py +3 -0
  135. kard_financial_sdk-0.0.78938/src/kard/commons/types/user_id.py +3 -0
  136. kard_financial_sdk-0.0.78938/src/kard/core/__init__.py +105 -0
  137. kard_financial_sdk-0.0.78938/src/kard/core/api_error.py +23 -0
  138. kard_financial_sdk-0.0.78938/src/kard/core/client_wrapper.py +97 -0
  139. kard_financial_sdk-0.0.78938/src/kard/core/datetime_utils.py +28 -0
  140. kard_financial_sdk-0.0.78938/src/kard/core/file.py +67 -0
  141. kard_financial_sdk-0.0.78938/src/kard/core/force_multipart.py +18 -0
  142. kard_financial_sdk-0.0.78938/src/kard/core/http_client.py +613 -0
  143. kard_financial_sdk-0.0.78938/src/kard/core/http_response.py +55 -0
  144. kard_financial_sdk-0.0.78938/src/kard/core/http_sse/__init__.py +42 -0
  145. kard_financial_sdk-0.0.78938/src/kard/core/http_sse/_api.py +112 -0
  146. kard_financial_sdk-0.0.78938/src/kard/core/http_sse/_decoders.py +61 -0
  147. kard_financial_sdk-0.0.78938/src/kard/core/http_sse/_exceptions.py +7 -0
  148. kard_financial_sdk-0.0.78938/src/kard/core/http_sse/_models.py +17 -0
  149. kard_financial_sdk-0.0.78938/src/kard/core/jsonable_encoder.py +100 -0
  150. kard_financial_sdk-0.0.78938/src/kard/core/oauth_token_provider.py +73 -0
  151. kard_financial_sdk-0.0.78938/src/kard/core/pydantic_utilities.py +260 -0
  152. kard_financial_sdk-0.0.78938/src/kard/core/query_encoder.py +58 -0
  153. kard_financial_sdk-0.0.78938/src/kard/core/remove_none_from_dict.py +11 -0
  154. kard_financial_sdk-0.0.78938/src/kard/core/request_options.py +35 -0
  155. kard_financial_sdk-0.0.78938/src/kard/core/serialization.py +276 -0
  156. kard_financial_sdk-0.0.78938/src/kard/eligibility_broker/__init__.py +55 -0
  157. kard_financial_sdk-0.0.78938/src/kard/eligibility_broker/client.py +156 -0
  158. kard_financial_sdk-0.0.78938/src/kard/eligibility_broker/raw_client.py +196 -0
  159. kard_financial_sdk-0.0.78938/src/kard/eligibility_broker/types/__init__.py +52 -0
  160. kard_financial_sdk-0.0.78938/src/kard/eligibility_broker/types/ingest_request_body.py +53 -0
  161. kard_financial_sdk-0.0.78938/src/kard/eligibility_broker/types/ingestion_event_status.py +5 -0
  162. kard_financial_sdk-0.0.78938/src/kard/eligibility_broker/types/ingestion_events.py +26 -0
  163. kard_financial_sdk-0.0.78938/src/kard/eligibility_broker/types/segmentation_ingestion_event.py +20 -0
  164. kard_financial_sdk-0.0.78938/src/kard/eligibility_broker/types/segmentation_ingestion_event_attributes.py +46 -0
  165. kard_financial_sdk-0.0.78938/src/kard/environment.py +8 -0
  166. kard_financial_sdk-0.0.78938/src/kard/experiments/__init__.py +85 -0
  167. kard_financial_sdk-0.0.78938/src/kard/experiments/client.py +823 -0
  168. kard_financial_sdk-0.0.78938/src/kard/experiments/raw_client.py +1514 -0
  169. kard_financial_sdk-0.0.78938/src/kard/experiments/types/__init__.py +83 -0
  170. kard_financial_sdk-0.0.78938/src/kard/experiments/types/experiment.py +22 -0
  171. kard_financial_sdk-0.0.78938/src/kard/experiments/types/experiment_id.py +5 -0
  172. kard_financial_sdk-0.0.78938/src/kard/experiments/types/experiment_request.py +33 -0
  173. kard_financial_sdk-0.0.78938/src/kard/experiments/types/experiment_response.py +48 -0
  174. kard_financial_sdk-0.0.78938/src/kard/experiments/types/list_experiments_filter.py +53 -0
  175. kard_financial_sdk-0.0.78938/src/kard/experiments/types/list_experiments_response.py +74 -0
  176. kard_financial_sdk-0.0.78938/src/kard/experiments/types/list_experiments_sort.py +24 -0
  177. kard_financial_sdk-0.0.78938/src/kard/experiments/types/list_offer_links_response.py +73 -0
  178. kard_financial_sdk-0.0.78938/src/kard/experiments/types/offer_link_base.py +22 -0
  179. kard_financial_sdk-0.0.78938/src/kard/experiments/types/offer_link_completed.py +39 -0
  180. kard_financial_sdk-0.0.78938/src/kard/experiments/types/offer_link_draft.py +41 -0
  181. kard_financial_sdk-0.0.78938/src/kard/experiments/types/offer_link_id.py +5 -0
  182. kard_financial_sdk-0.0.78938/src/kard/experiments/types/offer_link_request.py +38 -0
  183. kard_financial_sdk-0.0.78938/src/kard/experiments/types/offer_link_response.py +52 -0
  184. kard_financial_sdk-0.0.78938/src/kard/experiments/types/offer_link_union.py +8 -0
  185. kard_financial_sdk-0.0.78938/src/kard/experiments/types/timestamps.py +30 -0
  186. kard_financial_sdk-0.0.78938/src/kard/files/__init__.py +70 -0
  187. kard_financial_sdk-0.0.78938/src/kard/files/client.py +384 -0
  188. kard_financial_sdk-0.0.78938/src/kard/files/errors/__init__.py +34 -0
  189. kard_financial_sdk-0.0.78938/src/kard/files/errors/forbidden_error.py +11 -0
  190. kard_financial_sdk-0.0.78938/src/kard/files/raw_client.py +448 -0
  191. kard_financial_sdk-0.0.78938/src/kard/files/types/__init__.py +65 -0
  192. kard_financial_sdk-0.0.78938/src/kard/files/types/file_metadata_attribute.py +39 -0
  193. kard_financial_sdk-0.0.78938/src/kard/files/types/file_metadata_attributes_resource.py +24 -0
  194. kard_financial_sdk-0.0.78938/src/kard/files/types/file_metadata_resource.py +25 -0
  195. kard_financial_sdk-0.0.78938/src/kard/files/types/file_metadata_with_url.py +34 -0
  196. kard_financial_sdk-0.0.78938/src/kard/files/types/file_type.py +13 -0
  197. kard_financial_sdk-0.0.78938/src/kard/files/types/files_metadata_sort_options.py +5 -0
  198. kard_financial_sdk-0.0.78938/src/kard/files/types/get_files_metadata_response.py +71 -0
  199. kard_financial_sdk-0.0.78938/src/kard/files/types/pagination_meta.py +29 -0
  200. kard_financial_sdk-0.0.78938/src/kard/files/types/save_files_metadata_request.py +20 -0
  201. kard_financial_sdk-0.0.78938/src/kard/files/types/save_files_metadata_response_object.py +19 -0
  202. kard_financial_sdk-0.0.78938/src/kard/notifications/__init__.py +297 -0
  203. kard_financial_sdk-0.0.78938/src/kard/notifications/client.py +63 -0
  204. kard_financial_sdk-0.0.78938/src/kard/notifications/raw_client.py +13 -0
  205. kard_financial_sdk-0.0.78938/src/kard/notifications/subscriptions/__init__.py +97 -0
  206. kard_financial_sdk-0.0.78938/src/kard/notifications/subscriptions/client.py +372 -0
  207. kard_financial_sdk-0.0.78938/src/kard/notifications/subscriptions/raw_client.py +581 -0
  208. kard_financial_sdk-0.0.78938/src/kard/notifications/subscriptions/types/__init__.py +94 -0
  209. kard_financial_sdk-0.0.78938/src/kard/notifications/subscriptions/types/create_subscription_union.py +27 -0
  210. kard_financial_sdk-0.0.78938/src/kard/notifications/subscriptions/types/create_subscriptions_response_object.py +43 -0
  211. kard_financial_sdk-0.0.78938/src/kard/notifications/subscriptions/types/created_subscription.py +23 -0
  212. kard_financial_sdk-0.0.78938/src/kard/notifications/subscriptions/types/subscription.py +25 -0
  213. kard_financial_sdk-0.0.78938/src/kard/notifications/subscriptions/types/subscription_attributes.py +35 -0
  214. kard_financial_sdk-0.0.78938/src/kard/notifications/subscriptions/types/subscription_request.py +20 -0
  215. kard_financial_sdk-0.0.78938/src/kard/notifications/subscriptions/types/subscription_request_attributes.py +35 -0
  216. kard_financial_sdk-0.0.78938/src/kard/notifications/subscriptions/types/subscription_request_body.py +42 -0
  217. kard_financial_sdk-0.0.78938/src/kard/notifications/subscriptions/types/subscription_request_union.py +26 -0
  218. kard_financial_sdk-0.0.78938/src/kard/notifications/subscriptions/types/subscription_union.py +27 -0
  219. kard_financial_sdk-0.0.78938/src/kard/notifications/subscriptions/types/subscriptions_response_object.py +43 -0
  220. kard_financial_sdk-0.0.78938/src/kard/notifications/subscriptions/types/update_subscription_request.py +20 -0
  221. kard_financial_sdk-0.0.78938/src/kard/notifications/subscriptions/types/update_subscription_request_attributes.py +39 -0
  222. kard_financial_sdk-0.0.78938/src/kard/notifications/subscriptions/types/update_subscription_request_body.py +40 -0
  223. kard_financial_sdk-0.0.78938/src/kard/notifications/subscriptions/types/update_subscription_request_union.py +26 -0
  224. kard_financial_sdk-0.0.78938/src/kard/notifications/subscriptions/types/update_subscriptions_response_object.py +41 -0
  225. kard_financial_sdk-0.0.78938/src/kard/notifications/types/__init__.py +231 -0
  226. kard_financial_sdk-0.0.78938/src/kard/notifications/types/audit_update_attributes.py +88 -0
  227. kard_financial_sdk-0.0.78938/src/kard/notifications/types/audit_update_data.py +27 -0
  228. kard_financial_sdk-0.0.78938/src/kard/notifications/types/audit_update_relationships.py +21 -0
  229. kard_financial_sdk-0.0.78938/src/kard/notifications/types/broker_amount.py +28 -0
  230. kard_financial_sdk-0.0.78938/src/kard/notifications/types/broker_amount_type.py +5 -0
  231. kard_financial_sdk-0.0.78938/src/kard/notifications/types/broker_asset.py +33 -0
  232. kard_financial_sdk-0.0.78938/src/kard/notifications/types/broker_asset_type.py +5 -0
  233. kard_financial_sdk-0.0.78938/src/kard/notifications/types/broker_operation_hours.py +30 -0
  234. kard_financial_sdk-0.0.78938/src/kard/notifications/types/broker_operation_period.py +28 -0
  235. kard_financial_sdk-0.0.78938/src/kard/notifications/types/broker_purchase_channel.py +5 -0
  236. kard_financial_sdk-0.0.78938/src/kard/notifications/types/broker_reward.py +28 -0
  237. kard_financial_sdk-0.0.78938/src/kard/notifications/types/broker_reward_type.py +5 -0
  238. kard_financial_sdk-0.0.78938/src/kard/notifications/types/clawback_data.py +27 -0
  239. kard_financial_sdk-0.0.78938/src/kard/notifications/types/earned_reward_approved_data.py +27 -0
  240. kard_financial_sdk-0.0.78938/src/kard/notifications/types/earned_reward_attributes.py +18 -0
  241. kard_financial_sdk-0.0.78938/src/kard/notifications/types/earned_reward_relationships.py +21 -0
  242. kard_financial_sdk-0.0.78938/src/kard/notifications/types/earned_reward_settled_attributes.py +23 -0
  243. kard_financial_sdk-0.0.78938/src/kard/notifications/types/earned_reward_settled_data.py +27 -0
  244. kard_financial_sdk-0.0.78938/src/kard/notifications/types/failed_transaction_attributes.py +41 -0
  245. kard_financial_sdk-0.0.78938/src/kard/notifications/types/failed_transaction_data.py +27 -0
  246. kard_financial_sdk-0.0.78938/src/kard/notifications/types/failed_transaction_relationships.py +22 -0
  247. kard_financial_sdk-0.0.78938/src/kard/notifications/types/location_address.py +39 -0
  248. kard_financial_sdk-0.0.78938/src/kard/notifications/types/location_coordinates.py +27 -0
  249. kard_financial_sdk-0.0.78938/src/kard/notifications/types/location_status.py +5 -0
  250. kard_financial_sdk-0.0.78938/src/kard/notifications/types/merchant_source.py +5 -0
  251. kard_financial_sdk-0.0.78938/src/kard/notifications/types/merchant_status.py +5 -0
  252. kard_financial_sdk-0.0.78938/src/kard/notifications/types/notification.py +25 -0
  253. kard_financial_sdk-0.0.78938/src/kard/notifications/types/notification_attributes.py +60 -0
  254. kard_financial_sdk-0.0.78938/src/kard/notifications/types/notification_data_union.py +203 -0
  255. kard_financial_sdk-0.0.78938/src/kard/notifications/types/notification_metadata.py +22 -0
  256. kard_financial_sdk-0.0.78938/src/kard/notifications/types/notification_payload.py +65 -0
  257. kard_financial_sdk-0.0.78938/src/kard/notifications/types/notification_union.py +27 -0
  258. kard_financial_sdk-0.0.78938/src/kard/notifications/types/notifications_response_object.py +80 -0
  259. kard_financial_sdk-0.0.78938/src/kard/notifications/types/offer_status.py +5 -0
  260. kard_financial_sdk-0.0.78938/src/kard/notifications/types/offer_type.py +5 -0
  261. kard_financial_sdk-0.0.78938/src/kard/notifications/types/reward_notification_attributes.py +48 -0
  262. kard_financial_sdk-0.0.78938/src/kard/notifications/types/time_period.py +27 -0
  263. kard_financial_sdk-0.0.78938/src/kard/notifications/types/transaction_relationships.py +22 -0
  264. kard_financial_sdk-0.0.78938/src/kard/notifications/types/user_offer_status.py +5 -0
  265. kard_financial_sdk-0.0.78938/src/kard/notifications/types/valid_transaction_attributes.py +25 -0
  266. kard_financial_sdk-0.0.78938/src/kard/notifications/types/valid_transaction_commission_earned.py +21 -0
  267. kard_financial_sdk-0.0.78938/src/kard/notifications/types/valid_transaction_data.py +27 -0
  268. kard_financial_sdk-0.0.78938/src/kard/notifications/types/webhook_locations_attributes.py +71 -0
  269. kard_financial_sdk-0.0.78938/src/kard/notifications/types/webhook_locations_data.py +27 -0
  270. kard_financial_sdk-0.0.78938/src/kard/notifications/types/webhook_locations_relationships.py +20 -0
  271. kard_financial_sdk-0.0.78938/src/kard/notifications/types/webhook_merchant_attributes.py +67 -0
  272. kard_financial_sdk-0.0.78938/src/kard/notifications/types/webhook_merchant_data.py +27 -0
  273. kard_financial_sdk-0.0.78938/src/kard/notifications/types/webhook_merchant_relationships.py +20 -0
  274. kard_financial_sdk-0.0.78938/src/kard/notifications/types/webhook_offer_attributes.py +143 -0
  275. kard_financial_sdk-0.0.78938/src/kard/notifications/types/webhook_offer_data.py +27 -0
  276. kard_financial_sdk-0.0.78938/src/kard/notifications/types/webhook_offer_relationships.py +20 -0
  277. kard_financial_sdk-0.0.78938/src/kard/notifications/types/webhook_user_offer_attributes.py +41 -0
  278. kard_financial_sdk-0.0.78938/src/kard/notifications/types/webhook_user_offer_data.py +27 -0
  279. kard_financial_sdk-0.0.78938/src/kard/notifications/types/webhook_user_offer_relationships.py +21 -0
  280. kard_financial_sdk-0.0.78938/src/kard/offers/__init__.py +109 -0
  281. kard_financial_sdk-0.0.78938/src/kard/offers/client.py +670 -0
  282. kard_financial_sdk-0.0.78938/src/kard/offers/raw_client.py +955 -0
  283. kard_financial_sdk-0.0.78938/src/kard/offers/types/__init__.py +106 -0
  284. kard_financial_sdk-0.0.78938/src/kard/offers/types/attribution.py +47 -0
  285. kard_financial_sdk-0.0.78938/src/kard/offers/types/attribution_event_type.py +5 -0
  286. kard_financial_sdk-0.0.78938/src/kard/offers/types/audience_resource.py +32 -0
  287. kard_financial_sdk-0.0.78938/src/kard/offers/types/create_offer_request_attributes.py +77 -0
  288. kard_financial_sdk-0.0.78938/src/kard/offers/types/create_offer_request_body.py +33 -0
  289. kard_financial_sdk-0.0.78938/src/kard/offers/types/create_offer_request_data.py +32 -0
  290. kard_financial_sdk-0.0.78938/src/kard/offers/types/included_resource.py +10 -0
  291. kard_financial_sdk-0.0.78938/src/kard/offers/types/location_resource.py +32 -0
  292. kard_financial_sdk-0.0.78938/src/kard/offers/types/merchant_resource.py +32 -0
  293. kard_financial_sdk-0.0.78938/src/kard/offers/types/offer_attributes.py +235 -0
  294. kard_financial_sdk-0.0.78938/src/kard/offers/types/offer_audit_event.py +21 -0
  295. kard_financial_sdk-0.0.78938/src/kard/offers/types/offer_format_union.py +29 -0
  296. kard_financial_sdk-0.0.78938/src/kard/offers/types/offer_relationships.py +32 -0
  297. kard_financial_sdk-0.0.78938/src/kard/offers/types/offer_request_meta.py +33 -0
  298. kard_financial_sdk-0.0.78938/src/kard/offers/types/offer_response.py +39 -0
  299. kard_financial_sdk-0.0.78938/src/kard/offers/types/offers_list_response.py +41 -0
  300. kard_financial_sdk-0.0.78938/src/kard/offers/types/pagination_metadata.py +33 -0
  301. kard_financial_sdk-0.0.78938/src/kard/offers/types/segment_resource.py +32 -0
  302. kard_financial_sdk-0.0.78938/src/kard/offers/types/standard_format_offer.py +30 -0
  303. kard_financial_sdk-0.0.78938/src/kard/offers/types/status.py +5 -0
  304. kard_financial_sdk-0.0.78938/src/kard/offers/types/update_offer_request_attributes.py +77 -0
  305. kard_financial_sdk-0.0.78938/src/kard/offers/types/update_offer_request_body.py +33 -0
  306. kard_financial_sdk-0.0.78938/src/kard/offers/types/update_offer_request_data.py +32 -0
  307. kard_financial_sdk-0.0.78938/src/kard/ping/__init__.py +39 -0
  308. kard_financial_sdk-0.0.78938/src/kard/ping/client.py +100 -0
  309. kard_financial_sdk-0.0.78938/src/kard/ping/errors/__init__.py +34 -0
  310. kard_financial_sdk-0.0.78938/src/kard/ping/errors/network_blocked_error.py +11 -0
  311. kard_financial_sdk-0.0.78938/src/kard/ping/raw_client.py +113 -0
  312. kard_financial_sdk-0.0.78938/src/kard/ping/types/__init__.py +38 -0
  313. kard_financial_sdk-0.0.78938/src/kard/ping/types/network_blocked_error_body.py +34 -0
  314. kard_financial_sdk-0.0.78938/src/kard/ping/types/ping_response_object.py +46 -0
  315. kard_financial_sdk-0.0.78938/src/kard/py.typed +0 -0
  316. kard_financial_sdk-0.0.78938/src/kard/queue_dispatcher/__init__.py +49 -0
  317. kard_financial_sdk-0.0.78938/src/kard/queue_dispatcher/client.py +211 -0
  318. kard_financial_sdk-0.0.78938/src/kard/queue_dispatcher/raw_client.py +216 -0
  319. kard_financial_sdk-0.0.78938/src/kard/queue_dispatcher/types/__init__.py +47 -0
  320. kard_financial_sdk-0.0.78938/src/kard/queue_dispatcher/types/generic_notification_request_body.py +20 -0
  321. kard_financial_sdk-0.0.78938/src/kard/queue_dispatcher/types/generic_notification_response_object.py +19 -0
  322. kard_financial_sdk-0.0.78938/src/kard/queue_dispatcher/types/notification_relationship_union.py +8 -0
  323. kard_financial_sdk-0.0.78938/src/kard/queue_dispatcher/types/notification_resource.py +23 -0
  324. kard_financial_sdk-0.0.78938/src/kard/segment_users/__init__.py +39 -0
  325. kard_financial_sdk-0.0.78938/src/kard/segment_users/client.py +246 -0
  326. kard_financial_sdk-0.0.78938/src/kard/segment_users/raw_client.py +297 -0
  327. kard_financial_sdk-0.0.78938/src/kard/segment_users/types/__init__.py +42 -0
  328. kard_financial_sdk-0.0.78938/src/kard/segment_users/types/get_status_request_body.py +24 -0
  329. kard_financial_sdk-0.0.78938/src/kard/segment_users/types/get_status_response.py +20 -0
  330. kard_financial_sdk-0.0.78938/src/kard/segment_users/types/get_statuses_response.py +23 -0
  331. kard_financial_sdk-0.0.78938/src/kard/segment_users/types/segment_status.py +22 -0
  332. kard_financial_sdk-0.0.78938/src/kard/segment_users_event/__init__.py +34 -0
  333. kard_financial_sdk-0.0.78938/src/kard/segment_users_event/types/__init__.py +34 -0
  334. kard_financial_sdk-0.0.78938/src/kard/segment_users_event/types/segment_user_event.py +57 -0
  335. kard_financial_sdk-0.0.78938/src/kard/transactions/__init__.py +212 -0
  336. kard_financial_sdk-0.0.78938/src/kard/transactions/client.py +639 -0
  337. kard_financial_sdk-0.0.78938/src/kard/transactions/errors/__init__.py +40 -0
  338. kard_financial_sdk-0.0.78938/src/kard/transactions/errors/create_audit_multi_status.py +11 -0
  339. kard_financial_sdk-0.0.78938/src/kard/transactions/errors/create_incoming_transactions_multi_status.py +11 -0
  340. kard_financial_sdk-0.0.78938/src/kard/transactions/errors/fraud_multi_status.py +11 -0
  341. kard_financial_sdk-0.0.78938/src/kard/transactions/raw_client.py +925 -0
  342. kard_financial_sdk-0.0.78938/src/kard/transactions/types/__init__.py +199 -0
  343. kard_financial_sdk-0.0.78938/src/kard/transactions/types/audit_attributes.py +44 -0
  344. kard_financial_sdk-0.0.78938/src/kard/transactions/types/audit_request_data.py +20 -0
  345. kard_financial_sdk-0.0.78938/src/kard/transactions/types/audit_response_attributes.py +24 -0
  346. kard_financial_sdk-0.0.78938/src/kard/transactions/types/audit_response_data.py +25 -0
  347. kard_financial_sdk-0.0.78938/src/kard/transactions/types/audit_status.py +5 -0
  348. kard_financial_sdk-0.0.78938/src/kard/transactions/types/card_network.py +5 -0
  349. kard_financial_sdk-0.0.78938/src/kard/transactions/types/commission_earned_details.py +21 -0
  350. kard_financial_sdk-0.0.78938/src/kard/transactions/types/create_audit_multi_status_response.py +21 -0
  351. kard_financial_sdk-0.0.78938/src/kard/transactions/types/create_audit_request_body.py +43 -0
  352. kard_financial_sdk-0.0.78938/src/kard/transactions/types/create_audit_request_data_union.py +26 -0
  353. kard_financial_sdk-0.0.78938/src/kard/transactions/types/create_audit_response_body.py +41 -0
  354. kard_financial_sdk-0.0.78938/src/kard/transactions/types/create_audit_response_data_union.py +27 -0
  355. kard_financial_sdk-0.0.78938/src/kard/transactions/types/direction_type.py +5 -0
  356. kard_financial_sdk-0.0.78938/src/kard/transactions/types/fraudulent_transaction_attributes.py +24 -0
  357. kard_financial_sdk-0.0.78938/src/kard/transactions/types/fraudulent_transaction_data.py +30 -0
  358. kard_financial_sdk-0.0.78938/src/kard/transactions/types/fraudulent_transaction_object.py +42 -0
  359. kard_financial_sdk-0.0.78938/src/kard/transactions/types/fraudulent_transaction_request_body.py +45 -0
  360. kard_financial_sdk-0.0.78938/src/kard/transactions/types/fraudulent_transaction_response.py +21 -0
  361. kard_financial_sdk-0.0.78938/src/kard/transactions/types/get_earned_rewards_response.py +133 -0
  362. kard_financial_sdk-0.0.78938/src/kard/transactions/types/matched_transactions_attributes.py +156 -0
  363. kard_financial_sdk-0.0.78938/src/kard/transactions/types/matched_transactions_request.py +25 -0
  364. kard_financial_sdk-0.0.78938/src/kard/transactions/types/merchant.py +82 -0
  365. kard_financial_sdk-0.0.78938/src/kard/transactions/types/payment_status.py +5 -0
  366. kard_financial_sdk-0.0.78938/src/kard/transactions/types/payment_type.py +5 -0
  367. kard_financial_sdk-0.0.78938/src/kard/transactions/types/processor_mid.py +26 -0
  368. kard_financial_sdk-0.0.78938/src/kard/transactions/types/receipt_medium_type.py +5 -0
  369. kard_financial_sdk-0.0.78938/src/kard/transactions/types/rewarded_transaction.py +27 -0
  370. kard_financial_sdk-0.0.78938/src/kard/transactions/types/rewarded_transaction_attributes.py +74 -0
  371. kard_financial_sdk-0.0.78938/src/kard/transactions/types/rewarded_transaction_relationships.py +22 -0
  372. kard_financial_sdk-0.0.78938/src/kard/transactions/types/rewarded_transaction_status.py +5 -0
  373. kard_financial_sdk-0.0.78938/src/kard/transactions/types/rewarded_transaction_union.py +29 -0
  374. kard_financial_sdk-0.0.78938/src/kard/transactions/types/states.py +68 -0
  375. kard_financial_sdk-0.0.78938/src/kard/transactions/types/transaction_included_resource.py +47 -0
  376. kard_financial_sdk-0.0.78938/src/kard/transactions/types/transaction_merchant_attributes.py +22 -0
  377. kard_financial_sdk-0.0.78938/src/kard/transactions/types/transaction_merchant_resource.py +28 -0
  378. kard_financial_sdk-0.0.78938/src/kard/transactions/types/transaction_offer_attributes.py +26 -0
  379. kard_financial_sdk-0.0.78938/src/kard/transactions/types/transaction_offer_resource.py +28 -0
  380. kard_financial_sdk-0.0.78938/src/kard/transactions/types/transaction_payment_type.py +5 -0
  381. kard_financial_sdk-0.0.78938/src/kard/transactions/types/transaction_status.py +5 -0
  382. kard_financial_sdk-0.0.78938/src/kard/transactions/types/transactions.py +46 -0
  383. kard_financial_sdk-0.0.78938/src/kard/transactions/types/transactions_attributes.py +198 -0
  384. kard_financial_sdk-0.0.78938/src/kard/transactions/types/transactions_multi_response.py +21 -0
  385. kard_financial_sdk-0.0.78938/src/kard/transactions/types/transactions_request.py +25 -0
  386. kard_financial_sdk-0.0.78938/src/kard/transactions/types/transactions_request_body.py +90 -0
  387. kard_financial_sdk-0.0.78938/src/kard/transactions/types/transactions_response.py +38 -0
  388. kard_financial_sdk-0.0.78938/src/kard/transactions/types/transactions_response_data.py +27 -0
  389. kard_financial_sdk-0.0.78938/src/kard/transactions/types/visa_mid.py +23 -0
  390. kard_financial_sdk-0.0.78938/src/kard/transactions/types/visa_mid_details.py +27 -0
  391. kard_financial_sdk-0.0.78938/src/kard/txn_map_service/__init__.py +34 -0
  392. kard_financial_sdk-0.0.78938/src/kard/txn_map_service/client.py +131 -0
  393. kard_financial_sdk-0.0.78938/src/kard/txn_map_service/raw_client.py +167 -0
  394. kard_financial_sdk-0.0.78938/src/kard/txn_map_service/types/__init__.py +38 -0
  395. kard_financial_sdk-0.0.78938/src/kard/txn_map_service/types/delete_txn_data.py +23 -0
  396. kard_financial_sdk-0.0.78938/src/kard/txn_map_service/types/delete_txn_map_request.py +20 -0
  397. kard_financial_sdk-0.0.78938/src/kard/txn_matching/__init__.py +91 -0
  398. kard_financial_sdk-0.0.78938/src/kard/txn_matching/types/__init__.py +88 -0
  399. kard_financial_sdk-0.0.78938/src/kard/txn_matching/types/card_network_enum.py +5 -0
  400. kard_financial_sdk-0.0.78938/src/kard/txn_matching/types/enriched_transaction_record.py +22 -0
  401. kard_financial_sdk-0.0.78938/src/kard/txn_matching/types/issuer.py +71 -0
  402. kard_financial_sdk-0.0.78938/src/kard/txn_matching/types/merchant_attribute.py +19 -0
  403. kard_financial_sdk-0.0.78938/src/kard/txn_matching/types/offer.py +57 -0
  404. kard_financial_sdk-0.0.78938/src/kard/txn_matching/types/processor_mids_attributes.py +26 -0
  405. kard_financial_sdk-0.0.78938/src/kard/txn_matching/types/transaction_attributes.py +57 -0
  406. kard_financial_sdk-0.0.78938/src/kard/txn_matching/types/user.py +46 -0
  407. kard_financial_sdk-0.0.78938/src/kard/txn_matching/types/validation_context.py +31 -0
  408. kard_financial_sdk-0.0.78938/src/kard/txn_matching/types/validation_context_merchant.py +26 -0
  409. kard_financial_sdk-0.0.78938/src/kard/txn_matching/types/validation_error_result.py +24 -0
  410. kard_financial_sdk-0.0.78938/src/kard/txn_matching/types/validation_metadata.py +23 -0
  411. kard_financial_sdk-0.0.78938/src/kard/txn_matching/types/validation_results.py +22 -0
  412. kard_financial_sdk-0.0.78938/src/kard/txn_matching/types/validation_status.py +5 -0
  413. kard_financial_sdk-0.0.78938/src/kard/txn_matching/types/validation_success_result.py +24 -0
  414. kard_financial_sdk-0.0.78938/src/kard/txn_matching/types/visa_mids_attributes.py +23 -0
  415. kard_financial_sdk-0.0.78938/src/kard/txn_matching/types/visa_mids_details.py +27 -0
  416. kard_financial_sdk-0.0.78938/src/kard/users/__init__.py +302 -0
  417. kard_financial_sdk-0.0.78938/src/kard/users/attributions/__init__.py +73 -0
  418. kard_financial_sdk-0.0.78938/src/kard/users/attributions/client.py +229 -0
  419. kard_financial_sdk-0.0.78938/src/kard/users/attributions/raw_client.py +215 -0
  420. kard_financial_sdk-0.0.78938/src/kard/users/attributions/types/__init__.py +73 -0
  421. kard_financial_sdk-0.0.78938/src/kard/users/attributions/types/create_attribution_request_object.py +75 -0
  422. kard_financial_sdk-0.0.78938/src/kard/users/attributions/types/create_attribution_request_union.py +45 -0
  423. kard_financial_sdk-0.0.78938/src/kard/users/attributions/types/create_attribution_response.py +38 -0
  424. kard_financial_sdk-0.0.78938/src/kard/users/attributions/types/event_code.py +5 -0
  425. kard_financial_sdk-0.0.78938/src/kard/users/attributions/types/notification_attribution_attributes.py +35 -0
  426. kard_financial_sdk-0.0.78938/src/kard/users/attributions/types/notification_attribution_request.py +20 -0
  427. kard_financial_sdk-0.0.78938/src/kard/users/attributions/types/notification_medium.py +5 -0
  428. kard_financial_sdk-0.0.78938/src/kard/users/attributions/types/offer_attribution_attributes.py +35 -0
  429. kard_financial_sdk-0.0.78938/src/kard/users/attributions/types/offer_attribution_request.py +20 -0
  430. kard_financial_sdk-0.0.78938/src/kard/users/attributions/types/offer_medium.py +5 -0
  431. kard_financial_sdk-0.0.78938/src/kard/users/client.py +512 -0
  432. kard_financial_sdk-0.0.78938/src/kard/users/errors/__init__.py +34 -0
  433. kard_financial_sdk-0.0.78938/src/kard/users/errors/multi_status.py +11 -0
  434. kard_financial_sdk-0.0.78938/src/kard/users/raw_client.py +783 -0
  435. kard_financial_sdk-0.0.78938/src/kard/users/rewards/__init__.py +142 -0
  436. kard_financial_sdk-0.0.78938/src/kard/users/rewards/client.py +448 -0
  437. kard_financial_sdk-0.0.78938/src/kard/users/rewards/raw_client.py +587 -0
  438. kard_financial_sdk-0.0.78938/src/kard/users/rewards/types/__init__.py +139 -0
  439. kard_financial_sdk-0.0.78938/src/kard/users/rewards/types/amount.py +21 -0
  440. kard_financial_sdk-0.0.78938/src/kard/users/rewards/types/amount_type.py +5 -0
  441. kard_financial_sdk-0.0.78938/src/kard/users/rewards/types/asset.py +28 -0
  442. kard_financial_sdk-0.0.78938/src/kard/users/rewards/types/category_data.py +18 -0
  443. kard_financial_sdk-0.0.78938/src/kard/users/rewards/types/category_fields.py +23 -0
  444. kard_financial_sdk-0.0.78938/src/kard/users/rewards/types/category_identifier.py +24 -0
  445. kard_financial_sdk-0.0.78938/src/kard/users/rewards/types/category_included.py +21 -0
  446. kard_financial_sdk-0.0.78938/src/kard/users/rewards/types/category_relationship.py +20 -0
  447. kard_financial_sdk-0.0.78938/src/kard/users/rewards/types/category_relationship_object.py +20 -0
  448. kard_financial_sdk-0.0.78938/src/kard/users/rewards/types/commission.py +21 -0
  449. kard_financial_sdk-0.0.78938/src/kard/users/rewards/types/coordinates.py +20 -0
  450. kard_financial_sdk-0.0.78938/src/kard/users/rewards/types/eligibility_location_address.py +24 -0
  451. kard_financial_sdk-0.0.78938/src/kard/users/rewards/types/eligibility_location_included.py +8 -0
  452. kard_financial_sdk-0.0.78938/src/kard/users/rewards/types/eligibility_offer_included.py +7 -0
  453. kard_financial_sdk-0.0.78938/src/kard/users/rewards/types/eligibility_offer_relationship.py +7 -0
  454. kard_financial_sdk-0.0.78938/src/kard/users/rewards/types/location_attributes.py +28 -0
  455. kard_financial_sdk-0.0.78938/src/kard/users/rewards/types/location_data.py +32 -0
  456. kard_financial_sdk-0.0.78938/src/kard/users/rewards/types/location_relationships.py +18 -0
  457. kard_financial_sdk-0.0.78938/src/kard/users/rewards/types/location_sort_options.py +5 -0
  458. kard_financial_sdk-0.0.78938/src/kard/users/rewards/types/locations_response_object.py +215 -0
  459. kard_financial_sdk-0.0.78938/src/kard/users/rewards/types/offer_common_fields.py +103 -0
  460. kard_financial_sdk-0.0.78938/src/kard/users/rewards/types/offer_data_union.py +30 -0
  461. kard_financial_sdk-0.0.78938/src/kard/users/rewards/types/offer_relationship.py +21 -0
  462. kard_financial_sdk-0.0.78938/src/kard/users/rewards/types/offer_sort_options.py +7 -0
  463. kard_financial_sdk-0.0.78938/src/kard/users/rewards/types/offers_response_object.py +130 -0
  464. kard_financial_sdk-0.0.78938/src/kard/users/rewards/types/operation_hours.py +23 -0
  465. kard_financial_sdk-0.0.78938/src/kard/users/rewards/types/operation_period.py +21 -0
  466. kard_financial_sdk-0.0.78938/src/kard/users/rewards/types/operation_time.py +20 -0
  467. kard_financial_sdk-0.0.78938/src/kard/users/rewards/types/purchase_count_offer.py +21 -0
  468. kard_financial_sdk-0.0.78938/src/kard/users/rewards/types/purchase_count_offer_core.py +26 -0
  469. kard_financial_sdk-0.0.78938/src/kard/users/rewards/types/purchase_count_offer_fields.py +18 -0
  470. kard_financial_sdk-0.0.78938/src/kard/users/rewards/types/standard_offer.py +21 -0
  471. kard_financial_sdk-0.0.78938/src/kard/users/rewards/types/standard_offer_core.py +26 -0
  472. kard_financial_sdk-0.0.78938/src/kard/users/rewards/types/standard_offer_fields.py +18 -0
  473. kard_financial_sdk-0.0.78938/src/kard/users/types/__init__.py +66 -0
  474. kard_financial_sdk-0.0.78938/src/kard/users/types/create_users_multi_status_response.py +21 -0
  475. kard_financial_sdk-0.0.78938/src/kard/users/types/create_users_object.py +42 -0
  476. kard_financial_sdk-0.0.78938/src/kard/users/types/delete_user_response_object.py +34 -0
  477. kard_financial_sdk-0.0.78938/src/kard/users/types/update_user_object.py +40 -0
  478. kard_financial_sdk-0.0.78938/src/kard/users/types/user_request_attributes.py +60 -0
  479. kard_financial_sdk-0.0.78938/src/kard/users/types/user_request_data.py +22 -0
  480. kard_financial_sdk-0.0.78938/src/kard/users/types/user_request_data_union.py +28 -0
  481. kard_financial_sdk-0.0.78938/src/kard/users/types/user_response_no_data.py +22 -0
  482. kard_financial_sdk-0.0.78938/src/kard/users/types/user_response_union_no_data.py +28 -0
  483. kard_financial_sdk-0.0.78938/src/kard/users/uploads/__init__.py +112 -0
  484. kard_financial_sdk-0.0.78938/src/kard/users/uploads/client.py +484 -0
  485. kard_financial_sdk-0.0.78938/src/kard/users/uploads/errors/__init__.py +34 -0
  486. kard_financial_sdk-0.0.78938/src/kard/users/uploads/errors/upload_part_multi_status.py +13 -0
  487. kard_financial_sdk-0.0.78938/src/kard/users/uploads/raw_client.py +625 -0
  488. kard_financial_sdk-0.0.78938/src/kard/users/uploads/types/__init__.py +119 -0
  489. kard_financial_sdk-0.0.78938/src/kard/users/uploads/types/create_upload_part_data_union.py +27 -0
  490. kard_financial_sdk-0.0.78938/src/kard/users/uploads/types/create_upload_part_multi_status_response.py +21 -0
  491. kard_financial_sdk-0.0.78938/src/kard/users/uploads/types/create_upload_part_request_object.py +74 -0
  492. kard_financial_sdk-0.0.78938/src/kard/users/uploads/types/create_upload_part_response_data.py +25 -0
  493. kard_financial_sdk-0.0.78938/src/kard/users/uploads/types/create_upload_part_response_data_union.py +27 -0
  494. kard_financial_sdk-0.0.78938/src/kard/users/uploads/types/create_upload_part_response_object.py +39 -0
  495. kard_financial_sdk-0.0.78938/src/kard/users/uploads/types/create_upload_request_data_union.py +26 -0
  496. kard_financial_sdk-0.0.78938/src/kard/users/uploads/types/create_upload_request_object.py +36 -0
  497. kard_financial_sdk-0.0.78938/src/kard/users/uploads/types/create_upload_response_data.py +25 -0
  498. kard_financial_sdk-0.0.78938/src/kard/users/uploads/types/create_upload_response_data_union.py +27 -0
  499. kard_financial_sdk-0.0.78938/src/kard/users/uploads/types/create_upload_response_object.py +37 -0
  500. kard_financial_sdk-0.0.78938/src/kard/users/uploads/types/historical_transaction_complete_no_data.py +25 -0
  501. kard_financial_sdk-0.0.78938/src/kard/users/uploads/types/start_historical_upload_no_data.py +20 -0
  502. kard_financial_sdk-0.0.78938/src/kard/users/uploads/types/update_upload_request_data_union.py +27 -0
  503. kard_financial_sdk-0.0.78938/src/kard/users/uploads/types/update_upload_request_object.py +37 -0
  504. kard_financial_sdk-0.0.78938/src/kard/users/uploads/types/update_upload_response_data.py +25 -0
  505. kard_financial_sdk-0.0.78938/src/kard/users/uploads/types/update_upload_response_data_union.py +27 -0
  506. kard_financial_sdk-0.0.78938/src/kard/users/uploads/types/update_upload_response_object.py +37 -0
  507. kard_financial_sdk-0.0.78938/src/kard/version.py +3 -0
@@ -0,0 +1,281 @@
1
+ Metadata-Version: 2.1
2
+ Name: kard-financial-sdk
3
+ Version: 0.0.78938
4
+ Summary:
5
+ Requires-Python: >=3.8,<4.0
6
+ Classifier: Intended Audience :: Developers
7
+ Classifier: Operating System :: MacOS
8
+ Classifier: Operating System :: Microsoft :: Windows
9
+ Classifier: Operating System :: OS Independent
10
+ Classifier: Operating System :: POSIX
11
+ Classifier: Operating System :: POSIX :: Linux
12
+ Classifier: Programming Language :: Python
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: Programming Language :: Python :: 3.8
15
+ Classifier: Programming Language :: Python :: 3.9
16
+ Classifier: Programming Language :: Python :: 3.10
17
+ Classifier: Programming Language :: Python :: 3.11
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
20
+ Classifier: Typing :: Typed
21
+ Requires-Dist: httpx (>=0.21.2)
22
+ Requires-Dist: pydantic (>=1.9.2)
23
+ Requires-Dist: pydantic-core (>=2.18.2)
24
+ Requires-Dist: typing_extensions (>=4.0.0)
25
+ Project-URL: Repository, https://github.com/KardFinancial/kard-python-sdk
26
+ Description-Content-Type: text/markdown
27
+
28
+ # Kard Python Library
29
+
30
+ [![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-Built%20with%20Fern-brightgreen)](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=https%3A%2F%2Fgithub.com%2FKardFinancial%2Fkard-python-sdk)
31
+ [![pypi](https://img.shields.io/pypi/v/kard-financial-sdk)](https://pypi.python.org/pypi/kard-financial-sdk)
32
+
33
+ The Kard Python library provides convenient access to the Kard APIs from Python.
34
+
35
+ ## Table of Contents
36
+
37
+ - [Installation](#installation)
38
+ - [Reference](#reference)
39
+ - [Usage](#usage)
40
+ - [Async Client](#async-client)
41
+ - [Exception Handling](#exception-handling)
42
+ - [Oauth Token Override](#oauth-token-override)
43
+ - [Advanced](#advanced)
44
+ - [Access Raw Response Data](#access-raw-response-data)
45
+ - [Retries](#retries)
46
+ - [Timeouts](#timeouts)
47
+ - [Custom Client](#custom-client)
48
+ - [Contributing](#contributing)
49
+
50
+ ## Installation
51
+
52
+ ```sh
53
+ pip install kard-financial-sdk
54
+ ```
55
+
56
+ ## Reference
57
+
58
+ A full reference for this library is available [here](https://github.com/KardFinancial/kard-python-sdk/blob/HEAD/./reference.md).
59
+
60
+ ## Usage
61
+
62
+ Instantiate and use the client with the following:
63
+
64
+ ```python
65
+ import datetime
66
+
67
+ from kard import KardApi
68
+ from kard.attributions import (
69
+ InternalApiAttribution_OfferAttribution,
70
+ InternalApiOfferAttributionAttributes,
71
+ )
72
+
73
+ client = KardApi(
74
+ client_id="YOUR_CLIENT_ID",
75
+ client_secret="YOUR_CLIENT_SECRET",
76
+ )
77
+ client.attributions.internal_bulk_create_attributions(
78
+ data=[
79
+ InternalApiAttribution_OfferAttribution(
80
+ attributes=InternalApiOfferAttributionAttributes(
81
+ issuer_id="issuerId",
82
+ user_id="userId",
83
+ entity_id="entityId",
84
+ event_code="IMPRESSION",
85
+ medium="BROWSE",
86
+ event_date=datetime.datetime.fromisoformat(
87
+ "2024-01-15 09:30:00+00:00",
88
+ ),
89
+ ),
90
+ ),
91
+ InternalApiAttribution_OfferAttribution(
92
+ attributes=InternalApiOfferAttributionAttributes(
93
+ issuer_id="issuerId",
94
+ user_id="userId",
95
+ entity_id="entityId",
96
+ event_code="IMPRESSION",
97
+ medium="BROWSE",
98
+ event_date=datetime.datetime.fromisoformat(
99
+ "2024-01-15 09:30:00+00:00",
100
+ ),
101
+ ),
102
+ ),
103
+ ],
104
+ )
105
+ ```
106
+
107
+ ## Async Client
108
+
109
+ The SDK also exports an `async` client so that you can make non-blocking calls to our API. Note that if you are constructing an Async httpx client class to pass into this client, use `httpx.AsyncClient()` instead of `httpx.Client()` (e.g. for the `httpx_client` parameter of this client).
110
+
111
+ ```python
112
+ import asyncio
113
+ import datetime
114
+
115
+ from kard import AsyncKardApi
116
+ from kard.attributions import (
117
+ InternalApiAttribution_OfferAttribution,
118
+ InternalApiOfferAttributionAttributes,
119
+ )
120
+
121
+ client = AsyncKardApi(
122
+ client_id="YOUR_CLIENT_ID",
123
+ client_secret="YOUR_CLIENT_SECRET",
124
+ )
125
+
126
+
127
+ async def main() -> None:
128
+ await client.attributions.internal_bulk_create_attributions(
129
+ data=[
130
+ InternalApiAttribution_OfferAttribution(
131
+ attributes=InternalApiOfferAttributionAttributes(
132
+ issuer_id="issuerId",
133
+ user_id="userId",
134
+ entity_id="entityId",
135
+ event_code="IMPRESSION",
136
+ medium="BROWSE",
137
+ event_date=datetime.datetime.fromisoformat(
138
+ "2024-01-15 09:30:00+00:00",
139
+ ),
140
+ ),
141
+ ),
142
+ InternalApiAttribution_OfferAttribution(
143
+ attributes=InternalApiOfferAttributionAttributes(
144
+ issuer_id="issuerId",
145
+ user_id="userId",
146
+ entity_id="entityId",
147
+ event_code="IMPRESSION",
148
+ medium="BROWSE",
149
+ event_date=datetime.datetime.fromisoformat(
150
+ "2024-01-15 09:30:00+00:00",
151
+ ),
152
+ ),
153
+ ),
154
+ ],
155
+ )
156
+
157
+
158
+ asyncio.run(main())
159
+ ```
160
+
161
+ ## Exception Handling
162
+
163
+ When the API returns a non-success status code (4xx or 5xx response), a subclass of the following error
164
+ will be thrown.
165
+
166
+ ```python
167
+ from kard.core.api_error import ApiError
168
+
169
+ try:
170
+ client.attributions.internal_bulk_create_attributions(...)
171
+ except ApiError as e:
172
+ print(e.status_code)
173
+ print(e.body)
174
+ ```
175
+
176
+ ## Oauth Token Override
177
+
178
+ This SDK supports two authentication methods: OAuth client credentials flow (automatic token management) or direct bearer token authentication. You can choose between these options when initializing the client:
179
+
180
+ ```python
181
+ from kard import KardApi
182
+
183
+ # Option 1: Direct bearer token (bypass OAuth flow)
184
+ client = KardApi(..., token="my-pre-generated-bearer-token")
185
+
186
+ from kard import KardApi
187
+
188
+ # Option 2: OAuth client credentials flow (automatic token management)
189
+ client = KardApi(
190
+ ..., client_id="your-client-id", client_secret="your-client-secret"
191
+ )
192
+ ```
193
+
194
+ ## Advanced
195
+
196
+ ### Access Raw Response Data
197
+
198
+ The SDK provides access to raw response data, including headers, through the `.with_raw_response` property.
199
+ The `.with_raw_response` property returns a "raw" client that can be used to access the `.headers` and `.data` attributes.
200
+
201
+ ```python
202
+ from kard import KardApi
203
+
204
+ client = KardApi(
205
+ ...,
206
+ )
207
+ response = (
208
+ client.attributions.with_raw_response.internal_bulk_create_attributions(...)
209
+ )
210
+ print(response.headers) # access the response headers
211
+ print(response.data) # access the underlying object
212
+ ```
213
+
214
+ ### Retries
215
+
216
+ The SDK is instrumented with automatic retries with exponential backoff. A request will be retried as long
217
+ as the request is deemed retryable and the number of retry attempts has not grown larger than the configured
218
+ retry limit (default: 2).
219
+
220
+ A request is deemed retryable when any of the following HTTP status codes is returned:
221
+
222
+ - [408](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408) (Timeout)
223
+ - [429](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429) (Too Many Requests)
224
+ - [5XX](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500) (Internal Server Errors)
225
+
226
+ Use the `max_retries` request option to configure this behavior.
227
+
228
+ ```python
229
+ client.attributions.internal_bulk_create_attributions(..., request_options={
230
+ "max_retries": 1
231
+ })
232
+ ```
233
+
234
+ ### Timeouts
235
+
236
+ The SDK defaults to a 60 second timeout. You can configure this with a timeout option at the client or request level.
237
+
238
+ ```python
239
+
240
+ from kard import KardApi
241
+
242
+ client = KardApi(
243
+ ...,
244
+ timeout=20.0,
245
+ )
246
+
247
+
248
+ # Override timeout for a specific method
249
+ client.attributions.internal_bulk_create_attributions(..., request_options={
250
+ "timeout_in_seconds": 1
251
+ })
252
+ ```
253
+
254
+ ### Custom Client
255
+
256
+ You can override the `httpx` client to customize it for your use-case. Some common use-cases include support for proxies
257
+ and transports.
258
+
259
+ ```python
260
+ import httpx
261
+ from kard import KardApi
262
+
263
+ client = KardApi(
264
+ ...,
265
+ httpx_client=httpx.Client(
266
+ proxy="http://my.test.proxy.example.com",
267
+ transport=httpx.HTTPTransport(local_address="0.0.0.0"),
268
+ ),
269
+ )
270
+ ```
271
+
272
+ ## Contributing
273
+
274
+ While we value open-source contributions to this SDK, this library is generated programmatically.
275
+ Additions made directly to this library would have to be moved over to our generation code,
276
+ otherwise they would be overwritten upon the next generated release. Feel free to open a PR as
277
+ a proof of concept, but know that we will not be able to merge it as-is. We suggest opening
278
+ an issue first to discuss with us!
279
+
280
+ On the other hand, contributions to the README are always very welcome!
281
+
@@ -0,0 +1,253 @@
1
+ # Kard Python Library
2
+
3
+ [![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-Built%20with%20Fern-brightgreen)](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=https%3A%2F%2Fgithub.com%2FKardFinancial%2Fkard-python-sdk)
4
+ [![pypi](https://img.shields.io/pypi/v/kard-financial-sdk)](https://pypi.python.org/pypi/kard-financial-sdk)
5
+
6
+ The Kard Python library provides convenient access to the Kard APIs from Python.
7
+
8
+ ## Table of Contents
9
+
10
+ - [Installation](#installation)
11
+ - [Reference](#reference)
12
+ - [Usage](#usage)
13
+ - [Async Client](#async-client)
14
+ - [Exception Handling](#exception-handling)
15
+ - [Oauth Token Override](#oauth-token-override)
16
+ - [Advanced](#advanced)
17
+ - [Access Raw Response Data](#access-raw-response-data)
18
+ - [Retries](#retries)
19
+ - [Timeouts](#timeouts)
20
+ - [Custom Client](#custom-client)
21
+ - [Contributing](#contributing)
22
+
23
+ ## Installation
24
+
25
+ ```sh
26
+ pip install kard-financial-sdk
27
+ ```
28
+
29
+ ## Reference
30
+
31
+ A full reference for this library is available [here](https://github.com/KardFinancial/kard-python-sdk/blob/HEAD/./reference.md).
32
+
33
+ ## Usage
34
+
35
+ Instantiate and use the client with the following:
36
+
37
+ ```python
38
+ import datetime
39
+
40
+ from kard import KardApi
41
+ from kard.attributions import (
42
+ InternalApiAttribution_OfferAttribution,
43
+ InternalApiOfferAttributionAttributes,
44
+ )
45
+
46
+ client = KardApi(
47
+ client_id="YOUR_CLIENT_ID",
48
+ client_secret="YOUR_CLIENT_SECRET",
49
+ )
50
+ client.attributions.internal_bulk_create_attributions(
51
+ data=[
52
+ InternalApiAttribution_OfferAttribution(
53
+ attributes=InternalApiOfferAttributionAttributes(
54
+ issuer_id="issuerId",
55
+ user_id="userId",
56
+ entity_id="entityId",
57
+ event_code="IMPRESSION",
58
+ medium="BROWSE",
59
+ event_date=datetime.datetime.fromisoformat(
60
+ "2024-01-15 09:30:00+00:00",
61
+ ),
62
+ ),
63
+ ),
64
+ InternalApiAttribution_OfferAttribution(
65
+ attributes=InternalApiOfferAttributionAttributes(
66
+ issuer_id="issuerId",
67
+ user_id="userId",
68
+ entity_id="entityId",
69
+ event_code="IMPRESSION",
70
+ medium="BROWSE",
71
+ event_date=datetime.datetime.fromisoformat(
72
+ "2024-01-15 09:30:00+00:00",
73
+ ),
74
+ ),
75
+ ),
76
+ ],
77
+ )
78
+ ```
79
+
80
+ ## Async Client
81
+
82
+ The SDK also exports an `async` client so that you can make non-blocking calls to our API. Note that if you are constructing an Async httpx client class to pass into this client, use `httpx.AsyncClient()` instead of `httpx.Client()` (e.g. for the `httpx_client` parameter of this client).
83
+
84
+ ```python
85
+ import asyncio
86
+ import datetime
87
+
88
+ from kard import AsyncKardApi
89
+ from kard.attributions import (
90
+ InternalApiAttribution_OfferAttribution,
91
+ InternalApiOfferAttributionAttributes,
92
+ )
93
+
94
+ client = AsyncKardApi(
95
+ client_id="YOUR_CLIENT_ID",
96
+ client_secret="YOUR_CLIENT_SECRET",
97
+ )
98
+
99
+
100
+ async def main() -> None:
101
+ await client.attributions.internal_bulk_create_attributions(
102
+ data=[
103
+ InternalApiAttribution_OfferAttribution(
104
+ attributes=InternalApiOfferAttributionAttributes(
105
+ issuer_id="issuerId",
106
+ user_id="userId",
107
+ entity_id="entityId",
108
+ event_code="IMPRESSION",
109
+ medium="BROWSE",
110
+ event_date=datetime.datetime.fromisoformat(
111
+ "2024-01-15 09:30:00+00:00",
112
+ ),
113
+ ),
114
+ ),
115
+ InternalApiAttribution_OfferAttribution(
116
+ attributes=InternalApiOfferAttributionAttributes(
117
+ issuer_id="issuerId",
118
+ user_id="userId",
119
+ entity_id="entityId",
120
+ event_code="IMPRESSION",
121
+ medium="BROWSE",
122
+ event_date=datetime.datetime.fromisoformat(
123
+ "2024-01-15 09:30:00+00:00",
124
+ ),
125
+ ),
126
+ ),
127
+ ],
128
+ )
129
+
130
+
131
+ asyncio.run(main())
132
+ ```
133
+
134
+ ## Exception Handling
135
+
136
+ When the API returns a non-success status code (4xx or 5xx response), a subclass of the following error
137
+ will be thrown.
138
+
139
+ ```python
140
+ from kard.core.api_error import ApiError
141
+
142
+ try:
143
+ client.attributions.internal_bulk_create_attributions(...)
144
+ except ApiError as e:
145
+ print(e.status_code)
146
+ print(e.body)
147
+ ```
148
+
149
+ ## Oauth Token Override
150
+
151
+ This SDK supports two authentication methods: OAuth client credentials flow (automatic token management) or direct bearer token authentication. You can choose between these options when initializing the client:
152
+
153
+ ```python
154
+ from kard import KardApi
155
+
156
+ # Option 1: Direct bearer token (bypass OAuth flow)
157
+ client = KardApi(..., token="my-pre-generated-bearer-token")
158
+
159
+ from kard import KardApi
160
+
161
+ # Option 2: OAuth client credentials flow (automatic token management)
162
+ client = KardApi(
163
+ ..., client_id="your-client-id", client_secret="your-client-secret"
164
+ )
165
+ ```
166
+
167
+ ## Advanced
168
+
169
+ ### Access Raw Response Data
170
+
171
+ The SDK provides access to raw response data, including headers, through the `.with_raw_response` property.
172
+ The `.with_raw_response` property returns a "raw" client that can be used to access the `.headers` and `.data` attributes.
173
+
174
+ ```python
175
+ from kard import KardApi
176
+
177
+ client = KardApi(
178
+ ...,
179
+ )
180
+ response = (
181
+ client.attributions.with_raw_response.internal_bulk_create_attributions(...)
182
+ )
183
+ print(response.headers) # access the response headers
184
+ print(response.data) # access the underlying object
185
+ ```
186
+
187
+ ### Retries
188
+
189
+ The SDK is instrumented with automatic retries with exponential backoff. A request will be retried as long
190
+ as the request is deemed retryable and the number of retry attempts has not grown larger than the configured
191
+ retry limit (default: 2).
192
+
193
+ A request is deemed retryable when any of the following HTTP status codes is returned:
194
+
195
+ - [408](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408) (Timeout)
196
+ - [429](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429) (Too Many Requests)
197
+ - [5XX](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500) (Internal Server Errors)
198
+
199
+ Use the `max_retries` request option to configure this behavior.
200
+
201
+ ```python
202
+ client.attributions.internal_bulk_create_attributions(..., request_options={
203
+ "max_retries": 1
204
+ })
205
+ ```
206
+
207
+ ### Timeouts
208
+
209
+ The SDK defaults to a 60 second timeout. You can configure this with a timeout option at the client or request level.
210
+
211
+ ```python
212
+
213
+ from kard import KardApi
214
+
215
+ client = KardApi(
216
+ ...,
217
+ timeout=20.0,
218
+ )
219
+
220
+
221
+ # Override timeout for a specific method
222
+ client.attributions.internal_bulk_create_attributions(..., request_options={
223
+ "timeout_in_seconds": 1
224
+ })
225
+ ```
226
+
227
+ ### Custom Client
228
+
229
+ You can override the `httpx` client to customize it for your use-case. Some common use-cases include support for proxies
230
+ and transports.
231
+
232
+ ```python
233
+ import httpx
234
+ from kard import KardApi
235
+
236
+ client = KardApi(
237
+ ...,
238
+ httpx_client=httpx.Client(
239
+ proxy="http://my.test.proxy.example.com",
240
+ transport=httpx.HTTPTransport(local_address="0.0.0.0"),
241
+ ),
242
+ )
243
+ ```
244
+
245
+ ## Contributing
246
+
247
+ While we value open-source contributions to this SDK, this library is generated programmatically.
248
+ Additions made directly to this library would have to be moved over to our generation code,
249
+ otherwise they would be overwritten upon the next generated release. Feel free to open a PR as
250
+ a proof of concept, but know that we will not be able to merge it as-is. We suggest opening
251
+ an issue first to discuss with us!
252
+
253
+ On the other hand, contributions to the README are always very welcome!
@@ -0,0 +1,86 @@
1
+ [project]
2
+ name = "kard-financial-sdk"
3
+ dynamic = ["version"]
4
+
5
+ [tool.poetry]
6
+ name = "kard-financial-sdk"
7
+ version = "0.0.78938"
8
+ description = ""
9
+ readme = "README.md"
10
+ authors = []
11
+ keywords = []
12
+
13
+ classifiers = [
14
+ "Intended Audience :: Developers",
15
+ "Programming Language :: Python",
16
+ "Programming Language :: Python :: 3",
17
+ "Programming Language :: Python :: 3.8",
18
+ "Programming Language :: Python :: 3.9",
19
+ "Programming Language :: Python :: 3.10",
20
+ "Programming Language :: Python :: 3.11",
21
+ "Programming Language :: Python :: 3.12",
22
+ "Operating System :: OS Independent",
23
+ "Operating System :: POSIX",
24
+ "Operating System :: MacOS",
25
+ "Operating System :: POSIX :: Linux",
26
+ "Operating System :: Microsoft :: Windows",
27
+ "Topic :: Software Development :: Libraries :: Python Modules",
28
+ "Typing :: Typed"
29
+ ]
30
+ packages = [
31
+ { include = "kard", from = "src"}
32
+ ]
33
+
34
+ [tool.poetry.urls]
35
+ Repository = 'https://github.com/KardFinancial/kard-python-sdk'
36
+
37
+ [tool.poetry.dependencies]
38
+ python = "^3.8"
39
+ httpx = ">=0.21.2"
40
+ pydantic = ">= 1.9.2"
41
+ pydantic-core = ">=2.18.2"
42
+ typing_extensions = ">= 4.0.0"
43
+
44
+ [tool.poetry.group.dev.dependencies]
45
+ mypy = "==1.13.0"
46
+ pytest = "^7.4.0"
47
+ pytest-asyncio = "^0.23.5"
48
+ pytest-xdist = "^3.6.1"
49
+ python-dateutil = "^2.9.0"
50
+ types-python-dateutil = "^2.9.0.20240316"
51
+ ruff = "==0.11.5"
52
+
53
+ [tool.pytest.ini_options]
54
+ testpaths = [ "tests" ]
55
+ asyncio_mode = "auto"
56
+
57
+ [tool.mypy]
58
+ plugins = ["pydantic.mypy"]
59
+
60
+ [tool.ruff]
61
+ line-length = 120
62
+
63
+ [tool.ruff.lint]
64
+ select = [
65
+ "E", # pycodestyle errors
66
+ "F", # pyflakes
67
+ "I", # isort
68
+ ]
69
+ ignore = [
70
+ "E402", # Module level import not at top of file
71
+ "E501", # Line too long
72
+ "E711", # Comparison to `None` should be `cond is not None`
73
+ "E712", # Avoid equality comparisons to `True`; use `if ...:` checks
74
+ "E721", # Use `is` and `is not` for type comparisons, or `isinstance()` for insinstance checks
75
+ "E722", # Do not use bare `except`
76
+ "E731", # Do not assign a `lambda` expression, use a `def`
77
+ "F821", # Undefined name
78
+ "F841" # Local variable ... is assigned to but never used
79
+ ]
80
+
81
+ [tool.ruff.lint.isort]
82
+ section-order = ["future", "standard-library", "third-party", "first-party"]
83
+
84
+ [build-system]
85
+ requires = ["poetry-core"]
86
+ build-backend = "poetry.core.masonry.api"