nominal-api 0.963.0__py3-none-any.whl → 0.964.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 +228 -1
- nominal_api/event/__init__.py +2 -0
- nominal_api/secrets_api/__init__.py +4 -0
- {nominal_api-0.963.0.dist-info → nominal_api-0.964.0.dist-info}/METADATA +1 -1
- {nominal_api-0.963.0.dist-info → nominal_api-0.964.0.dist-info}/RECORD +8 -8
- {nominal_api-0.963.0.dist-info → nominal_api-0.964.0.dist-info}/WHEEL +0 -0
- {nominal_api-0.963.0.dist-info → nominal_api-0.964.0.dist-info}/top_level.txt +0 -0
nominal_api/__init__.py
CHANGED
nominal_api/_impl.py
CHANGED
|
@@ -5937,6 +5937,35 @@ event_ArchiveEvent.__qualname__ = "ArchiveEvent"
|
|
|
5937
5937
|
event_ArchiveEvent.__module__ = "nominal_api.event"
|
|
5938
5938
|
|
|
5939
5939
|
|
|
5940
|
+
class event_AssetsFilter(ConjureBeanType):
|
|
5941
|
+
|
|
5942
|
+
@builtins.classmethod
|
|
5943
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
5944
|
+
return {
|
|
5945
|
+
'operator': ConjureFieldDefinition('operator', api_SetOperator),
|
|
5946
|
+
'assets': ConjureFieldDefinition('assets', List[scout_rids_api_AssetRid])
|
|
5947
|
+
}
|
|
5948
|
+
|
|
5949
|
+
__slots__: List[str] = ['_operator', '_assets']
|
|
5950
|
+
|
|
5951
|
+
def __init__(self, assets: List[str], operator: "api_SetOperator") -> None:
|
|
5952
|
+
self._operator = operator
|
|
5953
|
+
self._assets = assets
|
|
5954
|
+
|
|
5955
|
+
@builtins.property
|
|
5956
|
+
def operator(self) -> "api_SetOperator":
|
|
5957
|
+
return self._operator
|
|
5958
|
+
|
|
5959
|
+
@builtins.property
|
|
5960
|
+
def assets(self) -> List[str]:
|
|
5961
|
+
return self._assets
|
|
5962
|
+
|
|
5963
|
+
|
|
5964
|
+
event_AssetsFilter.__name__ = "AssetsFilter"
|
|
5965
|
+
event_AssetsFilter.__qualname__ = "AssetsFilter"
|
|
5966
|
+
event_AssetsFilter.__module__ = "nominal_api.event"
|
|
5967
|
+
|
|
5968
|
+
|
|
5940
5969
|
class event_BatchUpdateDispositionRequest(ConjureBeanType):
|
|
5941
5970
|
|
|
5942
5971
|
@builtins.classmethod
|
|
@@ -7767,11 +7796,13 @@ event_SearchEventsResponse.__module__ = "nominal_api.event"
|
|
|
7767
7796
|
|
|
7768
7797
|
|
|
7769
7798
|
class event_SearchQuery(ConjureUnionType):
|
|
7799
|
+
_archived: Optional[bool] = None
|
|
7770
7800
|
_search_text: Optional[str] = None
|
|
7771
7801
|
_after: Optional["api_Timestamp"] = None
|
|
7772
7802
|
_before: Optional["api_Timestamp"] = None
|
|
7773
7803
|
_advanced_time_filter: Optional["event_EventTimeFilter"] = None
|
|
7774
7804
|
_asset: Optional[str] = None
|
|
7805
|
+
_assets: Optional["event_AssetsFilter"] = None
|
|
7775
7806
|
_template: Optional[str] = None
|
|
7776
7807
|
_workbook: Optional[str] = None
|
|
7777
7808
|
_data_review: Optional[str] = None
|
|
@@ -7783,7 +7814,9 @@ class event_SearchQuery(ConjureUnionType):
|
|
|
7783
7814
|
_event_type: Optional["event_EventType"] = None
|
|
7784
7815
|
_created_by: Optional[str] = None
|
|
7785
7816
|
_label: Optional[str] = None
|
|
7817
|
+
_labels: Optional["scout_rids_api_LabelsFilter"] = None
|
|
7786
7818
|
_property: Optional["api_Property"] = None
|
|
7819
|
+
_properties: Optional["scout_rids_api_PropertiesFilter"] = None
|
|
7787
7820
|
_and_: Optional[List["event_SearchQuery"]] = None
|
|
7788
7821
|
_or_: Optional[List["event_SearchQuery"]] = None
|
|
7789
7822
|
_not_: Optional["event_SearchQuery"] = None
|
|
@@ -7795,11 +7828,13 @@ class event_SearchQuery(ConjureUnionType):
|
|
|
7795
7828
|
@builtins.classmethod
|
|
7796
7829
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
7797
7830
|
return {
|
|
7831
|
+
'archived': ConjureFieldDefinition('archived', bool),
|
|
7798
7832
|
'search_text': ConjureFieldDefinition('searchText', str),
|
|
7799
7833
|
'after': ConjureFieldDefinition('after', api_Timestamp),
|
|
7800
7834
|
'before': ConjureFieldDefinition('before', api_Timestamp),
|
|
7801
7835
|
'advanced_time_filter': ConjureFieldDefinition('advancedTimeFilter', event_EventTimeFilter),
|
|
7802
7836
|
'asset': ConjureFieldDefinition('asset', scout_rids_api_AssetRid),
|
|
7837
|
+
'assets': ConjureFieldDefinition('assets', event_AssetsFilter),
|
|
7803
7838
|
'template': ConjureFieldDefinition('template', scout_rids_api_TemplateRid),
|
|
7804
7839
|
'workbook': ConjureFieldDefinition('workbook', scout_rids_api_NotebookRid),
|
|
7805
7840
|
'data_review': ConjureFieldDefinition('dataReview', scout_rids_api_DataReviewRid),
|
|
@@ -7811,7 +7846,9 @@ class event_SearchQuery(ConjureUnionType):
|
|
|
7811
7846
|
'event_type': ConjureFieldDefinition('eventType', event_EventType),
|
|
7812
7847
|
'created_by': ConjureFieldDefinition('createdBy', scout_rids_api_UserRid),
|
|
7813
7848
|
'label': ConjureFieldDefinition('label', api_Label),
|
|
7849
|
+
'labels': ConjureFieldDefinition('labels', scout_rids_api_LabelsFilter),
|
|
7814
7850
|
'property': ConjureFieldDefinition('property', api_Property),
|
|
7851
|
+
'properties': ConjureFieldDefinition('properties', scout_rids_api_PropertiesFilter),
|
|
7815
7852
|
'and_': ConjureFieldDefinition('and', List[event_SearchQuery]),
|
|
7816
7853
|
'or_': ConjureFieldDefinition('or', List[event_SearchQuery]),
|
|
7817
7854
|
'not_': ConjureFieldDefinition('not', event_SearchQuery),
|
|
@@ -7823,11 +7860,13 @@ class event_SearchQuery(ConjureUnionType):
|
|
|
7823
7860
|
|
|
7824
7861
|
def __init__(
|
|
7825
7862
|
self,
|
|
7863
|
+
archived: Optional[bool] = None,
|
|
7826
7864
|
search_text: Optional[str] = None,
|
|
7827
7865
|
after: Optional["api_Timestamp"] = None,
|
|
7828
7866
|
before: Optional["api_Timestamp"] = None,
|
|
7829
7867
|
advanced_time_filter: Optional["event_EventTimeFilter"] = None,
|
|
7830
7868
|
asset: Optional[str] = None,
|
|
7869
|
+
assets: Optional["event_AssetsFilter"] = None,
|
|
7831
7870
|
template: Optional[str] = None,
|
|
7832
7871
|
workbook: Optional[str] = None,
|
|
7833
7872
|
data_review: Optional[str] = None,
|
|
@@ -7839,7 +7878,9 @@ class event_SearchQuery(ConjureUnionType):
|
|
|
7839
7878
|
event_type: Optional["event_EventType"] = None,
|
|
7840
7879
|
created_by: Optional[str] = None,
|
|
7841
7880
|
label: Optional[str] = None,
|
|
7881
|
+
labels: Optional["scout_rids_api_LabelsFilter"] = None,
|
|
7842
7882
|
property: Optional["api_Property"] = None,
|
|
7883
|
+
properties: Optional["scout_rids_api_PropertiesFilter"] = None,
|
|
7843
7884
|
and_: Optional[List["event_SearchQuery"]] = None,
|
|
7844
7885
|
or_: Optional[List["event_SearchQuery"]] = None,
|
|
7845
7886
|
not_: Optional["event_SearchQuery"] = None,
|
|
@@ -7850,9 +7891,12 @@ class event_SearchQuery(ConjureUnionType):
|
|
|
7850
7891
|
type_of_union: Optional[str] = None
|
|
7851
7892
|
) -> None:
|
|
7852
7893
|
if type_of_union is None:
|
|
7853
|
-
if (search_text is not None) + (after is not None) + (before is not None) + (advanced_time_filter is not None) + (asset is not None) + (template is not None) + (workbook is not None) + (data_review is not None) + (origin_type is not None) + (data_review_check is not None) + (disposition_status is not None) + (priority is not None) + (assignee is not None) + (event_type is not None) + (created_by is not None) + (label is not None) + (property is not None) + (and_ is not None) + (or_ is not None) + (not_ is not None) + (workspace is not None) + (procedure is not None) + (procedure_execution is not None) + (step_id is not None) != 1:
|
|
7894
|
+
if (archived is not None) + (search_text is not None) + (after is not None) + (before is not None) + (advanced_time_filter is not None) + (asset is not None) + (assets is not None) + (template is not None) + (workbook is not None) + (data_review is not None) + (origin_type is not None) + (data_review_check is not None) + (disposition_status is not None) + (priority is not None) + (assignee is not None) + (event_type is not None) + (created_by is not None) + (label is not None) + (labels is not None) + (property is not None) + (properties is not None) + (and_ is not None) + (or_ is not None) + (not_ is not None) + (workspace is not None) + (procedure is not None) + (procedure_execution is not None) + (step_id is not None) != 1:
|
|
7854
7895
|
raise ValueError('a union must contain a single member')
|
|
7855
7896
|
|
|
7897
|
+
if archived is not None:
|
|
7898
|
+
self._archived = archived
|
|
7899
|
+
self._type = 'archived'
|
|
7856
7900
|
if search_text is not None:
|
|
7857
7901
|
self._search_text = search_text
|
|
7858
7902
|
self._type = 'searchText'
|
|
@@ -7868,6 +7912,9 @@ class event_SearchQuery(ConjureUnionType):
|
|
|
7868
7912
|
if asset is not None:
|
|
7869
7913
|
self._asset = asset
|
|
7870
7914
|
self._type = 'asset'
|
|
7915
|
+
if assets is not None:
|
|
7916
|
+
self._assets = assets
|
|
7917
|
+
self._type = 'assets'
|
|
7871
7918
|
if template is not None:
|
|
7872
7919
|
self._template = template
|
|
7873
7920
|
self._type = 'template'
|
|
@@ -7901,9 +7948,15 @@ class event_SearchQuery(ConjureUnionType):
|
|
|
7901
7948
|
if label is not None:
|
|
7902
7949
|
self._label = label
|
|
7903
7950
|
self._type = 'label'
|
|
7951
|
+
if labels is not None:
|
|
7952
|
+
self._labels = labels
|
|
7953
|
+
self._type = 'labels'
|
|
7904
7954
|
if property is not None:
|
|
7905
7955
|
self._property = property
|
|
7906
7956
|
self._type = 'property'
|
|
7957
|
+
if properties is not None:
|
|
7958
|
+
self._properties = properties
|
|
7959
|
+
self._type = 'properties'
|
|
7907
7960
|
if and_ is not None:
|
|
7908
7961
|
self._and_ = and_
|
|
7909
7962
|
self._type = 'and'
|
|
@@ -7926,6 +7979,11 @@ class event_SearchQuery(ConjureUnionType):
|
|
|
7926
7979
|
self._step_id = step_id
|
|
7927
7980
|
self._type = 'stepId'
|
|
7928
7981
|
|
|
7982
|
+
elif type_of_union == 'archived':
|
|
7983
|
+
if archived is None:
|
|
7984
|
+
raise ValueError('a union value must not be None')
|
|
7985
|
+
self._archived = archived
|
|
7986
|
+
self._type = 'archived'
|
|
7929
7987
|
elif type_of_union == 'searchText':
|
|
7930
7988
|
if search_text is None:
|
|
7931
7989
|
raise ValueError('a union value must not be None')
|
|
@@ -7951,6 +8009,11 @@ class event_SearchQuery(ConjureUnionType):
|
|
|
7951
8009
|
raise ValueError('a union value must not be None')
|
|
7952
8010
|
self._asset = asset
|
|
7953
8011
|
self._type = 'asset'
|
|
8012
|
+
elif type_of_union == 'assets':
|
|
8013
|
+
if assets is None:
|
|
8014
|
+
raise ValueError('a union value must not be None')
|
|
8015
|
+
self._assets = assets
|
|
8016
|
+
self._type = 'assets'
|
|
7954
8017
|
elif type_of_union == 'template':
|
|
7955
8018
|
if template is None:
|
|
7956
8019
|
raise ValueError('a union value must not be None')
|
|
@@ -8006,11 +8069,21 @@ class event_SearchQuery(ConjureUnionType):
|
|
|
8006
8069
|
raise ValueError('a union value must not be None')
|
|
8007
8070
|
self._label = label
|
|
8008
8071
|
self._type = 'label'
|
|
8072
|
+
elif type_of_union == 'labels':
|
|
8073
|
+
if labels is None:
|
|
8074
|
+
raise ValueError('a union value must not be None')
|
|
8075
|
+
self._labels = labels
|
|
8076
|
+
self._type = 'labels'
|
|
8009
8077
|
elif type_of_union == 'property':
|
|
8010
8078
|
if property is None:
|
|
8011
8079
|
raise ValueError('a union value must not be None')
|
|
8012
8080
|
self._property = property
|
|
8013
8081
|
self._type = 'property'
|
|
8082
|
+
elif type_of_union == 'properties':
|
|
8083
|
+
if properties is None:
|
|
8084
|
+
raise ValueError('a union value must not be None')
|
|
8085
|
+
self._properties = properties
|
|
8086
|
+
self._type = 'properties'
|
|
8014
8087
|
elif type_of_union == 'and':
|
|
8015
8088
|
if and_ is None:
|
|
8016
8089
|
raise ValueError('a union value must not be None')
|
|
@@ -8047,6 +8120,10 @@ class event_SearchQuery(ConjureUnionType):
|
|
|
8047
8120
|
self._step_id = step_id
|
|
8048
8121
|
self._type = 'stepId'
|
|
8049
8122
|
|
|
8123
|
+
@builtins.property
|
|
8124
|
+
def archived(self) -> Optional[bool]:
|
|
8125
|
+
return self._archived
|
|
8126
|
+
|
|
8050
8127
|
@builtins.property
|
|
8051
8128
|
def search_text(self) -> Optional[str]:
|
|
8052
8129
|
return self._search_text
|
|
@@ -8073,6 +8150,10 @@ This includes events that start before, but end after this time.
|
|
|
8073
8150
|
def asset(self) -> Optional[str]:
|
|
8074
8151
|
return self._asset
|
|
8075
8152
|
|
|
8153
|
+
@builtins.property
|
|
8154
|
+
def assets(self) -> Optional["event_AssetsFilter"]:
|
|
8155
|
+
return self._assets
|
|
8156
|
+
|
|
8076
8157
|
@builtins.property
|
|
8077
8158
|
def template(self) -> Optional[str]:
|
|
8078
8159
|
return self._template
|
|
@@ -8117,10 +8198,18 @@ This includes events that start before, but end after this time.
|
|
|
8117
8198
|
def label(self) -> Optional[str]:
|
|
8118
8199
|
return self._label
|
|
8119
8200
|
|
|
8201
|
+
@builtins.property
|
|
8202
|
+
def labels(self) -> Optional["scout_rids_api_LabelsFilter"]:
|
|
8203
|
+
return self._labels
|
|
8204
|
+
|
|
8120
8205
|
@builtins.property
|
|
8121
8206
|
def property(self) -> Optional["api_Property"]:
|
|
8122
8207
|
return self._property
|
|
8123
8208
|
|
|
8209
|
+
@builtins.property
|
|
8210
|
+
def properties(self) -> Optional["scout_rids_api_PropertiesFilter"]:
|
|
8211
|
+
return self._properties
|
|
8212
|
+
|
|
8124
8213
|
@builtins.property
|
|
8125
8214
|
def and_(self) -> Optional[List["event_SearchQuery"]]:
|
|
8126
8215
|
return self._and_
|
|
@@ -8152,6 +8241,8 @@ This includes events that start before, but end after this time.
|
|
|
8152
8241
|
def accept(self, visitor) -> Any:
|
|
8153
8242
|
if not isinstance(visitor, event_SearchQueryVisitor):
|
|
8154
8243
|
raise ValueError('{} is not an instance of event_SearchQueryVisitor'.format(visitor.__class__.__name__))
|
|
8244
|
+
if self._type == 'archived' and self.archived is not None:
|
|
8245
|
+
return visitor._archived(self.archived)
|
|
8155
8246
|
if self._type == 'searchText' and self.search_text is not None:
|
|
8156
8247
|
return visitor._search_text(self.search_text)
|
|
8157
8248
|
if self._type == 'after' and self.after is not None:
|
|
@@ -8162,6 +8253,8 @@ This includes events that start before, but end after this time.
|
|
|
8162
8253
|
return visitor._advanced_time_filter(self.advanced_time_filter)
|
|
8163
8254
|
if self._type == 'asset' and self.asset is not None:
|
|
8164
8255
|
return visitor._asset(self.asset)
|
|
8256
|
+
if self._type == 'assets' and self.assets is not None:
|
|
8257
|
+
return visitor._assets(self.assets)
|
|
8165
8258
|
if self._type == 'template' and self.template is not None:
|
|
8166
8259
|
return visitor._template(self.template)
|
|
8167
8260
|
if self._type == 'workbook' and self.workbook is not None:
|
|
@@ -8184,8 +8277,12 @@ This includes events that start before, but end after this time.
|
|
|
8184
8277
|
return visitor._created_by(self.created_by)
|
|
8185
8278
|
if self._type == 'label' and self.label is not None:
|
|
8186
8279
|
return visitor._label(self.label)
|
|
8280
|
+
if self._type == 'labels' and self.labels is not None:
|
|
8281
|
+
return visitor._labels(self.labels)
|
|
8187
8282
|
if self._type == 'property' and self.property is not None:
|
|
8188
8283
|
return visitor._property(self.property)
|
|
8284
|
+
if self._type == 'properties' and self.properties is not None:
|
|
8285
|
+
return visitor._properties(self.properties)
|
|
8189
8286
|
if self._type == 'and' and self.and_ is not None:
|
|
8190
8287
|
return visitor._and(self.and_)
|
|
8191
8288
|
if self._type == 'or' and self.or_ is not None:
|
|
@@ -8209,6 +8306,10 @@ event_SearchQuery.__module__ = "nominal_api.event"
|
|
|
8209
8306
|
|
|
8210
8307
|
class event_SearchQueryVisitor:
|
|
8211
8308
|
|
|
8309
|
+
@abstractmethod
|
|
8310
|
+
def _archived(self, archived: bool) -> Any:
|
|
8311
|
+
pass
|
|
8312
|
+
|
|
8212
8313
|
@abstractmethod
|
|
8213
8314
|
def _search_text(self, search_text: str) -> Any:
|
|
8214
8315
|
pass
|
|
@@ -8229,6 +8330,10 @@ class event_SearchQueryVisitor:
|
|
|
8229
8330
|
def _asset(self, asset: str) -> Any:
|
|
8230
8331
|
pass
|
|
8231
8332
|
|
|
8333
|
+
@abstractmethod
|
|
8334
|
+
def _assets(self, assets: "event_AssetsFilter") -> Any:
|
|
8335
|
+
pass
|
|
8336
|
+
|
|
8232
8337
|
@abstractmethod
|
|
8233
8338
|
def _template(self, template: str) -> Any:
|
|
8234
8339
|
pass
|
|
@@ -8273,10 +8378,18 @@ class event_SearchQueryVisitor:
|
|
|
8273
8378
|
def _label(self, label: str) -> Any:
|
|
8274
8379
|
pass
|
|
8275
8380
|
|
|
8381
|
+
@abstractmethod
|
|
8382
|
+
def _labels(self, labels: "scout_rids_api_LabelsFilter") -> Any:
|
|
8383
|
+
pass
|
|
8384
|
+
|
|
8276
8385
|
@abstractmethod
|
|
8277
8386
|
def _property(self, property: "api_Property") -> Any:
|
|
8278
8387
|
pass
|
|
8279
8388
|
|
|
8389
|
+
@abstractmethod
|
|
8390
|
+
def _properties(self, properties: "scout_rids_api_PropertiesFilter") -> Any:
|
|
8391
|
+
pass
|
|
8392
|
+
|
|
8280
8393
|
@abstractmethod
|
|
8281
8394
|
def _and(self, and_: List["event_SearchQuery"]) -> Any:
|
|
8282
8395
|
pass
|
|
@@ -90138,6 +90251,77 @@ secrets_api_CreateSecretRequest.__qualname__ = "CreateSecretRequest"
|
|
|
90138
90251
|
secrets_api_CreateSecretRequest.__module__ = "nominal_api.secrets_api"
|
|
90139
90252
|
|
|
90140
90253
|
|
|
90254
|
+
class secrets_api_DecryptedSecret(ConjureBeanType):
|
|
90255
|
+
|
|
90256
|
+
@builtins.classmethod
|
|
90257
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
90258
|
+
return {
|
|
90259
|
+
'rid': ConjureFieldDefinition('rid', secrets_api_SecretRid),
|
|
90260
|
+
'name': ConjureFieldDefinition('name', str),
|
|
90261
|
+
'description': ConjureFieldDefinition('description', str),
|
|
90262
|
+
'decrypted_value': ConjureFieldDefinition('decryptedValue', str),
|
|
90263
|
+
'created_by': ConjureFieldDefinition('createdBy', str),
|
|
90264
|
+
'properties': ConjureFieldDefinition('properties', Dict[api_PropertyName, api_PropertyValue]),
|
|
90265
|
+
'labels': ConjureFieldDefinition('labels', List[api_Label]),
|
|
90266
|
+
'created_at': ConjureFieldDefinition('createdAt', str),
|
|
90267
|
+
'is_archived': ConjureFieldDefinition('isArchived', bool)
|
|
90268
|
+
}
|
|
90269
|
+
|
|
90270
|
+
__slots__: List[str] = ['_rid', '_name', '_description', '_decrypted_value', '_created_by', '_properties', '_labels', '_created_at', '_is_archived']
|
|
90271
|
+
|
|
90272
|
+
def __init__(self, created_at: str, created_by: str, decrypted_value: str, description: str, is_archived: bool, labels: List[str], name: str, properties: Dict[str, str], rid: str) -> None:
|
|
90273
|
+
self._rid = rid
|
|
90274
|
+
self._name = name
|
|
90275
|
+
self._description = description
|
|
90276
|
+
self._decrypted_value = decrypted_value
|
|
90277
|
+
self._created_by = created_by
|
|
90278
|
+
self._properties = properties
|
|
90279
|
+
self._labels = labels
|
|
90280
|
+
self._created_at = created_at
|
|
90281
|
+
self._is_archived = is_archived
|
|
90282
|
+
|
|
90283
|
+
@builtins.property
|
|
90284
|
+
def rid(self) -> str:
|
|
90285
|
+
return self._rid
|
|
90286
|
+
|
|
90287
|
+
@builtins.property
|
|
90288
|
+
def name(self) -> str:
|
|
90289
|
+
return self._name
|
|
90290
|
+
|
|
90291
|
+
@builtins.property
|
|
90292
|
+
def description(self) -> str:
|
|
90293
|
+
return self._description
|
|
90294
|
+
|
|
90295
|
+
@builtins.property
|
|
90296
|
+
def decrypted_value(self) -> str:
|
|
90297
|
+
return self._decrypted_value
|
|
90298
|
+
|
|
90299
|
+
@builtins.property
|
|
90300
|
+
def created_by(self) -> str:
|
|
90301
|
+
return self._created_by
|
|
90302
|
+
|
|
90303
|
+
@builtins.property
|
|
90304
|
+
def properties(self) -> Dict[str, str]:
|
|
90305
|
+
return self._properties
|
|
90306
|
+
|
|
90307
|
+
@builtins.property
|
|
90308
|
+
def labels(self) -> List[str]:
|
|
90309
|
+
return self._labels
|
|
90310
|
+
|
|
90311
|
+
@builtins.property
|
|
90312
|
+
def created_at(self) -> str:
|
|
90313
|
+
return self._created_at
|
|
90314
|
+
|
|
90315
|
+
@builtins.property
|
|
90316
|
+
def is_archived(self) -> bool:
|
|
90317
|
+
return self._is_archived
|
|
90318
|
+
|
|
90319
|
+
|
|
90320
|
+
secrets_api_DecryptedSecret.__name__ = "DecryptedSecret"
|
|
90321
|
+
secrets_api_DecryptedSecret.__qualname__ = "DecryptedSecret"
|
|
90322
|
+
secrets_api_DecryptedSecret.__module__ = "nominal_api.secrets_api"
|
|
90323
|
+
|
|
90324
|
+
|
|
90141
90325
|
class secrets_api_GetSecretsRequest(ConjureBeanType):
|
|
90142
90326
|
|
|
90143
90327
|
@builtins.classmethod
|
|
@@ -90184,6 +90368,49 @@ secrets_api_GetSecretsResponse.__qualname__ = "GetSecretsResponse"
|
|
|
90184
90368
|
secrets_api_GetSecretsResponse.__module__ = "nominal_api.secrets_api"
|
|
90185
90369
|
|
|
90186
90370
|
|
|
90371
|
+
class secrets_api_InternalSecretService(Service):
|
|
90372
|
+
"""The internal secrets service provides functionality for retrieving customer secrets where the "user" is a service.
|
|
90373
|
+
"""
|
|
90374
|
+
|
|
90375
|
+
def get_decrypted(self, auth_header: str, rid: str) -> "secrets_api_DecryptedSecret":
|
|
90376
|
+
"""Get decrypted secret by rid. This is a privileged operation that is restricted to services only.
|
|
90377
|
+
This endpoint must be a conjure endpoint in order to support TLS.
|
|
90378
|
+
"""
|
|
90379
|
+
_conjure_encoder = ConjureEncoder()
|
|
90380
|
+
|
|
90381
|
+
_headers: Dict[str, Any] = {
|
|
90382
|
+
'Accept': 'application/json',
|
|
90383
|
+
'Authorization': auth_header,
|
|
90384
|
+
}
|
|
90385
|
+
|
|
90386
|
+
_params: Dict[str, Any] = {
|
|
90387
|
+
}
|
|
90388
|
+
|
|
90389
|
+
_path_params: Dict[str, str] = {
|
|
90390
|
+
'rid': quote(str(_conjure_encoder.default(rid)), safe=''),
|
|
90391
|
+
}
|
|
90392
|
+
|
|
90393
|
+
_json: Any = None
|
|
90394
|
+
|
|
90395
|
+
_path = '/secrets/internal/v1/secrets/{rid}/decrypted'
|
|
90396
|
+
_path = _path.format(**_path_params)
|
|
90397
|
+
|
|
90398
|
+
_response: Response = self._request(
|
|
90399
|
+
'GET',
|
|
90400
|
+
self._uri + _path,
|
|
90401
|
+
params=_params,
|
|
90402
|
+
headers=_headers,
|
|
90403
|
+
json=_json)
|
|
90404
|
+
|
|
90405
|
+
_decoder = ConjureDecoder()
|
|
90406
|
+
return _decoder.decode(_response.json(), secrets_api_DecryptedSecret, self._return_none_for_unknown_union_types)
|
|
90407
|
+
|
|
90408
|
+
|
|
90409
|
+
secrets_api_InternalSecretService.__name__ = "InternalSecretService"
|
|
90410
|
+
secrets_api_InternalSecretService.__qualname__ = "InternalSecretService"
|
|
90411
|
+
secrets_api_InternalSecretService.__module__ = "nominal_api.secrets_api"
|
|
90412
|
+
|
|
90413
|
+
|
|
90187
90414
|
class secrets_api_SearchSecretsQuery(ConjureUnionType):
|
|
90188
90415
|
_search_text: Optional[str] = None
|
|
90189
90416
|
_label: Optional[str] = None
|
nominal_api/event/__init__.py
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
from .._impl import (
|
|
3
3
|
event_ApiEventOrigin as ApiEventOrigin,
|
|
4
4
|
event_ArchiveEvent as ArchiveEvent,
|
|
5
|
+
event_AssetsFilter as AssetsFilter,
|
|
5
6
|
event_BatchUpdateDispositionRequest as BatchUpdateDispositionRequest,
|
|
6
7
|
event_BatchUpdateDispositionResponse as BatchUpdateDispositionResponse,
|
|
7
8
|
event_BatchUpdateEventRequest as BatchUpdateEventRequest,
|
|
@@ -46,6 +47,7 @@ from .._impl import (
|
|
|
46
47
|
__all__ = [
|
|
47
48
|
'ApiEventOrigin',
|
|
48
49
|
'ArchiveEvent',
|
|
50
|
+
'AssetsFilter',
|
|
49
51
|
'BatchUpdateDispositionRequest',
|
|
50
52
|
'BatchUpdateDispositionResponse',
|
|
51
53
|
'BatchUpdateEventRequest',
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
2
|
from .._impl import (
|
|
3
3
|
secrets_api_CreateSecretRequest as CreateSecretRequest,
|
|
4
|
+
secrets_api_DecryptedSecret as DecryptedSecret,
|
|
4
5
|
secrets_api_GetSecretsRequest as GetSecretsRequest,
|
|
5
6
|
secrets_api_GetSecretsResponse as GetSecretsResponse,
|
|
7
|
+
secrets_api_InternalSecretService as InternalSecretService,
|
|
6
8
|
secrets_api_SearchSecretsQuery as SearchSecretsQuery,
|
|
7
9
|
secrets_api_SearchSecretsQueryVisitor as SearchSecretsQueryVisitor,
|
|
8
10
|
secrets_api_SearchSecretsRequest as SearchSecretsRequest,
|
|
@@ -17,6 +19,7 @@ from .._impl import (
|
|
|
17
19
|
|
|
18
20
|
__all__ = [
|
|
19
21
|
'CreateSecretRequest',
|
|
22
|
+
'DecryptedSecret',
|
|
20
23
|
'GetSecretsRequest',
|
|
21
24
|
'GetSecretsResponse',
|
|
22
25
|
'SearchSecretsQuery',
|
|
@@ -28,6 +31,7 @@ __all__ = [
|
|
|
28
31
|
'SortField',
|
|
29
32
|
'SortOptions',
|
|
30
33
|
'UpdateSecretRequest',
|
|
34
|
+
'InternalSecretService',
|
|
31
35
|
'SecretService',
|
|
32
36
|
]
|
|
33
37
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
nominal_api/__init__.py,sha256=
|
|
2
|
-
nominal_api/_impl.py,sha256=
|
|
1
|
+
nominal_api/__init__.py,sha256=hiRo49A0tEuyaWhsVW2foAk_LG0xislIjm10cow7mRU,2109
|
|
2
|
+
nominal_api/_impl.py,sha256=LwOgQRk4HCbai79bdQczHGVqF_3u7nu0b7JEpQHIefw,3880525
|
|
3
3
|
nominal_api/py.typed,sha256=eoZ6GfifbqhMLNzjlqRDVil-yyBkOmVN9ujSgJWNBlY,15
|
|
4
4
|
nominal_api/api/__init__.py,sha256=OHAEgaRoUX60742H_U3q_pBoPGpLspsL5XERHQ-rjMs,2299
|
|
5
5
|
nominal_api/api_ids/__init__.py,sha256=sxqN5dMk6bOx0SKOd0ANG3_kmx1VtdSVotzEGn_q6sE,114
|
|
@@ -14,7 +14,7 @@ nominal_api/datasource_api/__init__.py,sha256=75g1qHgKGFMR87uXPvyowgKuLua62v3NPT
|
|
|
14
14
|
nominal_api/datasource_logset/__init__.py,sha256=SGt5PmLgYpLfhcoESk69aVufuZugg8dp6XBHOZ480IA,130
|
|
15
15
|
nominal_api/datasource_logset_api/__init__.py,sha256=QydoWxNXCVgIV8HWnZAKA77N5G6mTSqSzGkj36tPe4U,1376
|
|
16
16
|
nominal_api/datasource_pagination_api/__init__.py,sha256=WeENj6yqi2XfInU8YgjFwqwiR8L0jDHCBZfucJ0ahyY,283
|
|
17
|
-
nominal_api/event/__init__.py,sha256=
|
|
17
|
+
nominal_api/event/__init__.py,sha256=lWZZzsEOmtmPNNU9_kYMj1uTgoyc2QL8slsD8UeHWNM,3403
|
|
18
18
|
nominal_api/ingest_api/__init__.py,sha256=OZ1xKwsMx_IeFKrVnwYky9sWMymeYrEAHW62cVE_tqo,11156
|
|
19
19
|
nominal_api/ingest_manifest/__init__.py,sha256=HvXQUiDc886ITCkoR7OEXopRIFE9Z7dFNE8_FViNP0s,483
|
|
20
20
|
nominal_api/ingest_workflow_api/__init__.py,sha256=UdkTnAnXSs1Q17GfWOK6iJbqu7NecX0VP2Jkwj1Pj_k,3159
|
|
@@ -62,7 +62,7 @@ nominal_api/scout_versioning_api/__init__.py,sha256=AGSj6Gd1gDUnY3BTpXhPkEzCnrKI
|
|
|
62
62
|
nominal_api/scout_video/__init__.py,sha256=orm_3BDcBo2LaSHAf2lwO1vN4OX2oHwTI1QTTvF_pgE,286
|
|
63
63
|
nominal_api/scout_video_api/__init__.py,sha256=Ih5qIgmMCzn41f3lNj8QThAWznqiISiDswkfLqc0W1Y,5913
|
|
64
64
|
nominal_api/scout_workbookcommon_api/__init__.py,sha256=aANX-QdlB7K3evmP8OEED8ga6QfuYXGlGgjGSM9TgVI,1645
|
|
65
|
-
nominal_api/secrets_api/__init__.py,sha256=
|
|
65
|
+
nominal_api/secrets_api/__init__.py,sha256=Bx-wV6u1AsnoMqH9zpSJ1laWLeFn8L5XWX9tl_-SteQ,1228
|
|
66
66
|
nominal_api/security_api_workspace/__init__.py,sha256=6gz6-jGhdsMZLVn1IAk7Ar7TfkxRN6ql7Yngig-Kp3Y,1839
|
|
67
67
|
nominal_api/storage_datasource_api/__init__.py,sha256=plSbtDZH_wwfUNUzK8E1TauvfmvlCgn85U0NbNhmVZo,620
|
|
68
68
|
nominal_api/storage_deletion_api/__init__.py,sha256=9OOHBAsIMukr3aRwdtG5PA1f9p5-USEhwhPPdhrHFos,373
|
|
@@ -79,7 +79,7 @@ nominal_api/timeseries_seriescache/__init__.py,sha256=hL5hN8jKLEGE_fDiZzdASmWIrR
|
|
|
79
79
|
nominal_api/timeseries_seriescache_api/__init__.py,sha256=i21vITWBn-6ruVuFZg491TDpx6WcIhJBoF3oNw3w338,1186
|
|
80
80
|
nominal_api/upload_api/__init__.py,sha256=7-XXuZUqKPV4AMWvxNpZPZ5vBun4x-AomXj3Vol_BN4,123
|
|
81
81
|
nominal_api/usercreation_api/__init__.py,sha256=Q6M70SlKFVfIxZqRohD4XYmBz5t2DP1DB0a0Q6glqGA,171
|
|
82
|
-
nominal_api-0.
|
|
83
|
-
nominal_api-0.
|
|
84
|
-
nominal_api-0.
|
|
85
|
-
nominal_api-0.
|
|
82
|
+
nominal_api-0.964.0.dist-info/METADATA,sha256=-31y3Q-aonBr-Ro0-JZiuBGst2n8C49HOtjFEJY8xrg,199
|
|
83
|
+
nominal_api-0.964.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
84
|
+
nominal_api-0.964.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
|
|
85
|
+
nominal_api-0.964.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|