gam7 7.7.14__py3-none-any.whl → 7.7.15__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 gam7 might be problematic. Click here for more details.
- gam/__init__.py +16 -8
- {gam7-7.7.14.dist-info → gam7-7.7.15.dist-info}/METADATA +1 -1
- {gam7-7.7.14.dist-info → gam7-7.7.15.dist-info}/RECORD +6 -6
- {gam7-7.7.14.dist-info → gam7-7.7.15.dist-info}/WHEEL +0 -0
- {gam7-7.7.14.dist-info → gam7-7.7.15.dist-info}/entry_points.txt +0 -0
- {gam7-7.7.14.dist-info → gam7-7.7.15.dist-info}/licenses/LICENSE +0 -0
gam/__init__.py
CHANGED
|
@@ -25,7 +25,7 @@ https://github.com/GAM-team/GAM/wiki
|
|
|
25
25
|
"""
|
|
26
26
|
|
|
27
27
|
__author__ = 'GAM Team <google-apps-manager@googlegroups.com>'
|
|
28
|
-
__version__ = '7.07.
|
|
28
|
+
__version__ = '7.07.15'
|
|
29
29
|
__license__ = 'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)'
|
|
30
30
|
|
|
31
31
|
#pylint: disable=wrong-import-position
|
|
@@ -40817,6 +40817,11 @@ VAULT_RESPONSE_STATUS_MAP = {
|
|
|
40817
40817
|
'needsaction': 'ATTENDEE_RESPONSE_NEEDS_ACTION',
|
|
40818
40818
|
'tentative': 'ATTENDEE_RESPONSE_TENTATIVE',
|
|
40819
40819
|
}
|
|
40820
|
+
VAULT_SHARED_DRIVES_OPTION_MAP = {
|
|
40821
|
+
'included': 'INCLUDED',
|
|
40822
|
+
'includedifaccountisnotamember': 'INCLUDED_IF_ACCOUNT_IS_NOT_A_MEMBER',
|
|
40823
|
+
'notincluded': 'NOT_INCLUDED',
|
|
40824
|
+
}
|
|
40820
40825
|
VAULT_VOICE_COVERED_DATA_MAP = {
|
|
40821
40826
|
'calllogs': 'CALL_LOGS',
|
|
40822
40827
|
'textmessages': 'TEXT_MESSAGES',
|
|
@@ -40875,7 +40880,7 @@ VAULT_QUERY_ARGS = [
|
|
|
40875
40880
|
# calendar
|
|
40876
40881
|
'locationquery', 'peoplequery', 'minuswords', 'responsestatuses', 'caldendarversiondate',
|
|
40877
40882
|
# drive
|
|
40878
|
-
'driveclientsideencryption', 'driveversiondate', 'includeshareddrives', 'includeteamdrives',
|
|
40883
|
+
'driveclientsideencryption', 'driveversiondate', 'includeshareddrives', 'includeteamdrives', 'shareddrivesoption',
|
|
40879
40884
|
# hangoutsChat
|
|
40880
40885
|
'includerooms',
|
|
40881
40886
|
# mail
|
|
@@ -40945,7 +40950,9 @@ def _buildVaultQuery(myarg, query, corpusArgumentMap):
|
|
|
40945
40950
|
elif myarg == 'driveversiondate':
|
|
40946
40951
|
query.setdefault('driveOptions', {})['versionDate'] = getTimeOrDeltaFromNow()
|
|
40947
40952
|
elif myarg in {'includeshareddrives', 'includeteamdrives'}:
|
|
40948
|
-
query.setdefault('driveOptions', {})['
|
|
40953
|
+
query.setdefault('driveOptions', {})['sharedDrivesOption'] = 'INCLUDED' if getBoolean() else 'INCLUDED_IF_ACCOUNT_IS_NOT_A_MEMBER'
|
|
40954
|
+
elif myarg == 'shareddrivesoption':
|
|
40955
|
+
query.setdefault('driveOptions', {})['sharedDrivesOption'] = getChoice(VAULT_SHARED_DRIVES_OPTION_MAP, mapChoice=True)
|
|
40949
40956
|
elif myarg == 'driveclientsideencryption':
|
|
40950
40957
|
query.setdefault('driveOptions', {})['clientSideEncryptedOption'] = getChoice(VAULT_CSE_OPTION_MAP, mapChoice=True)
|
|
40951
40958
|
# hangoutsChat
|
|
@@ -40979,7 +40986,8 @@ def _validateVaultQuery(body, corpusArgumentMap):
|
|
|
40979
40986
|
# [terms <String>] [start|starttime <Date>|<Time>] [end|endtime <Date>|<Time>] [timezone <TimeZone>]
|
|
40980
40987
|
# [locationquery <StringList>] [peoplequery <StringList>] [minuswords <StringList>]
|
|
40981
40988
|
# [responsestatuses <AttendeeStatus>(,<AttendeeStatus>)*] [calendarversiondate <Date>|<Time>]
|
|
40982
|
-
# [includeshareddrives <Boolean>
|
|
40989
|
+
# [(includeshareddrives <Boolean>)|(shareddrivesoption included|included_if_account_is_not_a_member|not_included)]
|
|
40990
|
+
# [driveversiondate <Date>|<Time>] [includeaccessinfo <Boolean>]
|
|
40983
40991
|
# [driveclientsideencryption any|encrypted|unencrypted]
|
|
40984
40992
|
# [includerooms <Boolean>]
|
|
40985
40993
|
# [excludedrafts <Boolean>] [mailclientsideencryption any|encrypted|unencrypted]
|
|
@@ -41050,7 +41058,7 @@ def doCreateVaultExport():
|
|
|
41050
41058
|
try:
|
|
41051
41059
|
export = callGAPI(v.matters().exports(), 'create',
|
|
41052
41060
|
throwReasons=[GAPI.ALREADY_EXISTS, GAPI.BAD_REQUEST, GAPI.BACKEND_ERROR, GAPI.INVALID_ARGUMENT,
|
|
41053
|
-
GAPI.INVALID, GAPI.FAILED_PRECONDITION, GAPI.FORBIDDEN, GAPI.QUOTA_EXCEEDED],
|
|
41061
|
+
GAPI.INVALID, GAPI.FAILED_PRECONDITION, GAPI.FORBIDDEN, GAPI.QUOTA_EXCEEDED, GAPI.NOT_FOUND],
|
|
41054
41062
|
matterId=matterId, body=body)
|
|
41055
41063
|
if not returnIdOnly:
|
|
41056
41064
|
entityActionPerformed([Ent.VAULT_MATTER, matterNameId, Ent.VAULT_EXPORT, formatVaultNameId(export['name'], export['id'])])
|
|
@@ -41059,7 +41067,7 @@ def doCreateVaultExport():
|
|
|
41059
41067
|
else:
|
|
41060
41068
|
writeStdout(f'{export["id"]}\n')
|
|
41061
41069
|
except (GAPI.alreadyExists, GAPI.badRequest, GAPI.backendError, GAPI.invalidArgument,
|
|
41062
|
-
GAPI.invalid, GAPI.failedPrecondition, GAPI.forbidden, GAPI.quotaExceeded) as e:
|
|
41070
|
+
GAPI.invalid, GAPI.failedPrecondition, GAPI.forbidden, GAPI.quotaExceeded, GAPI.notFound) as e:
|
|
41063
41071
|
entityActionFailedWarning([Ent.VAULT_MATTER, matterNameId, Ent.VAULT_EXPORT, body.get('name')], str(e))
|
|
41064
41072
|
|
|
41065
41073
|
# gam delete vaultexport|export <ExportItem> matter <MatterItem>
|
|
@@ -41573,7 +41581,7 @@ def _setHoldQuery(body, queryParameters):
|
|
|
41573
41581
|
# [terms <String>] [start|starttime <Date>|<Time>] [end|endtime <Date>|<Time>]
|
|
41574
41582
|
# [includerooms <Boolean>]
|
|
41575
41583
|
# [covereddata calllogs|textmessages|voicemails]
|
|
41576
|
-
# [includeshareddrives
|
|
41584
|
+
# [includeshareddrives <Boolean>]
|
|
41577
41585
|
# [showdetails|returnidonly]
|
|
41578
41586
|
def doCreateVaultHold():
|
|
41579
41587
|
v = buildGAPIObject(API.VAULT)
|
|
@@ -41639,7 +41647,7 @@ def doCreateVaultHold():
|
|
|
41639
41647
|
# [terms <String>] [start|starttime <Date>|<Time>] [end|endtime <Date>|<Time>]
|
|
41640
41648
|
# [includerooms <Boolean>]
|
|
41641
41649
|
# [covereddata calllogs|textmessages|voicemails]
|
|
41642
|
-
# [includeshareddrives
|
|
41650
|
+
# [includeshareddrives <Boolean>]
|
|
41643
41651
|
# [showdetails]
|
|
41644
41652
|
def doUpdateVaultHold():
|
|
41645
41653
|
v = buildGAPIObject(API.VAULT)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
gam/__init__.py,sha256=
|
|
1
|
+
gam/__init__.py,sha256=0uZQ7XXF7bOh715R1A7SYJWl1JjA9apXfh3674m0DGk,3502643
|
|
2
2
|
gam/__main__.py,sha256=amz0-959ph6zkZKqjaar4n60yho-T37w6qWI36qx0CA,1049
|
|
3
3
|
gam/cacerts.pem,sha256=82Ak7btW_2XvocLUvAwPmpx8Chi0oqtZUG1gseLK_t4,50235
|
|
4
4
|
gam/cbcm-v1.1beta1.json,sha256=xO5XloCQQULmPbFBx5bckdqmbLFQ7sJ2TImhE1ysDIY,19439
|
|
@@ -65,8 +65,8 @@ gam/googleapiclient/discovery_cache/base.py,sha256=yCDPtxnbNN-p5_9fzBacC6P3wcUPl
|
|
|
65
65
|
gam/googleapiclient/discovery_cache/file_cache.py,sha256=sim3Mg4HgRYo3vX75jvcKy_aV568EvIrtBfvfbw-044,4774
|
|
66
66
|
gam/iso8601/__init__.py,sha256=Z2PsYbXgAH5a5xzUvgczCboPzqWpm65kRcIngCnhViU,1218
|
|
67
67
|
gam/iso8601/iso8601.py,sha256=Li2FHZ4sBTWuthuQhyCvmvj0j6At8JbGzkSv2fc2RHU,4384
|
|
68
|
-
gam7-7.7.
|
|
69
|
-
gam7-7.7.
|
|
70
|
-
gam7-7.7.
|
|
71
|
-
gam7-7.7.
|
|
72
|
-
gam7-7.7.
|
|
68
|
+
gam7-7.7.15.dist-info/METADATA,sha256=Q66h4D0K26g_QqTbHN5KrYU7oCj8yXEhKXmY0_w-2Js,2978
|
|
69
|
+
gam7-7.7.15.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
70
|
+
gam7-7.7.15.dist-info/entry_points.txt,sha256=HVUM5J7dA8YwvJfG30jiLefR19ExMs387TWugWd9sf4,42
|
|
71
|
+
gam7-7.7.15.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
72
|
+
gam7-7.7.15.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|