nominal-api 0.600.1__py3-none-any.whl → 0.601.0__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.
Potentially problematic release.
This version of nominal-api might be problematic. Click here for more details.
- nominal_api/__init__.py +1 -1
- nominal_api/_impl.py +128 -5
- nominal_api/scout_video_api/__init__.py +3 -0
- {nominal_api-0.600.1.dist-info → nominal_api-0.601.0.dist-info}/METADATA +1 -1
- {nominal_api-0.600.1.dist-info → nominal_api-0.601.0.dist-info}/RECORD +7 -7
- {nominal_api-0.600.1.dist-info → nominal_api-0.601.0.dist-info}/WHEEL +0 -0
- {nominal_api-0.600.1.dist-info → nominal_api-0.601.0.dist-info}/top_level.txt +0 -0
nominal_api/__init__.py
CHANGED
nominal_api/_impl.py
CHANGED
|
@@ -57028,15 +57028,17 @@ class scout_integrations_api_CreateIntegrationRequest(ConjureBeanType):
|
|
|
57028
57028
|
return {
|
|
57029
57029
|
'name': ConjureFieldDefinition('name', str),
|
|
57030
57030
|
'description': ConjureFieldDefinition('description', OptionalTypeWrapper[str]),
|
|
57031
|
-
'create_integration_details': ConjureFieldDefinition('createIntegrationDetails', scout_integrations_api_CreateIntegrationDetails)
|
|
57031
|
+
'create_integration_details': ConjureFieldDefinition('createIntegrationDetails', scout_integrations_api_CreateIntegrationDetails),
|
|
57032
|
+
'workspace': ConjureFieldDefinition('workspace', OptionalTypeWrapper[api_ids_WorkspaceId])
|
|
57032
57033
|
}
|
|
57033
57034
|
|
|
57034
|
-
__slots__: List[str] = ['_name', '_description', '_create_integration_details']
|
|
57035
|
+
__slots__: List[str] = ['_name', '_description', '_create_integration_details', '_workspace']
|
|
57035
57036
|
|
|
57036
|
-
def __init__(self, create_integration_details: "scout_integrations_api_CreateIntegrationDetails", name: str, description: Optional[str] = None) -> None:
|
|
57037
|
+
def __init__(self, create_integration_details: "scout_integrations_api_CreateIntegrationDetails", name: str, description: Optional[str] = None, workspace: Optional[str] = None) -> None:
|
|
57037
57038
|
self._name = name
|
|
57038
57039
|
self._description = description
|
|
57039
57040
|
self._create_integration_details = create_integration_details
|
|
57041
|
+
self._workspace = workspace
|
|
57040
57042
|
|
|
57041
57043
|
@builtins.property
|
|
57042
57044
|
def name(self) -> str:
|
|
@@ -57050,6 +57052,14 @@ class scout_integrations_api_CreateIntegrationRequest(ConjureBeanType):
|
|
|
57050
57052
|
def create_integration_details(self) -> "scout_integrations_api_CreateIntegrationDetails":
|
|
57051
57053
|
return self._create_integration_details
|
|
57052
57054
|
|
|
57055
|
+
@builtins.property
|
|
57056
|
+
def workspace(self) -> Optional[str]:
|
|
57057
|
+
"""
|
|
57058
|
+
The workspace in which to create the integration. If not provided, the integration will be created in the default workspace for
|
|
57059
|
+
the user's organization, if the default workspace for the organization is configured.
|
|
57060
|
+
"""
|
|
57061
|
+
return self._workspace
|
|
57062
|
+
|
|
57053
57063
|
|
|
57054
57064
|
scout_integrations_api_CreateIntegrationRequest.__name__ = "CreateIntegrationRequest"
|
|
57055
57065
|
scout_integrations_api_CreateIntegrationRequest.__qualname__ = "CreateIntegrationRequest"
|
|
@@ -57290,7 +57300,7 @@ class scout_integrations_api_IntegrationsService(Service):
|
|
|
57290
57300
|
Service for managing integrations with external services.
|
|
57291
57301
|
"""
|
|
57292
57302
|
|
|
57293
|
-
def generate_slack_webhook_link(self, auth_header: str) -> "scout_integrations_api_GenerateSlackWebhookResponse":
|
|
57303
|
+
def generate_slack_webhook_link(self, auth_header: str, workspace: Optional[str] = None) -> "scout_integrations_api_GenerateSlackWebhookResponse":
|
|
57294
57304
|
"""
|
|
57295
57305
|
Generates link to request permissions for Slack bot to join workspaces and use a webhook.
|
|
57296
57306
|
"""
|
|
@@ -57301,6 +57311,7 @@ class scout_integrations_api_IntegrationsService(Service):
|
|
|
57301
57311
|
}
|
|
57302
57312
|
|
|
57303
57313
|
_params: Dict[str, Any] = {
|
|
57314
|
+
'workspace': workspace,
|
|
57304
57315
|
}
|
|
57305
57316
|
|
|
57306
57317
|
_path_params: Dict[str, Any] = {
|
|
@@ -57481,10 +57492,11 @@ class scout_integrations_api_IntegrationsService(Service):
|
|
|
57481
57492
|
_decoder = ConjureDecoder()
|
|
57482
57493
|
return _decoder.decode(_response.json(), scout_integrations_api_Integration, self._return_none_for_unknown_union_types)
|
|
57483
57494
|
|
|
57484
|
-
def list_integrations(self, auth_header: str) -> List["scout_integrations_api_Integration"]:
|
|
57495
|
+
def list_integrations(self, auth_header: str, workspaces: List[str] = None) -> List["scout_integrations_api_Integration"]:
|
|
57485
57496
|
"""
|
|
57486
57497
|
Lists all integrations.
|
|
57487
57498
|
"""
|
|
57499
|
+
workspaces = workspaces if workspaces is not None else []
|
|
57488
57500
|
|
|
57489
57501
|
_headers: Dict[str, Any] = {
|
|
57490
57502
|
'Accept': 'application/json',
|
|
@@ -57492,6 +57504,7 @@ class scout_integrations_api_IntegrationsService(Service):
|
|
|
57492
57504
|
}
|
|
57493
57505
|
|
|
57494
57506
|
_params: Dict[str, Any] = {
|
|
57507
|
+
'workspaces': workspaces,
|
|
57495
57508
|
}
|
|
57496
57509
|
|
|
57497
57510
|
_path_params: Dict[str, Any] = {
|
|
@@ -65082,6 +65095,41 @@ optional set of bounds.
|
|
|
65082
65095
|
_decoder = ConjureDecoder()
|
|
65083
65096
|
return _decoder.decode(_response.json(), List[scout_video_api_SegmentSummary], self._return_none_for_unknown_union_types)
|
|
65084
65097
|
|
|
65098
|
+
def get_file_summaries(self, auth_header: str, request: "scout_video_api_GetFileSummariesRequest", video_rid: str) -> "scout_video_api_GetFileSummariesResponse":
|
|
65099
|
+
"""
|
|
65100
|
+
Returns the min and max absolute timestamps from non-archived video files associated with a given video that
|
|
65101
|
+
overlap with an optional set of bounds. The files on the edges of the bounds will be truncated to segments
|
|
65102
|
+
that are inside or overlap with the bounds.
|
|
65103
|
+
"""
|
|
65104
|
+
|
|
65105
|
+
_headers: Dict[str, Any] = {
|
|
65106
|
+
'Accept': 'application/json',
|
|
65107
|
+
'Content-Type': 'application/json',
|
|
65108
|
+
'Authorization': auth_header,
|
|
65109
|
+
}
|
|
65110
|
+
|
|
65111
|
+
_params: Dict[str, Any] = {
|
|
65112
|
+
}
|
|
65113
|
+
|
|
65114
|
+
_path_params: Dict[str, Any] = {
|
|
65115
|
+
'videoRid': video_rid,
|
|
65116
|
+
}
|
|
65117
|
+
|
|
65118
|
+
_json: Any = ConjureEncoder().default(request)
|
|
65119
|
+
|
|
65120
|
+
_path = '/video/v1/videos/{videoRid}/get-ranges-with-existing-segment-data'
|
|
65121
|
+
_path = _path.format(**_path_params)
|
|
65122
|
+
|
|
65123
|
+
_response: Response = self._request(
|
|
65124
|
+
'POST',
|
|
65125
|
+
self._uri + _path,
|
|
65126
|
+
params=_params,
|
|
65127
|
+
headers=_headers,
|
|
65128
|
+
json=_json)
|
|
65129
|
+
|
|
65130
|
+
_decoder = ConjureDecoder()
|
|
65131
|
+
return _decoder.decode(_response.json(), scout_video_api_GetFileSummariesResponse, self._return_none_for_unknown_union_types)
|
|
65132
|
+
|
|
65085
65133
|
|
|
65086
65134
|
scout_video_VideoService.__name__ = "VideoService"
|
|
65087
65135
|
scout_video_VideoService.__qualname__ = "VideoService"
|
|
@@ -65474,6 +65522,35 @@ scout_video_api_ErrorIngestStatus.__qualname__ = "ErrorIngestStatus"
|
|
|
65474
65522
|
scout_video_api_ErrorIngestStatus.__module__ = "nominal_api.scout_video_api"
|
|
65475
65523
|
|
|
65476
65524
|
|
|
65525
|
+
class scout_video_api_FileSummary(ConjureBeanType):
|
|
65526
|
+
|
|
65527
|
+
@builtins.classmethod
|
|
65528
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
65529
|
+
return {
|
|
65530
|
+
'file_rid': ConjureFieldDefinition('fileRid', api_rids_VideoFileRid),
|
|
65531
|
+
'bounds': ConjureFieldDefinition('bounds', scout_video_api_Bounds)
|
|
65532
|
+
}
|
|
65533
|
+
|
|
65534
|
+
__slots__: List[str] = ['_file_rid', '_bounds']
|
|
65535
|
+
|
|
65536
|
+
def __init__(self, bounds: "scout_video_api_Bounds", file_rid: str) -> None:
|
|
65537
|
+
self._file_rid = file_rid
|
|
65538
|
+
self._bounds = bounds
|
|
65539
|
+
|
|
65540
|
+
@builtins.property
|
|
65541
|
+
def file_rid(self) -> str:
|
|
65542
|
+
return self._file_rid
|
|
65543
|
+
|
|
65544
|
+
@builtins.property
|
|
65545
|
+
def bounds(self) -> "scout_video_api_Bounds":
|
|
65546
|
+
return self._bounds
|
|
65547
|
+
|
|
65548
|
+
|
|
65549
|
+
scout_video_api_FileSummary.__name__ = "FileSummary"
|
|
65550
|
+
scout_video_api_FileSummary.__qualname__ = "FileSummary"
|
|
65551
|
+
scout_video_api_FileSummary.__module__ = "nominal_api.scout_video_api"
|
|
65552
|
+
|
|
65553
|
+
|
|
65477
65554
|
class scout_video_api_GetEnrichedVideoIngestStatusRequest(ConjureBeanType):
|
|
65478
65555
|
|
|
65479
65556
|
@builtins.classmethod
|
|
@@ -65503,6 +65580,52 @@ scout_video_api_GetEnrichedVideoIngestStatusRequest.__qualname__ = "GetEnrichedV
|
|
|
65503
65580
|
scout_video_api_GetEnrichedVideoIngestStatusRequest.__module__ = "nominal_api.scout_video_api"
|
|
65504
65581
|
|
|
65505
65582
|
|
|
65583
|
+
class scout_video_api_GetFileSummariesRequest(ConjureBeanType):
|
|
65584
|
+
|
|
65585
|
+
@builtins.classmethod
|
|
65586
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
65587
|
+
return {
|
|
65588
|
+
'bounds': ConjureFieldDefinition('bounds', OptionalTypeWrapper[scout_video_api_Bounds])
|
|
65589
|
+
}
|
|
65590
|
+
|
|
65591
|
+
__slots__: List[str] = ['_bounds']
|
|
65592
|
+
|
|
65593
|
+
def __init__(self, bounds: Optional["scout_video_api_Bounds"] = None) -> None:
|
|
65594
|
+
self._bounds = bounds
|
|
65595
|
+
|
|
65596
|
+
@builtins.property
|
|
65597
|
+
def bounds(self) -> Optional["scout_video_api_Bounds"]:
|
|
65598
|
+
return self._bounds
|
|
65599
|
+
|
|
65600
|
+
|
|
65601
|
+
scout_video_api_GetFileSummariesRequest.__name__ = "GetFileSummariesRequest"
|
|
65602
|
+
scout_video_api_GetFileSummariesRequest.__qualname__ = "GetFileSummariesRequest"
|
|
65603
|
+
scout_video_api_GetFileSummariesRequest.__module__ = "nominal_api.scout_video_api"
|
|
65604
|
+
|
|
65605
|
+
|
|
65606
|
+
class scout_video_api_GetFileSummariesResponse(ConjureBeanType):
|
|
65607
|
+
|
|
65608
|
+
@builtins.classmethod
|
|
65609
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
65610
|
+
return {
|
|
65611
|
+
'file_summaries': ConjureFieldDefinition('fileSummaries', List[scout_video_api_FileSummary])
|
|
65612
|
+
}
|
|
65613
|
+
|
|
65614
|
+
__slots__: List[str] = ['_file_summaries']
|
|
65615
|
+
|
|
65616
|
+
def __init__(self, file_summaries: List["scout_video_api_FileSummary"]) -> None:
|
|
65617
|
+
self._file_summaries = file_summaries
|
|
65618
|
+
|
|
65619
|
+
@builtins.property
|
|
65620
|
+
def file_summaries(self) -> List["scout_video_api_FileSummary"]:
|
|
65621
|
+
return self._file_summaries
|
|
65622
|
+
|
|
65623
|
+
|
|
65624
|
+
scout_video_api_GetFileSummariesResponse.__name__ = "GetFileSummariesResponse"
|
|
65625
|
+
scout_video_api_GetFileSummariesResponse.__qualname__ = "GetFileSummariesResponse"
|
|
65626
|
+
scout_video_api_GetFileSummariesResponse.__module__ = "nominal_api.scout_video_api"
|
|
65627
|
+
|
|
65628
|
+
|
|
65506
65629
|
class scout_video_api_GetIngestStatusResponse(ConjureBeanType):
|
|
65507
65630
|
|
|
65508
65631
|
@builtins.classmethod
|
|
@@ -11,7 +11,10 @@ from .._impl import (
|
|
|
11
11
|
scout_video_api_EnrichedVideoIngestStatus as EnrichedVideoIngestStatus,
|
|
12
12
|
scout_video_api_ErrorIngestStatus as ErrorIngestStatus,
|
|
13
13
|
scout_video_api_ErrorType as ErrorType,
|
|
14
|
+
scout_video_api_FileSummary as FileSummary,
|
|
14
15
|
scout_video_api_GetEnrichedVideoIngestStatusRequest as GetEnrichedVideoIngestStatusRequest,
|
|
16
|
+
scout_video_api_GetFileSummariesRequest as GetFileSummariesRequest,
|
|
17
|
+
scout_video_api_GetFileSummariesResponse as GetFileSummariesResponse,
|
|
15
18
|
scout_video_api_GetIngestStatusResponse as GetIngestStatusResponse,
|
|
16
19
|
scout_video_api_GetPlaylistInBoundsRequest as GetPlaylistInBoundsRequest,
|
|
17
20
|
scout_video_api_GetSegmentByTimestampRequest as GetSegmentByTimestampRequest,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
nominal_api/__init__.py,sha256=
|
|
2
|
-
nominal_api/_impl.py,sha256=
|
|
1
|
+
nominal_api/__init__.py,sha256=DIzHMZVDho2HAWuWwQkECCujRqjmD1UfU1ENaFeRU6s,1968
|
|
2
|
+
nominal_api/_impl.py,sha256=zEA36riA4DIjAoVET03tScizE8bhuUTchFiDqIgrXu4,2886959
|
|
3
3
|
nominal_api/py.typed,sha256=eoZ6GfifbqhMLNzjlqRDVil-yyBkOmVN9ujSgJWNBlY,15
|
|
4
4
|
nominal_api/api/__init__.py,sha256=kJBEE_HLVpKYdLH12KyO-cSAVzwxYpBwaaDutCtT-LM,1236
|
|
5
5
|
nominal_api/api_ids/__init__.py,sha256=CAtt44XgNZEEUDv-BbEbYtuxQ8y1wqSZU-STjBYdZv8,80
|
|
@@ -54,7 +54,7 @@ nominal_api/scout_template_api/__init__.py,sha256=bsu8qPiZ4gf67G5iFvwsfkqEKJRZ7L
|
|
|
54
54
|
nominal_api/scout_units_api/__init__.py,sha256=KxRDScfumX__0ncWJftGvgApn_LBTfnIBAvnaBrcA5A,368
|
|
55
55
|
nominal_api/scout_versioning_api/__init__.py,sha256=Sf4T4t0rZXNRIZgkqLBN3yh0sAnrxiuzaTfDQVVkyO4,1323
|
|
56
56
|
nominal_api/scout_video/__init__.py,sha256=zB7mM23yGAgC529rF4gjDmqcLRbsp0kJA3xef8meZko,200
|
|
57
|
-
nominal_api/scout_video_api/__init__.py,sha256=
|
|
57
|
+
nominal_api/scout_video_api/__init__.py,sha256=38gU3YzC_xtAzQLx8T3GPtfla9Bd5DTTRL299fjGgeg,3952
|
|
58
58
|
nominal_api/scout_workbookcommon_api/__init__.py,sha256=6Ai0cYNOOw2A6JOlKzraTbpZwolspM-WTqVGLMN2HdI,413
|
|
59
59
|
nominal_api/secrets_api/__init__.py,sha256=V5BpnbNzjdMP8kgvR2N6SEVcVyXi6Vyl_lh_5fKjJzw,736
|
|
60
60
|
nominal_api/security_api_workspace/__init__.py,sha256=18MQr8sUGDfaXl50sMR7objE5rBJ9dZ1Sjwuyf997dA,156
|
|
@@ -72,7 +72,7 @@ nominal_api/timeseries_logicalseries_api/__init__.py,sha256=Q9iZHurmyDsJIFbUg-Eb
|
|
|
72
72
|
nominal_api/timeseries_seriescache/__init__.py,sha256=tFCkNuyrVMgtj-HIl1pOYPJHaL2VikI4C_x97bX_Lcs,109
|
|
73
73
|
nominal_api/timeseries_seriescache_api/__init__.py,sha256=U9EhlqdF9qzD1O9al0vcvcdgS_C5lq-lN3Kmr0K3g84,1191
|
|
74
74
|
nominal_api/upload_api/__init__.py,sha256=ZMudWMSqCrNozohbHaJKuxJnT9Edepe7nxxXMz_pT9k,87
|
|
75
|
-
nominal_api-0.
|
|
76
|
-
nominal_api-0.
|
|
77
|
-
nominal_api-0.
|
|
78
|
-
nominal_api-0.
|
|
75
|
+
nominal_api-0.601.0.dist-info/METADATA,sha256=7acm07N950D-UwqmSGDJqF17jVJZgmK8joR_1hT1jM8,199
|
|
76
|
+
nominal_api-0.601.0.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
|
77
|
+
nominal_api-0.601.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
|
|
78
|
+
nominal_api-0.601.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|