paid-python 0.0.3__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 (68) hide show
  1. paid/__init__.py +76 -0
  2. paid/agents/__init__.py +4 -0
  3. paid/agents/client.py +720 -0
  4. paid/agents/raw_client.py +745 -0
  5. paid/client.py +155 -0
  6. paid/contacts/__init__.py +4 -0
  7. paid/contacts/client.py +550 -0
  8. paid/contacts/raw_client.py +532 -0
  9. paid/core/__init__.py +52 -0
  10. paid/core/api_error.py +23 -0
  11. paid/core/client_wrapper.py +77 -0
  12. paid/core/datetime_utils.py +28 -0
  13. paid/core/file.py +67 -0
  14. paid/core/force_multipart.py +16 -0
  15. paid/core/http_client.py +543 -0
  16. paid/core/http_response.py +55 -0
  17. paid/core/jsonable_encoder.py +100 -0
  18. paid/core/pydantic_utilities.py +255 -0
  19. paid/core/query_encoder.py +58 -0
  20. paid/core/remove_none_from_dict.py +11 -0
  21. paid/core/request_options.py +35 -0
  22. paid/core/serialization.py +276 -0
  23. paid/customers/__init__.py +4 -0
  24. paid/customers/client.py +810 -0
  25. paid/customers/raw_client.py +843 -0
  26. paid/environment.py +7 -0
  27. paid/orders/__init__.py +7 -0
  28. paid/orders/client.py +445 -0
  29. paid/orders/lines/__init__.py +4 -0
  30. paid/orders/lines/client.py +124 -0
  31. paid/orders/lines/raw_client.py +129 -0
  32. paid/orders/raw_client.py +449 -0
  33. paid/py.typed +0 -0
  34. paid/types/__init__.py +61 -0
  35. paid/types/address.py +26 -0
  36. paid/types/agent.py +31 -0
  37. paid/types/agent_attribute.py +22 -0
  38. paid/types/agent_price_point.py +27 -0
  39. paid/types/agent_price_point_tiers.py +23 -0
  40. paid/types/agent_update.py +29 -0
  41. paid/types/api_error.py +29 -0
  42. paid/types/billing_frequency.py +5 -0
  43. paid/types/charge_type.py +5 -0
  44. paid/types/contact.py +42 -0
  45. paid/types/creation_source.py +5 -0
  46. paid/types/creation_state.py +5 -0
  47. paid/types/customer.py +42 -0
  48. paid/types/customer_update.py +36 -0
  49. paid/types/error.py +24 -0
  50. paid/types/order.py +49 -0
  51. paid/types/order_line.py +45 -0
  52. paid/types/order_line_attribute.py +27 -0
  53. paid/types/order_line_attribute_pricing.py +33 -0
  54. paid/types/order_line_create.py +24 -0
  55. paid/types/price_point.py +25 -0
  56. paid/types/pricing.py +30 -0
  57. paid/types/pricing_model_type.py +5 -0
  58. paid/types/salutation.py +5 -0
  59. paid/types/signal.py +22 -0
  60. paid/types/tax_exempt_status.py +5 -0
  61. paid/types/tier.py +23 -0
  62. paid/usage/__init__.py +4 -0
  63. paid/usage/client.py +113 -0
  64. paid/usage/raw_client.py +121 -0
  65. paid/version.py +3 -0
  66. paid_python-0.0.3.dist-info/METADATA +27 -0
  67. paid_python-0.0.3.dist-info/RECORD +68 -0
  68. paid_python-0.0.3.dist-info/WHEEL +4 -0
paid/__init__.py ADDED
@@ -0,0 +1,76 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ # isort: skip_file
4
+
5
+ from .types import (
6
+ Address,
7
+ Agent,
8
+ AgentAttribute,
9
+ AgentPricePoint,
10
+ AgentPricePointTiers,
11
+ AgentUpdate,
12
+ ApiError,
13
+ BillingFrequency,
14
+ ChargeType,
15
+ Contact,
16
+ CreationSource,
17
+ CreationState,
18
+ Customer,
19
+ CustomerUpdate,
20
+ Error,
21
+ Order,
22
+ OrderLine,
23
+ OrderLineAttribute,
24
+ OrderLineAttributePricing,
25
+ OrderLineCreate,
26
+ PricePoint,
27
+ Pricing,
28
+ PricingModelType,
29
+ Salutation,
30
+ Signal,
31
+ TaxExemptStatus,
32
+ Tier,
33
+ )
34
+ from . import agents, contacts, customers, orders, usage
35
+ from .client import AsyncPaid, Paid
36
+ from .environment import PaidEnvironment
37
+ from .version import __version__
38
+
39
+ __all__ = [
40
+ "Address",
41
+ "Agent",
42
+ "AgentAttribute",
43
+ "AgentPricePoint",
44
+ "AgentPricePointTiers",
45
+ "AgentUpdate",
46
+ "ApiError",
47
+ "AsyncPaid",
48
+ "BillingFrequency",
49
+ "ChargeType",
50
+ "Contact",
51
+ "CreationSource",
52
+ "CreationState",
53
+ "Customer",
54
+ "CustomerUpdate",
55
+ "Error",
56
+ "Order",
57
+ "OrderLine",
58
+ "OrderLineAttribute",
59
+ "OrderLineAttributePricing",
60
+ "OrderLineCreate",
61
+ "Paid",
62
+ "PaidEnvironment",
63
+ "PricePoint",
64
+ "Pricing",
65
+ "PricingModelType",
66
+ "Salutation",
67
+ "Signal",
68
+ "TaxExemptStatus",
69
+ "Tier",
70
+ "__version__",
71
+ "agents",
72
+ "contacts",
73
+ "customers",
74
+ "orders",
75
+ "usage",
76
+ ]
@@ -0,0 +1,4 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ # isort: skip_file
4
+