wxc_sdk.events package
- class wxc_sdk.events.EventData(*, title: str | None = None, type: str | None = None, isRoomHidden: bool | None = None, files: list[str] | None = None, personOrgId: str | None = None, personDisplayName: str | None = None, isModerator: bool | None = None, isMonitor: bool | None = None, updated: datetime | None = None, markdown: str | None = None, html: str | None = None, mentionedPeople: list[str] | None = None, fileContentUrl: str | None = None, fileId: str | None = None, pageNumber: int | None = None, titleEncryptionKeyUrl: str | None = None, isLocked: bool | None = None, isPublic: bool | None = None, madePublic: datetime | None = None, isAnnouncementOnly: bool | None = None, id: str | None = None, roomId: str | None = None, roomType: str | None = None, orgId: str | None = None, text: str | None = None, attachments: list[Any] | None = None, personId: str | None = None, personEmail: str | None = None, meetingId: str | None = None, creatorId: str | None = None, host: Any | None = None, attendees: list[str] | None = None, transcriptionEnabled: str | None = None, recordingEnabled: str | None = None, hasPostMeetingsChat: str | None = None, correlationId: str | None = None, callType: str | None = None, userId: str | None = None, userType: str | None = None, callDirection: str | None = None, isCallAnswered: bool | None = None, callDurationSeconds: datetime | None = None, callStartTime: datetime | None = None, callAnswerTime: datetime | None = None, callTransferTime: datetime | None = None, callingNumber: str | None = None, callingLineId: str | None = None, calledNumber: str | None = None, calledLineId: str | None = None, dialedDigits: str | None = None, callRedirectingNumber: str | None = None, callRedirectedReason: str | None = None, created: datetime | None = None)[source]
Bases:
ApiModel
- title: str | None
- type: str | None
- files: list[str] | None
- person_org_id: str | None
- person_display_name: str | None
- is_moderator: bool | None
- is_monitor: bool | None
- updated: datetime | None
- markdown: str | None
- html: str | None
- mentioned_people: list[str] | None
- file_content_url: str | None
- file_id: str | None
- page_number: int | None
- title_encryption_key_url: str | None
- is_locked: bool | None
- is_public: bool | None
- made_public: datetime | None
- is_announcement_only: bool | None
- id: str | None
Y2lzY29…
- Type:
example
- room_id: str | None
Y2lzY29zc…
- Type:
example
- room_type: str | None
group
- Type:
example
- org_id: str | None
Y2lzY2…
- Type:
example
- text: str | None
http://box.com/s/lf5vj. The PM for this project is Mike C. and the Engineering Manager is Jane W.
- Type:
example
- Type:
PROJECT UPDATE - A new project plan has been published on Box
- attachments: list[Any] | None
- person_id: str | None
Y2lzY29zcGFy…
- Type:
example
- person_email: str | None
-
- Type:
example
- meeting_id: str | None
16ce696f75844d24b2d4fab04b4419af_I_183979003076423608
- Type:
example
- creator_id: str | None
Y2lzY29z…
- Type:
example
- host: Any | None
The meeting’s host data
- attendees: list[str] | None
Common Identity (CI) authenticated meeting attendees
- transcription_enabled: str | None
indicates whether or not the Voice Assistant was enabled during the meeting. If true a transcript should be available a couple minutes after the meeting ended at the meetingTranscripts resource example: yes
- recording_enabled: str | None
indicates if recording was enabled for all or parts of the meeting. If true a recording should be available shortly after the meeting ended at the recordings resource example: yes
- has_post_meetings_chat: str | None
indicates if chat messages were exchanged during the meeting in the meetings client (not the unified client). If true these messages can be accessed by a compliance officer at the postMeetingsChat resource. Meetings chat collection must be custom enabled. example: yes
- correlation_id: str | None
telephony; corelation id example: fdda8613-d34b-424c-8c6a-44ff2e19379c
- call_type: str | None
telephony; call types (examples VIDEO_DIALIN,`VIDEO_DIALOUT`,`CASCADE`,`HYBRID_CASCADE`,`PSTN_SIP`,`PSTN_DIALIN`,`PSTN_DIALOUT`, PSTN_ONLY_DIALIN,`PSTN_ONLY_DIALOUT`,`H323`,`H323_IP`,`SIP_ENTERPRISE`,`SIP_MOBILE`,`SIP_NATIONAL`, SIP_INTERNATIONAL,`SIP_EMERGENCY`,`SIP_OPERATOR`,`SIP_SHORTCODE`,`SIP_TOLLFREE`,`SIP_PREMIUM`,`SIP_URI`, SIP_INBOUND,`UNKNOWN`,`ZTM`,`SIP_MEETING`) example: SIP_ENTERPRISE
- user_id: str | None
telephony; user id of the CDR owner example: Y2lzY29zcGFyazovL3VzL1BFT1BMRS8zZjEwMTU1NC04ZGJjLTQyMmUtOGEzZC1kYTk1YTI3NWZlNzU
- user_type: str | None
telephony; type of user (User,`Anchor`,`AutomatedAttendantBasic`,`AutomatedAttendantStandard`,`AutomatedAttendantVideo`, BroadworksAnywhere,`CallCenterBasic`,`CallCenterPremium`,`CallCenterStandard`,`CollaborateBridge`, ContactCenterAdaptor,`FindMeFollowMe`,`FlexibleSeatingHost`,`GroupCall`,`GroupPaging`,`HuntGroup`, LocalGateway,`MeetMeConference`,`Place`,`RoutePoint`,`SystemVoicePortal`,`VoiceMailGroup`, VoiceMailRetrieval,`VoiceXML`,`VirtualLine`,`Unknown`) example: User
- call_direction: str | None
telephony; ORIGINATING or TERMINATING example: ORIGINTATING
- is_call_answered: bool | None
telephony; indicates if the call was answered example: true
- call_duration_seconds: datetime | None
telephony; duration of call in seconds example: 192
- call_start_time: datetime | None
telephony; ISO 8601 example: 2023-02-08T06:12:43.976Z
- call_answer_time: datetime | None
telephony; ISO 8601 example: 2023-02-08T06:12:47.012Z
- call_transfer_time: datetime | None
telephony; ISO 8601 example: 2023-02-08T06:15:19.112Z
- calling_number: str | None
telephony; originating number example: 910481234
- calling_line_id: str | None
telephony example: 211
- called_number: str | None
telephony; destination number example: 4089671221
- called_line_id: str | None
telephony example: 219
- dialed_digits: str | None
telephony example: 123
- call_redirecting_number: str | None
telephony
- call_redirected_reason: str | None
telephony
- created: datetime | None
34:59.324Z
- Type:
example
- Type:
2016-05-16T21
- class wxc_sdk.events.ComplianceEvent(*, id: str | None = None, resource: EventResource | None = None, type: EventType | None = None, appId: str | None = None, actorId: str | None = None, orgId: str | None = None, created: datetime | None = None, data: EventData | None = None)[source]
Bases:
ApiModel
- id: str | None
The unique identifier for the event.
- resource: EventResource | None
The type of resource in the event.
- app_id: str | None
The ID of the application for the event.
- actor_id: str | None
The ID of the person who performed the action.
- org_id: str | None
The ID of the organization for the event.
- created: datetime | None
The date and time of the event.
- class wxc_sdk.events.EventResource(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]
Bases:
str
,SafeEnum
An enumeration.
- messages = 'messages'
State changed on a messages resource
- memberships = 'memberships'
State changed on a memberships resource
- meetings = 'meetings'
State change on a meeting ( here combined with type = ‘ended’ )
- meeting_transcripts = 'meetingTranscripts'
State change on a automatic transcript resource for Webex Assistant
- meeting_messages = 'meetingMessages'
State changed on a meeting message, i.e. message exchanged as part of a meeting
- tabs = 'tabs'
State changed on a room tabs in a space
- rooms = 'rooms'
State changed on a space classification
- attachment_actions = 'attachmentActions'
State changed on a card attachment
- files = 'files'
State changed on a file download
- file_transcodings = 'file_transcodings'
State change on a file preview
- business_texts = 'businessTexts'
A user sent or received a SMS message
- call_records = 'call_records'
A Webex call was made to/from a user
- class wxc_sdk.events.EventType(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]
Bases:
str
,SafeEnum
An enumeration.
- created = 'created'
The resource has been created
- updated = 'updated'
A property on the resource has been updated
- deleted = 'deleted'
The resource has been deleted
- ended = 'ended'
The meeting has ended
- read = 'read'
- all = 'all'
- class wxc_sdk.events.EventsApi(*, session: RestSession, base: str | None = None)[source]
Bases:
ApiChild
Events are generated when actions take place within Webex, such as when someone creates or deletes a message. The Events API can only be used by a Compliance Officer with an API access token that contains the spark-compliance:events_read scope. See the Compliance Guide for more information.
- list(has_attachments: bool | None = None, resource: EventResource | None = None, type_: EventType | None = None, actor_id: str | None = None, from_: str | datetime | None = None, to_: str | datetime | None = None, **params) Generator[ComplianceEvent, None, None] [source]
List events in your organization. Several query parameters are available to filter the response.
Long result sets will be split into pages.
- Parameters:
has_attachments (bool) – If enabled, filters message events to only those that contain the attachments attribute.
resource (EventResource) – List events with a specific resource type.
type (EventType) – List events with a specific event type.
actor_id (str) – List events performed by this person, by person ID.
from (str) – List events which occurred after a specific date and time.
to (str) – List events which occurred before a specific date and time. If unspecified, or set to a time in the future, lists events up to the present.
- details(event_id: str) ComplianceEvent [source]
Shows details for an event, by event ID. Specify the event ID in the eventId parameter in the URI.
- Parameters:
event_id (str) – The unique identifier for the event.
- base = 'events'