-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #48 from tsologub/feature/list-deleted
List deleted API for apps, groups, and users
- Loading branch information
Showing
6 changed files
with
228 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,31 +29,38 @@ type ApiPreAuthorizedApplication struct { | |
|
||
// Application describes an Application object. | ||
type Application struct { | ||
ID *string `json:"id,omitempty"` | ||
AddIns *[]AddIn `json:"addIns,omitempty"` | ||
Api *ApplicationApi `json:"api,omitempty"` | ||
AppId *string `json:"appId,omitempty"` | ||
AppRoles *[]AppRole `json:"appRoles,omitempty"` | ||
CreatedDateTime *time.Time `json:"createdDateTime,omitempty"` | ||
DeletedDateTime *time.Time `json:"deletedDateTime,omitempty"` | ||
DisplayName *string `json:"displayName,omitempty"` | ||
GroupMembershipClaims *[]GroupMembershipClaim `json:"groupMembershipClaims,omitempty"` | ||
IdentifierUris *[]string `json:"identifierUris,omitempty"` | ||
Info *InformationalUrl `json:"info,omitempty"` | ||
IsFallbackPublicClient *bool `json:"isFallbackPublicCLient,omitempty"` | ||
KeyCredentials *[]KeyCredential `json:"keyCredentials,omitempty"` | ||
Oauth2RequiredPostResponse *bool `json:"oauth2RequiredPostResponse,omitempty"` | ||
OnPremisesPublishing *OnPremisesPublishing `json:"onPremisePublishing,omitempty"` | ||
OptionalClaims *OptionalClaims `json:"optionalClaims,omitempty"` | ||
ParentalControlSettings *ParentalControlSettings `json:"parentalControlSettings,omitempty"` | ||
PasswordCredentials *[]PasswordCredential `json:"passwordCredentials,omitempty"` | ||
PublicClient *PublicClient `json:"publicClient,omitempty"` | ||
PublisherDomain *string `json:"publisherDomain,omitempty"` | ||
RequiredResourceAccess *[]RequiredResourceAccess `json:"requiredResourceAccess,omitempty"` | ||
SignInAudience SignInAudience `json:"signInAudience,omitempty"` | ||
Tags *[]string `json:"tags,omitempty"` | ||
TokenEncryptionKeyId *string `json:"tokenEncryptionKeyId,omitempty"` | ||
Web *ApplicationWeb `json:"web,omitempty"` | ||
ID *string `json:"id,omitempty"` | ||
AddIns *[]AddIn `json:"addIns,omitempty"` | ||
Api *ApplicationApi `json:"api,omitempty"` | ||
AppId *string `json:"appId,omitempty"` | ||
AppRoles *[]AppRole `json:"appRoles,omitempty"` | ||
CreatedDateTime *time.Time `json:"createdDateTime,omitempty"` | ||
DefaultRedirectUri *string `json:"defaultRedirectUri,omitempty"` | ||
DeletedDateTime *time.Time `json:"deletedDateTime,omitempty"` | ||
DisabledByMicrosoftStatus interface{} `json:"disabledByMicrosoftStatus,omitempty"` | ||
DisplayName *string `json:"displayName,omitempty"` | ||
GroupMembershipClaims *[]GroupMembershipClaim `json:"groupMembershipClaims,omitempty"` | ||
IdentifierUris *[]string `json:"identifierUris,omitempty"` | ||
Info *InformationalUrl `json:"info,omitempty"` | ||
IsAuthorizationServiceEnabled *bool `json:"isAuthorizationServiceEnabled,omitempty"` | ||
IsDeviceOnlyAuthSupported *bool `json:"isDeviceOnlyAuthSupported,omitempty"` | ||
IsFallbackPublicClient *bool `json:"isFallbackPublicClient,omitempty"` | ||
IsManagementRestricted *bool `json:"isManagementRestricted,omitempty"` | ||
KeyCredentials *[]KeyCredential `json:"keyCredentials,omitempty"` | ||
Oauth2RequirePostResponse *bool `json:"oauth2RequirePostResponse,omitempty"` | ||
OnPremisesPublishing *OnPremisesPublishing `json:"onPremisePublishing,omitempty"` | ||
OptionalClaims *OptionalClaims `json:"optionalClaims,omitempty"` | ||
ParentalControlSettings *ParentalControlSettings `json:"parentalControlSettings,omitempty"` | ||
PasswordCredentials *[]PasswordCredential `json:"passwordCredentials,omitempty"` | ||
PublicClient *PublicClient `json:"publicClient,omitempty"` | ||
PublisherDomain *string `json:"publisherDomain,omitempty"` | ||
RequiredResourceAccess *[]RequiredResourceAccess `json:"requiredResourceAccess,omitempty"` | ||
SignInAudience SignInAudience `json:"signInAudience,omitempty"` | ||
Tags *[]string `json:"tags,omitempty"` | ||
TokenEncryptionKeyId *string `json:"tokenEncryptionKeyId,omitempty"` | ||
UniqueName *string `json:"uniqueName,omitempty"` | ||
VerifiedPublisher *VerifiedPublisher `json:"verifiedPublisher,omitempty"` | ||
Web *ApplicationWeb `json:"web,omitempty"` | ||
|
||
Owners *[]string `json:"[email protected],omitempty"` | ||
} | ||
|
@@ -819,53 +826,61 @@ type SingleSignOnField struct { | |
|
||
// User describes a User object. | ||
type User struct { | ||
ID *string `json:"id,omitempty"` | ||
AboutMe *string `json:"aboutMe,omitempty"` | ||
AccountEnabled *bool `json:"accountEnabled,omitempty"` | ||
BusinessPhones *[]string `json:"businessPhones,omitempty"` | ||
City *string `json:"city,omitempty"` | ||
CompanyName *string `json:"companyName,omitempty"` | ||
Country *string `json:"country,omitempty"` | ||
CreationType *string `json:"creationType,omitempty"` | ||
Department *string `json:"department,omitempty"` | ||
DisplayName *string `json:"displayName,omitempty"` | ||
EmployeeId *string `json:"employeeId,omitempty"` | ||
ExternalUserState *string `json:"externalUserState,omitempty"` | ||
FaxNumber *string `json:"faxNumber,omitempty"` | ||
GivenName *string `json:"givenName,omitempty"` | ||
ImAddresses *[]string `json:"imAddresses,omitempty"` | ||
Interests *[]string `json:"interests,omitempty"` | ||
JobTitle *string `json:"jobTitle,omitempty"` | ||
Mail *string `json:"mail,omitempty"` | ||
MailNickname *string `json:"mailNickname,omitempty"` | ||
MobilePhone *string `json:"mobilePhone,omitempty"` | ||
MySite *string `json:"mySite,omitempty"` | ||
OfficeLocation *string `json:"officeLocation,omitempty"` | ||
OnPremisesDistinguishedName *string `json:"onPremisesDistinguishedName,omitempty"` | ||
OnPremisesDomainName *string `json:"onPremisesDomainName,omitempty"` | ||
OnPremisesImmutableId *string `json:"onPremisesImmutableId,omitempty"` | ||
OnPremisesSamAccountName *string `json:"onPremisesSamAccountName,omitempty"` | ||
OnPremisesSecurityIdentifier *string `json:"onPremisesSecurityIdentifier,omitempty"` | ||
OnPremisesSyncEnabled *bool `json:"onPremisesSyncEnabled,omitempty"` | ||
OnPremisesUserPrincipalName *string `json:"onPremisesUserPrincipalName,omitempty"` | ||
OtherMails *[]string `json:"otherMails,omitempty"` | ||
PasswordPolicies *string `json:"passwordPolicies,omitempty"` | ||
PastProjects *[]string `json:"pastProjects,omitempty"` | ||
PostalCode *string `json:"postalCode,omitempty"` | ||
PreferredDataLocation *string `json:"preferredDataLocation,omitempty"` | ||
PreferredLanguage *string `json:"preferredLanguage,omitempty"` | ||
PreferredName *string `json:"preferredName,omitempty"` | ||
ProxyAddresses *[]string `json:"proxyAddresses,omitempty"` | ||
Responsibilities *[]string `json:"responsibilities,omitempty"` | ||
Schools *[]string `json:"schools,omitempty"` | ||
ShowInAddressList *bool `json:"showInAddressList,omitempty"` | ||
Skills *[]string `json:"skills,omitempty"` | ||
State *string `json:"state,omitempty"` | ||
StreetAddress *string `json:"streetAddress,omitempty"` | ||
Surname *string `json:"surname,omitempty"` | ||
UsageLocation *string `json:"usageLocation,omitempty"` | ||
UserPrincipalName *string `json:"userPrincipalName,omitempty"` | ||
UserType *string `json:"userType,omitempty"` | ||
ID *string `json:"id,omitempty"` | ||
AboutMe *string `json:"aboutMe,omitempty"` | ||
AccountEnabled *bool `json:"accountEnabled,omitempty"` | ||
BusinessPhones *[]string `json:"businessPhones,omitempty"` | ||
City *string `json:"city,omitempty"` | ||
CompanyName *string `json:"companyName,omitempty"` | ||
Country *string `json:"country,omitempty"` | ||
CreatedDateTime *time.Time `json:"createdDateTime,omitempty"` | ||
CreationType *string `json:"creationType,omitempty"` | ||
DeletedDateTime *time.Time `json:"deletedDateTime,omitempty"` | ||
Department *string `json:"department,omitempty"` | ||
DisplayName *string `json:"displayName,omitempty"` | ||
EmployeeHireDate *time.Time `json:"employeeHireDate,omitempty"` | ||
EmployeeId *string `json:"employeeId,omitempty"` | ||
EmployeeType *string `json:"employeeType,omitempty"` | ||
ExternalUserState *string `json:"externalUserState,omitempty"` | ||
FaxNumber *string `json:"faxNumber,omitempty"` | ||
GivenName *string `json:"givenName,omitempty"` | ||
ImAddresses *[]string `json:"imAddresses,omitempty"` | ||
Interests *[]string `json:"interests,omitempty"` | ||
IsManagementRestricted *bool `json:"isManagementRestricted,omitempty"` | ||
IsResourceAccount *bool `json:"isResourceAccount,omitempty"` | ||
JobTitle *string `json:"jobTitle,omitempty"` | ||
Mail *string `json:"mail,omitempty"` | ||
MailNickname *string `json:"mailNickname,omitempty"` | ||
MobilePhone *string `json:"mobilePhone,omitempty"` | ||
MySite *string `json:"mySite,omitempty"` | ||
OfficeLocation *string `json:"officeLocation,omitempty"` | ||
OnPremisesDistinguishedName *string `json:"onPremisesDistinguishedName,omitempty"` | ||
OnPremisesDomainName *string `json:"onPremisesDomainName,omitempty"` | ||
OnPremisesLastSyncDateTime *string `json:"onPremisesLastSyncDateTime,omitempty"` | ||
OnPremisesSamAccountName *string `json:"onPremisesSamAccountName,omitempty"` | ||
OnPremisesSecurityIdentifier *string `json:"onPremisesSecurityIdentifier,omitempty"` | ||
OnPremisesSyncEnabled *bool `json:"onPremisesSyncEnabled,omitempty"` | ||
OnPremisesUserPrincipalName *string `json:"onPremisesUserPrincipalName,omitempty"` | ||
OtherMails *[]string `json:"otherMails,omitempty"` | ||
PasswordPolicies *string `json:"passwordPolicies,omitempty"` | ||
PastProjects *[]string `json:"pastProjects,omitempty"` | ||
PostalCode *string `json:"postalCode,omitempty"` | ||
PreferredDataLocation *string `json:"preferredDataLocation,omitempty"` | ||
PreferredLanguage *string `json:"preferredLanguage,omitempty"` | ||
PreferredName *string `json:"preferredName,omitempty"` | ||
ProxyAddresses *[]string `json:"proxyAddresses,omitempty"` | ||
RefreshTokensValidFromDateTime *time.Time `json:"refreshTokensValidFromDateTime,omitempty"` | ||
Responsibilities *[]string `json:"responsibilities,omitempty"` | ||
Schools *[]string `json:"schools,omitempty"` | ||
ShowInAddressList *bool `json:"showInAddressList,omitempty"` | ||
SignInSessionsValidFromDateTime *time.Time `json:"signInSessionsValidFromDateTime,omitempty"` | ||
Skills *[]string `json:"skills,omitempty"` | ||
State *string `json:"state,omitempty"` | ||
StreetAddress *string `json:"streetAddress,omitempty"` | ||
Surname *string `json:"surname,omitempty"` | ||
UsageLocation *string `json:"usageLocation,omitempty"` | ||
UserPrincipalName *string `json:"userPrincipalName,omitempty"` | ||
UserType *string `json:"userType,omitempty"` | ||
|
||
PasswordProfile *UserPasswordProfile `json:"passwordProfile,omitempty"` | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters