Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .codegen.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "engineHash": "504b5a7", "specHash": "1ed059a", "version": "10.0.0" }
{ "engineHash": "504b5a7", "specHash": "62fdfd1", "version": "10.0.0" }
2 changes: 0 additions & 2 deletions box_sdk_gen/schemas/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

from box_sdk_gen.schemas.ai_dialogue_history import *

from box_sdk_gen.schemas.ai_extract_response import *

from box_sdk_gen.schemas.ai_extract_structured_response import *

from box_sdk_gen.schemas.ai_item_base import *
Expand Down
8 changes: 0 additions & 8 deletions box_sdk_gen/schemas/ai_extract_response.py

This file was deleted.

6 changes: 3 additions & 3 deletions box_sdk_gen/schemas/ai_extract_structured_response.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from typing import Dict

from typing import Optional

from box_sdk_gen.internal.base_object import BaseObject

from box_sdk_gen.schemas.ai_extract_response import AiExtractResponse

from box_sdk_gen.schemas.ai_agent_info import AiAgentInfo

from box_sdk_gen.box.errors import BoxSDKError
Expand All @@ -14,7 +14,7 @@
class AiExtractStructuredResponse(BaseObject):
def __init__(
self,
answer: AiExtractResponse,
answer: Dict,
created_at: DateTime,
*,
completion_reason: Optional[str] = None,
Expand Down
15 changes: 6 additions & 9 deletions box_sdk_gen/schemas/event.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
from enum import Enum

from box_sdk_gen.internal.base_object import BaseObject

from typing import Optional

from typing import Dict

from box_sdk_gen.internal.base_object import BaseObject

from box_sdk_gen.schemas.user import User

from box_sdk_gen.schemas.event_source import EventSource
Expand Down Expand Up @@ -185,11 +187,6 @@ class EventEventTypeField(str, Enum):
WATERMARK_LABEL_DELETE = 'WATERMARK_LABEL_DELETE'


class EventAdditionalDetailsField(BaseObject):
def __init__(self, **kwargs):
super().__init__(**kwargs)


class Event(BaseObject):
def __init__(
self,
Expand All @@ -202,7 +199,7 @@ def __init__(
event_type: Optional[EventEventTypeField] = None,
session_id: Optional[str] = None,
source: Optional[EventSourceResource] = None,
additional_details: Optional[EventAdditionalDetailsField] = None,
additional_details: Optional[Dict] = None,
**kwargs
):
"""
Expand All @@ -223,7 +220,7 @@ def __init__(
information to correlate an event to external KeySafe logs. Not all events
have an `additional_details` object. This object is only available in the
Enterprise Events., defaults to None
:type additional_details: Optional[EventAdditionalDetailsField], optional
:type additional_details: Optional[Dict], optional
"""
super().__init__(**kwargs)
self.type = type
Expand Down
Loading