gam7 7.7.13__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 +17 -9
- gam/gamlib/glmsgs.py +4 -2
- {gam7-7.7.13.dist-info → gam7-7.7.15.dist-info}/METADATA +2 -2
- {gam7-7.7.13.dist-info → gam7-7.7.15.dist-info}/RECORD +7 -7
- {gam7-7.7.13.dist-info → gam7-7.7.15.dist-info}/WHEEL +0 -0
- {gam7-7.7.13.dist-info → gam7-7.7.15.dist-info}/entry_points.txt +0 -0
- {gam7-7.7.13.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
|
|
@@ -25949,7 +25949,7 @@ def _printChatItem(user, citem, parent, entityType, csvPF, FJQC, addCSVData=None
|
|
|
25949
25949
|
def doSetupChat():
|
|
25950
25950
|
checkForExtraneousArguments()
|
|
25951
25951
|
_, chat , _ = buildChatServiceObject()
|
|
25952
|
-
writeStdout(Msg.TO_SET_UP_GOOGLE_CHAT.format(setupChatURL(chat)))
|
|
25952
|
+
writeStdout(Msg.TO_SET_UP_GOOGLE_CHAT.format(setupChatURL(chat), GM.Globals[GM.OAUTH2SERVICE_JSON_DATA]['project_id']))
|
|
25953
25953
|
|
|
25954
25954
|
def getSpaceName(myarg):
|
|
25955
25955
|
if myarg == 'space':
|
|
@@ -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)
|
gam/gamlib/glmsgs.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
2
|
|
|
3
|
-
# Copyright (C)
|
|
3
|
+
# Copyright (C) 2025 Ross Scroggs All Rights Reserved.
|
|
4
4
|
#
|
|
5
5
|
# All Rights Reserved.
|
|
6
6
|
#
|
|
@@ -504,13 +504,15 @@ TO = 'To'
|
|
|
504
504
|
TO_LC = 'to'
|
|
505
505
|
TO_MAXIMUM_OF = 'to maximum of'
|
|
506
506
|
TO_SET_UP_GOOGLE_CHAT = """
|
|
507
|
-
To set up Google Chat for your
|
|
507
|
+
To set up Google Chat for your current project, please go to:
|
|
508
508
|
|
|
509
509
|
{0}
|
|
510
510
|
|
|
511
511
|
and follow the instructions at:
|
|
512
512
|
|
|
513
513
|
https://github.com/GAM-team/GAM/wiki/Chat-Bot#set-up-a-chat-bot
|
|
514
|
+
|
|
515
|
+
You'll use projects/{1}/topics/no-topic in Connection settings Cloud Pub/Sub Topic Name
|
|
514
516
|
"""
|
|
515
517
|
TOTAL_ITEMS_IN_ENTITY = 'Total {0} in {1}'
|
|
516
518
|
TRIMMED_MESSAGE_FROM_LENGTH_TO_MAXIMUM = 'Trimmed message of length {0} to maximum length {1}'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: gam7
|
|
3
|
-
Version: 7.7.
|
|
3
|
+
Version: 7.7.15
|
|
4
4
|
Summary: CLI tool to manage Google Workspace
|
|
5
5
|
Project-URL: Homepage, https://github.com/GAM-team/GAM
|
|
6
6
|
Project-URL: Issues, https://github.com/GAM-team/GAM/issues
|
|
@@ -30,8 +30,8 @@ Requires-Dist: httplib2>=0.22.0
|
|
|
30
30
|
Requires-Dist: lxml>=5.4.0
|
|
31
31
|
Requires-Dist: passlib>=1.7.4
|
|
32
32
|
Requires-Dist: pathvalidate>=3.2.3
|
|
33
|
-
Requires-Dist: pyscard==2.2.1
|
|
34
33
|
Requires-Dist: python-dateutil
|
|
34
|
+
Requires-Dist: yubikey-manager>=5.6.1
|
|
35
35
|
Provides-Extra: yubikey
|
|
36
36
|
Requires-Dist: yubikey-manager>=5.6.1; extra == 'yubikey'
|
|
37
37
|
Description-Content-Type: text/markdown
|
|
@@ -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
|
|
@@ -31,7 +31,7 @@ gam/gamlib/glgapi.py,sha256=cGtvFvvBU3XQJLgtLCjs_V5VBUem_k0b5uUrK21VmeA,39491
|
|
|
31
31
|
gam/gamlib/glgdata.py,sha256=weRppttWm6uRyqtBoGPKoHiNZ2h28nhfUV4J_mbCszY,2707
|
|
32
32
|
gam/gamlib/glglobals.py,sha256=J0xcHggVrUBzHJ5GruenKV-qV1zPKcK2qWgAgN3i5Jw,9608
|
|
33
33
|
gam/gamlib/glindent.py,sha256=RfBa2LDfLIqPLL5vMfC689TCVmqn8xf-qulSzkiatrc,1228
|
|
34
|
-
gam/gamlib/glmsgs.py,sha256=
|
|
34
|
+
gam/gamlib/glmsgs.py,sha256=iHRQFm008jh2ZzuYCq3sLkxFtEupo9DLh1gzq_6Y41A,33562
|
|
35
35
|
gam/gamlib/glskus.py,sha256=xJ1E2BZ_CGHN6I19c9i8DApb5bT5VT-hGyMEmQ5hSRY,15241
|
|
36
36
|
gam/gamlib/gluprop.py,sha256=IyPLCyvn7-NHTUenM71YPQPXRZXx6CB5q-GtJ-FYd1c,11461
|
|
37
37
|
gam/gamlib/glverlibs.py,sha256=A8rvegBF2nD6etbBRb8hsv-oZyjpD4VcUQ8PffW-bqU,992
|
|
@@ -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
|