File tree Expand file tree Collapse file tree
helloasso_api_wrapper/models Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77from helloasso_api_wrapper .models .statistics import OrderDetail , PaymentDetail
88
99
10- class ApiNotificationType (Enum ):
10+ class ApiNotificationType (str , Enum ):
1111 Payment = "Payment"
1212 Order = "Order"
1313 Form = "Form"
@@ -32,7 +32,7 @@ class OrganizationNotificationResultData(BaseModel):
3232class OrganizationNotificationResultContent (BaseModel ):
3333 eventType : Literal [ApiNotificationType .Organization ]
3434 data : OrganizationNotificationResultData
35- # metadata: dict[str, Any] | None = None # not sure
35+ metadata : None = None # not sure
3636
3737
3838class OrderNotificationResultContent (BaseModel ):
@@ -58,7 +58,7 @@ class PayementNotificationResultContent(BaseModel):
5858class FormNotificationResultContent (BaseModel ):
5959 eventType : Literal [ApiNotificationType .Form ]
6060 data : FormPublicModel
61- # metadata: dict[str, Any] | None = None # not sure
61+ metadata : dict [str , Any ] | None = None # not sure
6262
6363
6464NotificationResultContent = (
You can’t perform that action at this time.
0 commit comments