mirror of
https://github.com/GAM-team/GAM.git
synced 2025-07-09 22:23:35 +00:00
Fix bug, update ducumantation (#423)
This commit is contained in:
@ -121,6 +121,7 @@ Named items
|
|||||||
<RoleAssignmentID> ::= <String>
|
<RoleAssignmentID> ::= <String>
|
||||||
<SchemaName> ::= <String>
|
<SchemaName> ::= <String>
|
||||||
<Section> ::= <String>
|
<Section> ::= <String>
|
||||||
|
<S/MIMEID> ::= <String>
|
||||||
<StudentItem> ::= <EmailAddress>|<UniqueID>|<String>
|
<StudentItem> ::= <EmailAddress>|<UniqueID>|<String>
|
||||||
<Timezone> ::= <String>
|
<Timezone> ::= <String>
|
||||||
<Title> ::= <String>
|
<Title> ::= <String>
|
||||||
@ -515,6 +516,27 @@ gam <UserTypeEntity> check serviceaccount
|
|||||||
|
|
||||||
gam whatis <EmailItem>
|
gam whatis <EmailItem>
|
||||||
|
|
||||||
|
gam create resoldcustomer <CustomerDomain> (customer_auth_token <String>)
|
||||||
|
(email|alternate_email <EmailAddress>) (name|organization_name <String>) (contact|contact_name <String>) [phone|phone_number <String>]
|
||||||
|
[address|address1 <String>] [address2 <String>] [address3 <String>]
|
||||||
|
[locality|city <String>] [region|state <String>] [postal|postal_code <String>] [country|country_code <String>]
|
||||||
|
gam update resoldcustomer <CustomerID> [customer_auth_token <String>]
|
||||||
|
[email|alternate_email <EmailAddress>] [name|organization_name <String>] [contact|contact_name <String>] [phone|phone_number <String>]
|
||||||
|
[address|address1 <String>] [address2 <String>] [address3 <String>]
|
||||||
|
[locality|city <String>] [region|state <String>] [postal|postal_code <String>] [country|country_code <String>]
|
||||||
|
gam info resoldcustomer <CustomerID>
|
||||||
|
|
||||||
|
gam create resoldsubscription <CustomerID>
|
||||||
|
[customer_auth_token <String>] [plan annual_monthly_pay|annual_yearly_pay|flexible|trial]
|
||||||
|
[deal <String>] [purchaseorderid <String>] [seats <NumberOfSeats> <MaximumNumberOfSeats>] [sku <SKUID>]
|
||||||
|
gam update resoldsubscription <CustomerID> <SKUID>
|
||||||
|
activate|suspend|startpaidservice|
|
||||||
|
(renewal auto_renew_monthly_pay|auto_renew_yearly_pay|cancel|renew_current_users_monthly_pay|renew_current_users_yearly_pay|switch_to_pay_as_you_go)|
|
||||||
|
(seats <NumberOfSeats> [<MaximumNumberOfSeats>])|
|
||||||
|
(plan annual_monthly_pay|annual_yearly_pay|flexible|trial [deal <String>] [purchaseorderid <String>] [seats <NumberOfSeats> [<MaximumNumberOfSeats>]])
|
||||||
|
gam delete resoldsubscription <CustomerID> <SKUID> cancel|downgrade|transfer_to_direct
|
||||||
|
gam info resoldsubscriptions <CustomerID> [customer_auth_token <String>]
|
||||||
|
|
||||||
gam report users|user [todrive]
|
gam report users|user [todrive]
|
||||||
[date <Date>] [(user all|<UserItem>)] [filter|filters <String>] [fields|parameters <String>]
|
[date <Date>] [(user all|<UserItem>)] [filter|filters <String>] [fields|parameters <String>]
|
||||||
gam report customers|customer|domain [todrive]
|
gam report customers|customer|domain [todrive]
|
||||||
@ -825,8 +847,8 @@ gam <UserTypeEntity> info sendas <EmailAddress> [format]
|
|||||||
gam <UserTypeEntity> print sendas [todrive]
|
gam <UserTypeEntity> print sendas [todrive]
|
||||||
|
|
||||||
gam <UserTypeEntity> add smime file <FileName> [password <Password>] [sendas|sendasemail <EmailAddress>] [default]
|
gam <UserTypeEntity> add smime file <FileName> [password <Password>] [sendas|sendasemail <EmailAddress>] [default]
|
||||||
gam <UserTypeEntity> update smime [id <SmimeID>] [sendas|sendasemail <EmailAddress>] [default]
|
gam <UserTypeEntity> update smime [id <S/MIMEID>] [sendas|sendasemail <EmailAddress>] [default]
|
||||||
gam <UserTypeEntity> delete smime [id <SmimeID>] [sendas|sendasemail <EmailAddress>]
|
gam <UserTypeEntity> delete smime [id <S/MIMEID>] [sendas|sendasemail <EmailAddress>]
|
||||||
gam <UserTypeEntity> show smime [primaryonly]
|
gam <UserTypeEntity> show smime [primaryonly]
|
||||||
gam <UserTypeEntity> print smime [todrive] [primaryonly]
|
gam <UserTypeEntity> print smime [todrive] [primaryonly]
|
||||||
|
|
||||||
|
@ -7353,7 +7353,7 @@ def doUpdateResoldSubscription():
|
|||||||
kwargs[u'body'][u'purchaseOrderId'] = sys.argv[i+1]
|
kwargs[u'body'][u'purchaseOrderId'] = sys.argv[i+1]
|
||||||
i += 2
|
i += 2
|
||||||
elif planarg in [u'dealcode', u'deal']:
|
elif planarg in [u'dealcode', u'deal']:
|
||||||
kwargs[u'body'][u'dealCode']
|
kwargs[u'body'][u'dealCode'] = sys.argv[i+1]
|
||||||
i += 2
|
i += 2
|
||||||
else:
|
else:
|
||||||
print u'ERROR: %s is not a valid argument to "gam update resoldcustomer plan"' % planarg
|
print u'ERROR: %s is not a valid argument to "gam update resoldcustomer plan"' % planarg
|
||||||
|
Reference in New Issue
Block a user