| 
									
										
										
										
											2022-07-19 04:44:07 +00:00
										 |  |  | import datetime | 
					
						
							| 
									
										
										
										
											2024-07-28 15:21:51 -07:00
										 |  |  | from typing import Optional | 
					
						
							| 
									
										
										
										
											2022-07-19 04:44:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-07-28 15:21:51 -07:00
										 |  |  | from pydantic import BaseModel, ConfigDict | 
					
						
							| 
									
										
										
										
											2022-07-19 04:44:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-02-24 17:03:55 -08:00
										 |  |  | from ..models.subscription_tier_price import SubscriptionTierPrice | 
					
						
							| 
									
										
										
										
											2023-05-23 14:24:13 -07:00
										 |  |  | from ..models.uuid import Uuid | 
					
						
							| 
									
										
										
										
											2024-02-24 17:03:55 -08:00
										 |  |  | from ..models.zoo_product_subscriptions import ZooProductSubscriptions | 
					
						
							| 
									
										
										
										
											2022-07-19 04:44:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-27 16:01:20 -08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-28 23:50:50 -08:00
										 |  |  | class CustomerBalance(BaseModel): | 
					
						
							| 
									
										
										
										
											2024-01-16 15:04:35 -08:00
										 |  |  |     """A balance for a customer.
 | 
					
						
							| 
									
										
										
										
											2023-11-27 16:01:20 -08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-01-16 15:04:35 -08:00
										 |  |  |     This holds information about the financial balance for the customer."""
 | 
					
						
							| 
									
										
										
										
											2023-11-27 16:01:20 -08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-28 23:50:50 -08:00
										 |  |  |     created_at: datetime.datetime | 
					
						
							| 
									
										
										
										
											2023-11-27 16:01:20 -08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-28 23:50:50 -08:00
										 |  |  |     id: Uuid | 
					
						
							| 
									
										
										
										
											2023-11-27 16:01:20 -08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-01-16 15:04:35 -08:00
										 |  |  |     map_id: Uuid | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-02-24 17:03:55 -08:00
										 |  |  |     modeling_app_enterprise_price: Optional[SubscriptionTierPrice] = None | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-05-04 19:07:57 -07:00
										 |  |  |     monthly_api_credits_remaining: int | 
					
						
							| 
									
										
										
										
											2023-11-27 16:01:20 -08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-05-04 19:07:57 -07:00
										 |  |  |     monthly_api_credits_remaining_monetary_value: float | 
					
						
							| 
									
										
										
										
											2023-11-27 16:01:20 -08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-05-04 19:07:57 -07:00
										 |  |  |     stable_api_credits_remaining: int | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     stable_api_credits_remaining_monetary_value: float | 
					
						
							| 
									
										
										
										
											2023-11-27 16:01:20 -08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-02-24 17:03:55 -08:00
										 |  |  |     subscription_details: Optional[ZooProductSubscriptions] = None | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     subscription_id: Optional[str] = None | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-05-07 15:39:47 -07:00
										 |  |  |     total_due: Optional[float] = None | 
					
						
							| 
									
										
										
										
											2023-11-27 16:01:20 -08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-28 23:50:50 -08:00
										 |  |  |     updated_at: datetime.datetime | 
					
						
							| 
									
										
										
										
											2023-11-27 16:01:20 -08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-01-06 18:32:21 -08:00
										 |  |  |     model_config = ConfigDict(protected_namespaces=()) |