@microsoft/msgraph-sdk-applications 1.0.0-preview.10
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.
- package/LICENSE +21 -0
- package/README.md +11 -0
- package/applications/count/index.d.ts +40 -0
- package/applications/count/index.d.ts.map +1 -0
- package/applications/count/index.js +35 -0
- package/applications/delta/index.d.ts +83 -0
- package/applications/delta/index.d.ts.map +1 -0
- package/applications/delta/index.js +67 -0
- package/applications/getAvailableExtensionProperties/index.d.ts +83 -0
- package/applications/getAvailableExtensionProperties/index.d.ts.map +1 -0
- package/applications/getAvailableExtensionProperties/index.js +86 -0
- package/applications/getByIds/index.d.ts +87 -0
- package/applications/getByIds/index.d.ts.map +1 -0
- package/applications/getByIds/index.js +88 -0
- package/applications/index.d.ts +117 -0
- package/applications/index.d.ts.map +1 -0
- package/applications/index.js +91 -0
- package/applications/item/addKey/index.d.ts +69 -0
- package/applications/item/addKey/index.d.ts.map +1 -0
- package/applications/item/addKey/index.js +64 -0
- package/applications/item/addPassword/index.d.ts +61 -0
- package/applications/item/addPassword/index.d.ts.map +1 -0
- package/applications/item/addPassword/index.js +60 -0
- package/applications/item/appManagementPolicies/count/index.d.ts +40 -0
- package/applications/item/appManagementPolicies/count/index.d.ts.map +1 -0
- package/applications/item/appManagementPolicies/count/index.js +35 -0
- package/applications/item/appManagementPolicies/index.d.ts +86 -0
- package/applications/item/appManagementPolicies/index.d.ts.map +1 -0
- package/applications/item/appManagementPolicies/index.js +63 -0
- package/applications/item/appManagementPolicies/item/index.d.ts +20 -0
- package/applications/item/appManagementPolicies/item/index.d.ts.map +1 -0
- package/applications/item/appManagementPolicies/item/index.js +22 -0
- package/applications/item/appManagementPolicies/item/ref/index.d.ts +36 -0
- package/applications/item/appManagementPolicies/item/ref/index.d.ts.map +1 -0
- package/applications/item/appManagementPolicies/item/ref/index.js +33 -0
- package/applications/item/appManagementPolicies/ref/index.d.ts +71 -0
- package/applications/item/appManagementPolicies/ref/index.d.ts.map +1 -0
- package/applications/item/appManagementPolicies/ref/index.js +51 -0
- package/applications/item/checkMemberGroups/index.d.ts +83 -0
- package/applications/item/checkMemberGroups/index.d.ts.map +1 -0
- package/applications/item/checkMemberGroups/index.js +86 -0
- package/applications/item/checkMemberObjects/index.d.ts +82 -0
- package/applications/item/checkMemberObjects/index.d.ts.map +1 -0
- package/applications/item/checkMemberObjects/index.js +86 -0
- package/applications/item/createdOnBehalfOf/index.d.ts +41 -0
- package/applications/item/createdOnBehalfOf/index.d.ts.map +1 -0
- package/applications/item/createdOnBehalfOf/index.js +36 -0
- package/applications/item/extensionProperties/count/index.d.ts +40 -0
- package/applications/item/extensionProperties/count/index.d.ts.map +1 -0
- package/applications/item/extensionProperties/count/index.js +35 -0
- package/applications/item/extensionProperties/index.d.ts +97 -0
- package/applications/item/extensionProperties/index.d.ts.map +1 -0
- package/applications/item/extensionProperties/index.js +70 -0
- package/applications/item/extensionProperties/item/index.d.ts +68 -0
- package/applications/item/extensionProperties/item/index.d.ts.map +1 -0
- package/applications/item/extensionProperties/item/index.js +56 -0
- package/applications/item/federatedIdentityCredentials/count/index.d.ts +40 -0
- package/applications/item/federatedIdentityCredentials/count/index.d.ts.map +1 -0
- package/applications/item/federatedIdentityCredentials/count/index.js +35 -0
- package/applications/item/federatedIdentityCredentials/index.d.ts +97 -0
- package/applications/item/federatedIdentityCredentials/index.d.ts.map +1 -0
- package/applications/item/federatedIdentityCredentials/index.js +70 -0
- package/applications/item/federatedIdentityCredentials/item/index.d.ts +69 -0
- package/applications/item/federatedIdentityCredentials/item/index.d.ts.map +1 -0
- package/applications/item/federatedIdentityCredentials/item/index.js +56 -0
- package/applications/item/getMemberGroups/index.d.ts +83 -0
- package/applications/item/getMemberGroups/index.d.ts.map +1 -0
- package/applications/item/getMemberGroups/index.js +86 -0
- package/applications/item/getMemberObjects/index.d.ts +83 -0
- package/applications/item/getMemberObjects/index.d.ts.map +1 -0
- package/applications/item/getMemberObjects/index.js +86 -0
- package/applications/item/homeRealmDiscoveryPolicies/count/index.d.ts +40 -0
- package/applications/item/homeRealmDiscoveryPolicies/count/index.d.ts.map +1 -0
- package/applications/item/homeRealmDiscoveryPolicies/count/index.js +35 -0
- package/applications/item/homeRealmDiscoveryPolicies/index.d.ts +81 -0
- package/applications/item/homeRealmDiscoveryPolicies/index.d.ts.map +1 -0
- package/applications/item/homeRealmDiscoveryPolicies/index.js +58 -0
- package/applications/item/homeRealmDiscoveryPolicies/item/index.d.ts +41 -0
- package/applications/item/homeRealmDiscoveryPolicies/item/index.d.ts.map +1 -0
- package/applications/item/homeRealmDiscoveryPolicies/item/index.js +36 -0
- package/applications/item/index.d.ts +178 -0
- package/applications/item/index.d.ts.map +1 -0
- package/applications/item/index.js +174 -0
- package/applications/item/logo/index.d.ts +41 -0
- package/applications/item/logo/index.d.ts.map +1 -0
- package/applications/item/logo/index.js +38 -0
- package/applications/item/owners/count/index.d.ts +40 -0
- package/applications/item/owners/count/index.d.ts.map +1 -0
- package/applications/item/owners/count/index.js +35 -0
- package/applications/item/owners/graphAppRoleAssignment/count/index.d.ts +40 -0
- package/applications/item/owners/graphAppRoleAssignment/count/index.d.ts.map +1 -0
- package/applications/item/owners/graphAppRoleAssignment/count/index.js +35 -0
- package/applications/item/owners/graphAppRoleAssignment/index.d.ts +74 -0
- package/applications/item/owners/graphAppRoleAssignment/index.d.ts.map +1 -0
- package/applications/item/owners/graphAppRoleAssignment/index.js +52 -0
- package/applications/item/owners/graphEndpoint/count/index.d.ts +40 -0
- package/applications/item/owners/graphEndpoint/count/index.d.ts.map +1 -0
- package/applications/item/owners/graphEndpoint/count/index.js +35 -0
- package/applications/item/owners/graphEndpoint/index.d.ts +74 -0
- package/applications/item/owners/graphEndpoint/index.d.ts.map +1 -0
- package/applications/item/owners/graphEndpoint/index.js +52 -0
- package/applications/item/owners/graphServicePrincipal/count/index.d.ts +40 -0
- package/applications/item/owners/graphServicePrincipal/count/index.d.ts.map +1 -0
- package/applications/item/owners/graphServicePrincipal/count/index.js +35 -0
- package/applications/item/owners/graphServicePrincipal/index.d.ts +74 -0
- package/applications/item/owners/graphServicePrincipal/index.d.ts.map +1 -0
- package/applications/item/owners/graphServicePrincipal/index.js +52 -0
- package/applications/item/owners/graphUser/count/index.d.ts +40 -0
- package/applications/item/owners/graphUser/count/index.d.ts.map +1 -0
- package/applications/item/owners/graphUser/count/index.js +35 -0
- package/applications/item/owners/graphUser/index.d.ts +74 -0
- package/applications/item/owners/graphUser/index.d.ts.map +1 -0
- package/applications/item/owners/graphUser/index.js +52 -0
- package/applications/item/owners/index.d.ts +107 -0
- package/applications/item/owners/index.d.ts.map +1 -0
- package/applications/item/owners/index.js +87 -0
- package/applications/item/owners/item/graphAppRoleAssignment/index.d.ts +41 -0
- package/applications/item/owners/item/graphAppRoleAssignment/index.d.ts.map +1 -0
- package/applications/item/owners/item/graphAppRoleAssignment/index.js +36 -0
- package/applications/item/owners/item/graphEndpoint/index.d.ts +41 -0
- package/applications/item/owners/item/graphEndpoint/index.d.ts.map +1 -0
- package/applications/item/owners/item/graphEndpoint/index.js +36 -0
- package/applications/item/owners/item/graphServicePrincipal/index.d.ts +41 -0
- package/applications/item/owners/item/graphServicePrincipal/index.d.ts.map +1 -0
- package/applications/item/owners/item/graphServicePrincipal/index.js +36 -0
- package/applications/item/owners/item/graphUser/index.d.ts +41 -0
- package/applications/item/owners/item/graphUser/index.d.ts.map +1 -0
- package/applications/item/owners/item/graphUser/index.js +36 -0
- package/applications/item/owners/item/index.d.ts +40 -0
- package/applications/item/owners/item/index.d.ts.map +1 -0
- package/applications/item/owners/item/index.js +42 -0
- package/applications/item/owners/item/ref/index.d.ts +36 -0
- package/applications/item/owners/item/ref/index.d.ts.map +1 -0
- package/applications/item/owners/item/ref/index.js +33 -0
- package/applications/item/owners/ref/index.d.ts +72 -0
- package/applications/item/owners/ref/index.d.ts.map +1 -0
- package/applications/item/owners/ref/index.js +51 -0
- package/applications/item/removeKey/index.d.ts +64 -0
- package/applications/item/removeKey/index.d.ts.map +1 -0
- package/applications/item/removeKey/index.js +60 -0
- package/applications/item/removePassword/index.d.ts +60 -0
- package/applications/item/removePassword/index.d.ts.map +1 -0
- package/applications/item/removePassword/index.js +58 -0
- package/applications/item/restore/index.d.ts +29 -0
- package/applications/item/restore/index.d.ts.map +1 -0
- package/applications/item/restore/index.js +28 -0
- package/applications/item/setVerifiedPublisher/index.d.ts +59 -0
- package/applications/item/setVerifiedPublisher/index.d.ts.map +1 -0
- package/applications/item/setVerifiedPublisher/index.js +58 -0
- package/applications/item/synchronization/acquireAccessToken/index.d.ts +60 -0
- package/applications/item/synchronization/acquireAccessToken/index.d.ts.map +1 -0
- package/applications/item/synchronization/acquireAccessToken/index.js +59 -0
- package/applications/item/synchronization/index.d.ts +90 -0
- package/applications/item/synchronization/index.d.ts.map +1 -0
- package/applications/item/synchronization/index.js +84 -0
- package/applications/item/synchronization/jobs/count/index.d.ts +40 -0
- package/applications/item/synchronization/jobs/count/index.d.ts.map +1 -0
- package/applications/item/synchronization/jobs/count/index.js +35 -0
- package/applications/item/synchronization/jobs/index.d.ts +102 -0
- package/applications/item/synchronization/jobs/index.d.ts.map +1 -0
- package/applications/item/synchronization/jobs/index.js +76 -0
- package/applications/item/synchronization/jobs/item/index.d.ts +102 -0
- package/applications/item/synchronization/jobs/item/index.d.ts.map +1 -0
- package/applications/item/synchronization/jobs/item/index.js +92 -0
- package/applications/item/synchronization/jobs/item/pause/index.d.ts +27 -0
- package/applications/item/synchronization/jobs/item/pause/index.d.ts.map +1 -0
- package/applications/item/synchronization/jobs/item/pause/index.js +26 -0
- package/applications/item/synchronization/jobs/item/provisionOnDemand/index.d.ts +61 -0
- package/applications/item/synchronization/jobs/item/provisionOnDemand/index.d.ts.map +1 -0
- package/applications/item/synchronization/jobs/item/provisionOnDemand/index.js +60 -0
- package/applications/item/synchronization/jobs/item/restart/index.d.ts +60 -0
- package/applications/item/synchronization/jobs/item/restart/index.d.ts.map +1 -0
- package/applications/item/synchronization/jobs/item/restart/index.js +59 -0
- package/applications/item/synchronization/jobs/item/schema/directories/count/index.d.ts +40 -0
- package/applications/item/synchronization/jobs/item/schema/directories/count/index.d.ts.map +1 -0
- package/applications/item/synchronization/jobs/item/schema/directories/count/index.js +35 -0
- package/applications/item/synchronization/jobs/item/schema/directories/index.d.ts +95 -0
- package/applications/item/synchronization/jobs/item/schema/directories/index.d.ts.map +1 -0
- package/applications/item/synchronization/jobs/item/schema/directories/index.js +71 -0
- package/applications/item/synchronization/jobs/item/schema/directories/item/discover/index.d.ts +29 -0
- package/applications/item/synchronization/jobs/item/schema/directories/item/discover/index.d.ts.map +1 -0
- package/applications/item/synchronization/jobs/item/schema/directories/item/discover/index.js +28 -0
- package/applications/item/synchronization/jobs/item/schema/directories/item/index.d.ts +75 -0
- package/applications/item/synchronization/jobs/item/schema/directories/item/index.d.ts.map +1 -0
- package/applications/item/synchronization/jobs/item/schema/directories/item/index.js +66 -0
- package/applications/item/synchronization/jobs/item/schema/filterOperators/index.d.ts +83 -0
- package/applications/item/synchronization/jobs/item/schema/filterOperators/index.d.ts.map +1 -0
- package/applications/item/synchronization/jobs/item/schema/filterOperators/index.js +67 -0
- package/applications/item/synchronization/jobs/item/schema/functions/index.d.ts +83 -0
- package/applications/item/synchronization/jobs/item/schema/functions/index.d.ts.map +1 -0
- package/applications/item/synchronization/jobs/item/schema/functions/index.js +67 -0
- package/applications/item/synchronization/jobs/item/schema/index.d.ts +92 -0
- package/applications/item/synchronization/jobs/item/schema/index.d.ts.map +1 -0
- package/applications/item/synchronization/jobs/item/schema/index.js +82 -0
- package/applications/item/synchronization/jobs/item/schema/parseExpression/index.d.ts +69 -0
- package/applications/item/synchronization/jobs/item/schema/parseExpression/index.d.ts.map +1 -0
- package/applications/item/synchronization/jobs/item/schema/parseExpression/index.js +64 -0
- package/applications/item/synchronization/jobs/item/start/index.d.ts +27 -0
- package/applications/item/synchronization/jobs/item/start/index.d.ts.map +1 -0
- package/applications/item/synchronization/jobs/item/start/index.js +26 -0
- package/applications/item/synchronization/jobs/item/validateCredentials/index.d.ts +72 -0
- package/applications/item/synchronization/jobs/item/validateCredentials/index.d.ts.map +1 -0
- package/applications/item/synchronization/jobs/item/validateCredentials/index.js +65 -0
- package/applications/item/synchronization/jobs/validateCredentials/index.d.ts +71 -0
- package/applications/item/synchronization/jobs/validateCredentials/index.d.ts.map +1 -0
- package/applications/item/synchronization/jobs/validateCredentials/index.js +65 -0
- package/applications/item/synchronization/secrets/count/index.d.ts +40 -0
- package/applications/item/synchronization/secrets/count/index.d.ts.map +1 -0
- package/applications/item/synchronization/secrets/count/index.js +35 -0
- package/applications/item/synchronization/secrets/index.d.ts +39 -0
- package/applications/item/synchronization/secrets/index.d.ts.map +1 -0
- package/applications/item/synchronization/secrets/index.js +41 -0
- package/applications/item/synchronization/templates/count/index.d.ts +40 -0
- package/applications/item/synchronization/templates/count/index.d.ts.map +1 -0
- package/applications/item/synchronization/templates/count/index.js +35 -0
- package/applications/item/synchronization/templates/index.d.ts +96 -0
- package/applications/item/synchronization/templates/index.d.ts.map +1 -0
- package/applications/item/synchronization/templates/index.js +71 -0
- package/applications/item/synchronization/templates/item/index.d.ts +76 -0
- package/applications/item/synchronization/templates/item/index.d.ts.map +1 -0
- package/applications/item/synchronization/templates/item/index.js +67 -0
- package/applications/item/synchronization/templates/item/schema/directories/count/index.d.ts +40 -0
- package/applications/item/synchronization/templates/item/schema/directories/count/index.d.ts.map +1 -0
- package/applications/item/synchronization/templates/item/schema/directories/count/index.js +35 -0
- package/applications/item/synchronization/templates/item/schema/directories/index.d.ts +95 -0
- package/applications/item/synchronization/templates/item/schema/directories/index.d.ts.map +1 -0
- package/applications/item/synchronization/templates/item/schema/directories/index.js +71 -0
- package/applications/item/synchronization/templates/item/schema/directories/item/discover/index.d.ts +29 -0
- package/applications/item/synchronization/templates/item/schema/directories/item/discover/index.d.ts.map +1 -0
- package/applications/item/synchronization/templates/item/schema/directories/item/discover/index.js +28 -0
- package/applications/item/synchronization/templates/item/schema/directories/item/index.d.ts +75 -0
- package/applications/item/synchronization/templates/item/schema/directories/item/index.d.ts.map +1 -0
- package/applications/item/synchronization/templates/item/schema/directories/item/index.js +66 -0
- package/applications/item/synchronization/templates/item/schema/filterOperators/index.d.ts +83 -0
- package/applications/item/synchronization/templates/item/schema/filterOperators/index.d.ts.map +1 -0
- package/applications/item/synchronization/templates/item/schema/filterOperators/index.js +67 -0
- package/applications/item/synchronization/templates/item/schema/functions/index.d.ts +83 -0
- package/applications/item/synchronization/templates/item/schema/functions/index.d.ts.map +1 -0
- package/applications/item/synchronization/templates/item/schema/functions/index.js +67 -0
- package/applications/item/synchronization/templates/item/schema/index.d.ts +90 -0
- package/applications/item/synchronization/templates/item/schema/index.d.ts.map +1 -0
- package/applications/item/synchronization/templates/item/schema/index.js +82 -0
- package/applications/item/synchronization/templates/item/schema/parseExpression/index.d.ts +69 -0
- package/applications/item/synchronization/templates/item/schema/parseExpression/index.d.ts.map +1 -0
- package/applications/item/synchronization/templates/item/schema/parseExpression/index.js +64 -0
- package/applications/item/tokenIssuancePolicies/count/index.d.ts +40 -0
- package/applications/item/tokenIssuancePolicies/count/index.d.ts.map +1 -0
- package/applications/item/tokenIssuancePolicies/count/index.js +35 -0
- package/applications/item/tokenIssuancePolicies/index.d.ts +87 -0
- package/applications/item/tokenIssuancePolicies/index.d.ts.map +1 -0
- package/applications/item/tokenIssuancePolicies/index.js +63 -0
- package/applications/item/tokenIssuancePolicies/item/index.d.ts +20 -0
- package/applications/item/tokenIssuancePolicies/item/index.d.ts.map +1 -0
- package/applications/item/tokenIssuancePolicies/item/index.js +22 -0
- package/applications/item/tokenIssuancePolicies/item/ref/index.d.ts +36 -0
- package/applications/item/tokenIssuancePolicies/item/ref/index.d.ts.map +1 -0
- package/applications/item/tokenIssuancePolicies/item/ref/index.js +33 -0
- package/applications/item/tokenIssuancePolicies/ref/index.d.ts +72 -0
- package/applications/item/tokenIssuancePolicies/ref/index.d.ts.map +1 -0
- package/applications/item/tokenIssuancePolicies/ref/index.js +51 -0
- package/applications/item/tokenLifetimePolicies/count/index.d.ts +40 -0
- package/applications/item/tokenLifetimePolicies/count/index.d.ts.map +1 -0
- package/applications/item/tokenLifetimePolicies/count/index.js +35 -0
- package/applications/item/tokenLifetimePolicies/index.d.ts +87 -0
- package/applications/item/tokenLifetimePolicies/index.d.ts.map +1 -0
- package/applications/item/tokenLifetimePolicies/index.js +63 -0
- package/applications/item/tokenLifetimePolicies/item/index.d.ts +20 -0
- package/applications/item/tokenLifetimePolicies/item/index.d.ts.map +1 -0
- package/applications/item/tokenLifetimePolicies/item/index.js +22 -0
- package/applications/item/tokenLifetimePolicies/item/ref/index.d.ts +36 -0
- package/applications/item/tokenLifetimePolicies/item/ref/index.d.ts.map +1 -0
- package/applications/item/tokenLifetimePolicies/item/ref/index.js +33 -0
- package/applications/item/tokenLifetimePolicies/ref/index.d.ts +72 -0
- package/applications/item/tokenLifetimePolicies/ref/index.d.ts.map +1 -0
- package/applications/item/tokenLifetimePolicies/ref/index.js +51 -0
- package/applications/item/unsetVerifiedPublisher/index.d.ts +27 -0
- package/applications/item/unsetVerifiedPublisher/index.d.ts.map +1 -0
- package/applications/item/unsetVerifiedPublisher/index.js +26 -0
- package/applications/validateProperties/index.d.ts +72 -0
- package/applications/validateProperties/index.d.ts.map +1 -0
- package/applications/validateProperties/index.js +64 -0
- package/applicationsServiceClient.d.ts +25 -0
- package/applicationsServiceClient.d.ts.map +1 -0
- package/applicationsServiceClient.js +49 -0
- package/index.d.ts +11 -0
- package/index.d.ts.map +1 -0
- package/index.js +20 -0
- package/package.json +48 -0
- package/tsconfig.json +15 -0
- package/tsconfig.tsbuildinfo +1 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Provides operations to manage the collection of application entities.
|
|
4
|
+
*/
|
|
5
|
+
export interface RefRequestBuilder extends BaseRequestBuilder<RefRequestBuilder> {
|
|
6
|
+
/**
|
|
7
|
+
* Remove an owner from an application. As a recommended best practice, apps should have at least two owners.
|
|
8
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
+
* @see {@link https://learn.microsoft.com/graph/api/application-delete-owners?view=graph-rest-1.0|Find more info here}
|
|
10
|
+
*/
|
|
11
|
+
delete(requestConfiguration?: RequestConfiguration<RefRequestBuilderDeleteQueryParameters> | undefined): Promise<void>;
|
|
12
|
+
/**
|
|
13
|
+
* Remove an owner from an application. As a recommended best practice, apps should have at least two owners.
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @returns a RequestInformation
|
|
16
|
+
*/
|
|
17
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<RefRequestBuilderDeleteQueryParameters> | undefined): RequestInformation;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Remove an owner from an application. As a recommended best practice, apps should have at least two owners.
|
|
21
|
+
*/
|
|
22
|
+
export interface RefRequestBuilderDeleteQueryParameters {
|
|
23
|
+
/**
|
|
24
|
+
* Delete Uri
|
|
25
|
+
*/
|
|
26
|
+
id?: string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Metadata for all the requests in the request builder.
|
|
30
|
+
*/
|
|
31
|
+
export declare const RefRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
32
|
+
/**
|
|
33
|
+
* Uri template for the request builder.
|
|
34
|
+
*/
|
|
35
|
+
export declare const RefRequestBuilderUriTemplate = "{+baseurl}/applications/{application%2Did}/owners/{directoryObject%2Did}/$ref{?%40id*}";
|
|
36
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,iBAAkB,SAAQ,kBAAkB,CAAC,iBAAiB,CAAC;IAC5E;;;;OAIG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,sCAAsC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzH;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,sCAAsC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACrJ;AACD;;GAEG;AACH,MAAM,WAAW,sCAAsC;IACnD;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;CACf;AAOD;;GAEG;AACH,eAAO,MAAM,iCAAiC,EAAE,gBAU/C,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,4BAA4B,2FAA2F,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RefRequestBuilderUriTemplate = exports.RefRequestBuilderRequestsMetadata = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
8
|
+
/**
|
|
9
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
10
|
+
*/
|
|
11
|
+
const RefRequestBuilderDeleteQueryParametersMapper = {
|
|
12
|
+
"id": "%40id",
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Metadata for all the requests in the request builder.
|
|
16
|
+
*/
|
|
17
|
+
exports.RefRequestBuilderRequestsMetadata = {
|
|
18
|
+
delete: {
|
|
19
|
+
responseBodyContentType: "application/json",
|
|
20
|
+
errorMappings: {
|
|
21
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
22
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
23
|
+
},
|
|
24
|
+
adapterMethodName: "sendNoResponseContentAsync",
|
|
25
|
+
queryParametersMapper: RefRequestBuilderDeleteQueryParametersMapper,
|
|
26
|
+
},
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Uri template for the request builder.
|
|
30
|
+
*/
|
|
31
|
+
exports.RefRequestBuilderUriTemplate = "{+baseurl}/applications/{application%2Did}/owners/{directoryObject%2Did}/$ref{?%40id*}";
|
|
32
|
+
/* tslint:enable */
|
|
33
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { type ReferenceCreate, type StringCollectionResponse } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Provides operations to manage the collection of application entities.
|
|
5
|
+
*/
|
|
6
|
+
export interface RefRequestBuilder extends BaseRequestBuilder<RefRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Directory objects that are owners of the application. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @returns a Promise of StringCollectionResponse
|
|
11
|
+
* @see {@link https://learn.microsoft.com/graph/api/application-list-owners?view=graph-rest-1.0|Find more info here}
|
|
12
|
+
*/
|
|
13
|
+
get(requestConfiguration?: RequestConfiguration<RefRequestBuilderGetQueryParameters> | undefined): Promise<StringCollectionResponse | undefined>;
|
|
14
|
+
/**
|
|
15
|
+
* Add an owner to an application by posting to the owners collection.
|
|
16
|
+
* @param body The request body
|
|
17
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
18
|
+
* @see {@link https://learn.microsoft.com/graph/api/application-post-owners?view=graph-rest-1.0|Find more info here}
|
|
19
|
+
*/
|
|
20
|
+
post(body: ReferenceCreate, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
21
|
+
/**
|
|
22
|
+
* Directory objects that are owners of the application. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.
|
|
23
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
24
|
+
* @returns a RequestInformation
|
|
25
|
+
*/
|
|
26
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<RefRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
27
|
+
/**
|
|
28
|
+
* Add an owner to an application by posting to the owners collection.
|
|
29
|
+
* @param body The request body
|
|
30
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
31
|
+
* @returns a RequestInformation
|
|
32
|
+
*/
|
|
33
|
+
toPostRequestInformation(body: ReferenceCreate, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Directory objects that are owners of the application. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.
|
|
37
|
+
*/
|
|
38
|
+
export interface RefRequestBuilderGetQueryParameters {
|
|
39
|
+
/**
|
|
40
|
+
* Include count of items
|
|
41
|
+
*/
|
|
42
|
+
count?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Filter items by property values
|
|
45
|
+
*/
|
|
46
|
+
filter?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Order items by property values
|
|
49
|
+
*/
|
|
50
|
+
orderby?: string[];
|
|
51
|
+
/**
|
|
52
|
+
* Search items by search phrases
|
|
53
|
+
*/
|
|
54
|
+
search?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Skip the first n items
|
|
57
|
+
*/
|
|
58
|
+
skip?: number;
|
|
59
|
+
/**
|
|
60
|
+
* Show only the first n items
|
|
61
|
+
*/
|
|
62
|
+
top?: number;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Metadata for all the requests in the request builder.
|
|
66
|
+
*/
|
|
67
|
+
export declare const RefRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
68
|
+
/**
|
|
69
|
+
* Uri template for the request builder.
|
|
70
|
+
*/
|
|
71
|
+
export declare const RefRequestBuilderUriTemplate = "{+baseurl}/applications/{application%2Did}/owners/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby}";
|
|
72
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAkF,KAAK,eAAe,EAAE,KAAK,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAErL,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,iBAAkB,SAAQ,kBAAkB,CAAC,iBAAiB,CAAC;IAC5E;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,mCAAmC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,wBAAwB,GAAG,SAAS,CAAC,CAAC;IACnJ;;;;;OAKG;IACF,IAAI,CAAC,IAAI,EAAE,eAAe,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9G;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,mCAAmC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC5I;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,eAAe,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC1I;AACD;;GAEG;AACH,MAAM,WAAW,mCAAmC;IAChD;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AAYD;;GAEG;AACH,eAAO,MAAM,iCAAiC,EAAE,gBAsB/C,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,4BAA4B,oHAAoH,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RefRequestBuilderUriTemplate = exports.RefRequestBuilderRequestsMetadata = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
/**
|
|
10
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
11
|
+
*/
|
|
12
|
+
const RefRequestBuilderGetQueryParametersMapper = {
|
|
13
|
+
"count": "%24count",
|
|
14
|
+
"filter": "%24filter",
|
|
15
|
+
"orderby": "%24orderby",
|
|
16
|
+
"search": "%24search",
|
|
17
|
+
"skip": "%24skip",
|
|
18
|
+
"top": "%24top",
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Metadata for all the requests in the request builder.
|
|
22
|
+
*/
|
|
23
|
+
exports.RefRequestBuilderRequestsMetadata = {
|
|
24
|
+
get: {
|
|
25
|
+
responseBodyContentType: "application/json",
|
|
26
|
+
errorMappings: {
|
|
27
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
28
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
29
|
+
},
|
|
30
|
+
adapterMethodName: "sendAsync",
|
|
31
|
+
responseBodyFactory: models_1.createStringCollectionResponseFromDiscriminatorValue,
|
|
32
|
+
queryParametersMapper: RefRequestBuilderGetQueryParametersMapper,
|
|
33
|
+
},
|
|
34
|
+
post: {
|
|
35
|
+
responseBodyContentType: "application/json",
|
|
36
|
+
errorMappings: {
|
|
37
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
38
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
39
|
+
},
|
|
40
|
+
adapterMethodName: "sendNoResponseContentAsync",
|
|
41
|
+
requestBodyContentType: "application/json",
|
|
42
|
+
requestBodySerializer: models_1.serializeReferenceCreate,
|
|
43
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
44
|
+
},
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* Uri template for the request builder.
|
|
48
|
+
*/
|
|
49
|
+
exports.RefRequestBuilderUriTemplate = "{+baseurl}/applications/{application%2Did}/owners/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby}";
|
|
50
|
+
/* tslint:enable */
|
|
51
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
2
|
+
import { type Guid } from 'guid-typescript';
|
|
3
|
+
/**
|
|
4
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
5
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
6
|
+
* @returns a removeKeyPostRequestBody
|
|
7
|
+
*/
|
|
8
|
+
export declare function createRemoveKeyPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoRemoveKeyPostRequestBody;
|
|
9
|
+
/**
|
|
10
|
+
* The deserialization information for the current model
|
|
11
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
12
|
+
*/
|
|
13
|
+
export declare function deserializeIntoRemoveKeyPostRequestBody(removeKeyPostRequestBody?: RemoveKeyPostRequestBody | undefined): Record<string, (node: ParseNode) => void>;
|
|
14
|
+
export interface RemoveKeyPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
15
|
+
/**
|
|
16
|
+
* Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
17
|
+
*/
|
|
18
|
+
additionalData?: Record<string, unknown>;
|
|
19
|
+
/**
|
|
20
|
+
* Stores model information.
|
|
21
|
+
*/
|
|
22
|
+
backingStoreEnabled?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* The keyId property
|
|
25
|
+
*/
|
|
26
|
+
keyId?: Guid;
|
|
27
|
+
/**
|
|
28
|
+
* The proof property
|
|
29
|
+
*/
|
|
30
|
+
proof?: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Provides operations to call the removeKey method.
|
|
34
|
+
*/
|
|
35
|
+
export interface RemoveKeyRequestBuilder extends BaseRequestBuilder<RemoveKeyRequestBuilder> {
|
|
36
|
+
/**
|
|
37
|
+
* Remove a key credential from an application. This method along with addKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed.
|
|
38
|
+
* @param body The request body
|
|
39
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
40
|
+
* @see {@link https://learn.microsoft.com/graph/api/application-removekey?view=graph-rest-1.0|Find more info here}
|
|
41
|
+
*/
|
|
42
|
+
post(body: RemoveKeyPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
43
|
+
/**
|
|
44
|
+
* Remove a key credential from an application. This method along with addKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed.
|
|
45
|
+
* @param body The request body
|
|
46
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
47
|
+
* @returns a RequestInformation
|
|
48
|
+
*/
|
|
49
|
+
toPostRequestInformation(body: RemoveKeyPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Serializes information the current object
|
|
53
|
+
* @param writer Serialization writer to use to serialize this model
|
|
54
|
+
*/
|
|
55
|
+
export declare function serializeRemoveKeyPostRequestBody(writer: SerializationWriter, removeKeyPostRequestBody?: RemoveKeyPostRequestBody | undefined): void;
|
|
56
|
+
/**
|
|
57
|
+
* Metadata for all the requests in the request builder.
|
|
58
|
+
*/
|
|
59
|
+
export declare const RemoveKeyRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
60
|
+
/**
|
|
61
|
+
* Uri template for the request builder.
|
|
62
|
+
*/
|
|
63
|
+
export declare const RemoveKeyRequestBuilderUriTemplate = "{+baseurl}/applications/{application%2Did}/removeKey";
|
|
64
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAClS,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAE5C;;;;GAIG;AACH,wBAAgB,oDAAoD,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,kDAEpG;AACD;;;GAGG;AACH,wBAAgB,uCAAuC,CAAC,wBAAwB,GAAE,wBAAwB,GAAG,SAA0C,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAMnM;AACD,MAAM,WAAW,wBAAyB,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IACzF;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,KAAK,CAAC,EAAE,IAAI,CAAC;IACb;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AACD;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,kBAAkB,CAAC,uBAAuB,CAAC;IACxF;;;;;OAKG;IACF,IAAI,CAAC,IAAI,EAAE,wBAAwB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACvH;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,wBAAwB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnJ;AACD;;;GAGG;AACH,wBAAgB,iCAAiC,CAAC,MAAM,EAAE,mBAAmB,EAAE,wBAAwB,GAAE,wBAAwB,GAAG,SAA0C,GAAI,IAAI,CAIrL;AACD;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,gBAYrD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,kCAAkC,yDAAyD,CAAC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RemoveKeyRequestBuilderUriTemplate = exports.RemoveKeyRequestBuilderRequestsMetadata = exports.serializeRemoveKeyPostRequestBody = exports.deserializeIntoRemoveKeyPostRequestBody = exports.createRemoveKeyPostRequestBodyFromDiscriminatorValue = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
8
|
+
/**
|
|
9
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
10
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
11
|
+
* @returns a removeKeyPostRequestBody
|
|
12
|
+
*/
|
|
13
|
+
function createRemoveKeyPostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
14
|
+
return deserializeIntoRemoveKeyPostRequestBody;
|
|
15
|
+
}
|
|
16
|
+
exports.createRemoveKeyPostRequestBodyFromDiscriminatorValue = createRemoveKeyPostRequestBodyFromDiscriminatorValue;
|
|
17
|
+
/**
|
|
18
|
+
* The deserialization information for the current model
|
|
19
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
20
|
+
*/
|
|
21
|
+
function deserializeIntoRemoveKeyPostRequestBody(removeKeyPostRequestBody = {}) {
|
|
22
|
+
return {
|
|
23
|
+
"backingStoreEnabled": n => { removeKeyPostRequestBody.backingStoreEnabled = true; },
|
|
24
|
+
"keyId": n => { removeKeyPostRequestBody.keyId = n.getGuidValue(); },
|
|
25
|
+
"proof": n => { removeKeyPostRequestBody.proof = n.getStringValue(); },
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
exports.deserializeIntoRemoveKeyPostRequestBody = deserializeIntoRemoveKeyPostRequestBody;
|
|
29
|
+
/**
|
|
30
|
+
* Serializes information the current object
|
|
31
|
+
* @param writer Serialization writer to use to serialize this model
|
|
32
|
+
*/
|
|
33
|
+
function serializeRemoveKeyPostRequestBody(writer, removeKeyPostRequestBody = {}) {
|
|
34
|
+
writer.writeGuidValue("keyId", removeKeyPostRequestBody.keyId);
|
|
35
|
+
writer.writeStringValue("proof", removeKeyPostRequestBody.proof);
|
|
36
|
+
writer.writeAdditionalData(removeKeyPostRequestBody.additionalData);
|
|
37
|
+
}
|
|
38
|
+
exports.serializeRemoveKeyPostRequestBody = serializeRemoveKeyPostRequestBody;
|
|
39
|
+
/**
|
|
40
|
+
* Metadata for all the requests in the request builder.
|
|
41
|
+
*/
|
|
42
|
+
exports.RemoveKeyRequestBuilderRequestsMetadata = {
|
|
43
|
+
post: {
|
|
44
|
+
responseBodyContentType: "application/json",
|
|
45
|
+
errorMappings: {
|
|
46
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
47
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
48
|
+
},
|
|
49
|
+
adapterMethodName: "sendNoResponseContentAsync",
|
|
50
|
+
requestBodyContentType: "application/json",
|
|
51
|
+
requestBodySerializer: serializeRemoveKeyPostRequestBody,
|
|
52
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
53
|
+
},
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* Uri template for the request builder.
|
|
57
|
+
*/
|
|
58
|
+
exports.RemoveKeyRequestBuilderUriTemplate = "{+baseurl}/applications/{application%2Did}/removeKey";
|
|
59
|
+
/* tslint:enable */
|
|
60
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
2
|
+
import { type Guid } from 'guid-typescript';
|
|
3
|
+
/**
|
|
4
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
5
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
6
|
+
* @returns a removePasswordPostRequestBody
|
|
7
|
+
*/
|
|
8
|
+
export declare function createRemovePasswordPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoRemovePasswordPostRequestBody;
|
|
9
|
+
/**
|
|
10
|
+
* The deserialization information for the current model
|
|
11
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
12
|
+
*/
|
|
13
|
+
export declare function deserializeIntoRemovePasswordPostRequestBody(removePasswordPostRequestBody?: RemovePasswordPostRequestBody | undefined): Record<string, (node: ParseNode) => void>;
|
|
14
|
+
export interface RemovePasswordPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
15
|
+
/**
|
|
16
|
+
* Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
17
|
+
*/
|
|
18
|
+
additionalData?: Record<string, unknown>;
|
|
19
|
+
/**
|
|
20
|
+
* Stores model information.
|
|
21
|
+
*/
|
|
22
|
+
backingStoreEnabled?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* The keyId property
|
|
25
|
+
*/
|
|
26
|
+
keyId?: Guid;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Provides operations to call the removePassword method.
|
|
30
|
+
*/
|
|
31
|
+
export interface RemovePasswordRequestBuilder extends BaseRequestBuilder<RemovePasswordRequestBuilder> {
|
|
32
|
+
/**
|
|
33
|
+
* Remove a password from an application.
|
|
34
|
+
* @param body The request body
|
|
35
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
36
|
+
* @see {@link https://learn.microsoft.com/graph/api/application-removepassword?view=graph-rest-1.0|Find more info here}
|
|
37
|
+
*/
|
|
38
|
+
post(body: RemovePasswordPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
39
|
+
/**
|
|
40
|
+
* Remove a password from an application.
|
|
41
|
+
* @param body The request body
|
|
42
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
43
|
+
* @returns a RequestInformation
|
|
44
|
+
*/
|
|
45
|
+
toPostRequestInformation(body: RemovePasswordPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Serializes information the current object
|
|
49
|
+
* @param writer Serialization writer to use to serialize this model
|
|
50
|
+
*/
|
|
51
|
+
export declare function serializeRemovePasswordPostRequestBody(writer: SerializationWriter, removePasswordPostRequestBody?: RemovePasswordPostRequestBody | undefined): void;
|
|
52
|
+
/**
|
|
53
|
+
* Metadata for all the requests in the request builder.
|
|
54
|
+
*/
|
|
55
|
+
export declare const RemovePasswordRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
56
|
+
/**
|
|
57
|
+
* Uri template for the request builder.
|
|
58
|
+
*/
|
|
59
|
+
export declare const RemovePasswordRequestBuilderUriTemplate = "{+baseurl}/applications/{application%2Did}/removePassword";
|
|
60
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAClS,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAE5C;;;;GAIG;AACH,wBAAgB,yDAAyD,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,uDAEzG;AACD;;;GAGG;AACH,wBAAgB,4CAA4C,CAAC,6BAA6B,GAAE,6BAA6B,GAAG,SAA+C,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAKvN;AACD,MAAM,WAAW,6BAA8B,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IAC9F;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,KAAK,CAAC,EAAE,IAAI,CAAC;CAChB;AACD;;GAEG;AACH,MAAM,WAAW,4BAA6B,SAAQ,kBAAkB,CAAC,4BAA4B,CAAC;IAClG;;;;;OAKG;IACF,IAAI,CAAC,IAAI,EAAE,6BAA6B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5H;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,6BAA6B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACxJ;AACD;;;GAGG;AACH,wBAAgB,sCAAsC,CAAC,MAAM,EAAE,mBAAmB,EAAE,6BAA6B,GAAE,6BAA6B,GAAG,SAA+C,GAAI,IAAI,CAGzM;AACD;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,gBAY1D,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,uCAAuC,8DAA8D,CAAC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RemovePasswordRequestBuilderUriTemplate = exports.RemovePasswordRequestBuilderRequestsMetadata = exports.serializeRemovePasswordPostRequestBody = exports.deserializeIntoRemovePasswordPostRequestBody = exports.createRemovePasswordPostRequestBodyFromDiscriminatorValue = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
8
|
+
/**
|
|
9
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
10
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
11
|
+
* @returns a removePasswordPostRequestBody
|
|
12
|
+
*/
|
|
13
|
+
function createRemovePasswordPostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
14
|
+
return deserializeIntoRemovePasswordPostRequestBody;
|
|
15
|
+
}
|
|
16
|
+
exports.createRemovePasswordPostRequestBodyFromDiscriminatorValue = createRemovePasswordPostRequestBodyFromDiscriminatorValue;
|
|
17
|
+
/**
|
|
18
|
+
* The deserialization information for the current model
|
|
19
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
20
|
+
*/
|
|
21
|
+
function deserializeIntoRemovePasswordPostRequestBody(removePasswordPostRequestBody = {}) {
|
|
22
|
+
return {
|
|
23
|
+
"backingStoreEnabled": n => { removePasswordPostRequestBody.backingStoreEnabled = true; },
|
|
24
|
+
"keyId": n => { removePasswordPostRequestBody.keyId = n.getGuidValue(); },
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
exports.deserializeIntoRemovePasswordPostRequestBody = deserializeIntoRemovePasswordPostRequestBody;
|
|
28
|
+
/**
|
|
29
|
+
* Serializes information the current object
|
|
30
|
+
* @param writer Serialization writer to use to serialize this model
|
|
31
|
+
*/
|
|
32
|
+
function serializeRemovePasswordPostRequestBody(writer, removePasswordPostRequestBody = {}) {
|
|
33
|
+
writer.writeGuidValue("keyId", removePasswordPostRequestBody.keyId);
|
|
34
|
+
writer.writeAdditionalData(removePasswordPostRequestBody.additionalData);
|
|
35
|
+
}
|
|
36
|
+
exports.serializeRemovePasswordPostRequestBody = serializeRemovePasswordPostRequestBody;
|
|
37
|
+
/**
|
|
38
|
+
* Metadata for all the requests in the request builder.
|
|
39
|
+
*/
|
|
40
|
+
exports.RemovePasswordRequestBuilderRequestsMetadata = {
|
|
41
|
+
post: {
|
|
42
|
+
responseBodyContentType: "application/json",
|
|
43
|
+
errorMappings: {
|
|
44
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
45
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
46
|
+
},
|
|
47
|
+
adapterMethodName: "sendNoResponseContentAsync",
|
|
48
|
+
requestBodyContentType: "application/json",
|
|
49
|
+
requestBodySerializer: serializeRemovePasswordPostRequestBody,
|
|
50
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
51
|
+
},
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* Uri template for the request builder.
|
|
55
|
+
*/
|
|
56
|
+
exports.RemovePasswordRequestBuilderUriTemplate = "{+baseurl}/applications/{application%2Did}/removePassword";
|
|
57
|
+
/* tslint:enable */
|
|
58
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type DirectoryObject } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Provides operations to call the restore method.
|
|
5
|
+
*/
|
|
6
|
+
export interface RestoreRequestBuilder extends BaseRequestBuilder<RestoreRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @returns a Promise of DirectoryObject
|
|
11
|
+
* @see {@link https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0|Find more info here}
|
|
12
|
+
*/
|
|
13
|
+
post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DirectoryObject | undefined>;
|
|
14
|
+
/**
|
|
15
|
+
* Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
|
|
16
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
17
|
+
* @returns a RequestInformation
|
|
18
|
+
*/
|
|
19
|
+
toPostRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Metadata for all the requests in the request builder.
|
|
23
|
+
*/
|
|
24
|
+
export declare const RestoreRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
25
|
+
/**
|
|
26
|
+
* Uri template for the request builder.
|
|
27
|
+
*/
|
|
28
|
+
export declare const RestoreRequestBuilderUriTemplate = "{+baseurl}/applications/{application%2Did}/restore";
|
|
29
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA+C,KAAK,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAEnH,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC;IACpF;;;;;OAKG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,eAAe,GAAG,SAAS,CAAC,CAAC;IAC9G;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAUnD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,gCAAgC,uDAAuD,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RestoreRequestBuilderUriTemplate = exports.RestoreRequestBuilderRequestsMetadata = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
/**
|
|
10
|
+
* Metadata for all the requests in the request builder.
|
|
11
|
+
*/
|
|
12
|
+
exports.RestoreRequestBuilderRequestsMetadata = {
|
|
13
|
+
post: {
|
|
14
|
+
responseBodyContentType: "application/json",
|
|
15
|
+
errorMappings: {
|
|
16
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
17
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
18
|
+
},
|
|
19
|
+
adapterMethodName: "sendAsync",
|
|
20
|
+
responseBodyFactory: models_1.createDirectoryObjectFromDiscriminatorValue,
|
|
21
|
+
},
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Uri template for the request builder.
|
|
25
|
+
*/
|
|
26
|
+
exports.RestoreRequestBuilderUriTemplate = "{+baseurl}/applications/{application%2Did}/restore";
|
|
27
|
+
/* tslint:enable */
|
|
28
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
4
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
5
|
+
* @returns a setVerifiedPublisherPostRequestBody
|
|
6
|
+
*/
|
|
7
|
+
export declare function createSetVerifiedPublisherPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoSetVerifiedPublisherPostRequestBody;
|
|
8
|
+
/**
|
|
9
|
+
* The deserialization information for the current model
|
|
10
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
11
|
+
*/
|
|
12
|
+
export declare function deserializeIntoSetVerifiedPublisherPostRequestBody(setVerifiedPublisherPostRequestBody?: SetVerifiedPublisherPostRequestBody | undefined): Record<string, (node: ParseNode) => void>;
|
|
13
|
+
/**
|
|
14
|
+
* Serializes information the current object
|
|
15
|
+
* @param writer Serialization writer to use to serialize this model
|
|
16
|
+
*/
|
|
17
|
+
export declare function serializeSetVerifiedPublisherPostRequestBody(writer: SerializationWriter, setVerifiedPublisherPostRequestBody?: SetVerifiedPublisherPostRequestBody | undefined): void;
|
|
18
|
+
export interface SetVerifiedPublisherPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
19
|
+
/**
|
|
20
|
+
* Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
21
|
+
*/
|
|
22
|
+
additionalData?: Record<string, unknown>;
|
|
23
|
+
/**
|
|
24
|
+
* Stores model information.
|
|
25
|
+
*/
|
|
26
|
+
backingStoreEnabled?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* The verifiedPublisherId property
|
|
29
|
+
*/
|
|
30
|
+
verifiedPublisherId?: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Provides operations to call the setVerifiedPublisher method.
|
|
34
|
+
*/
|
|
35
|
+
export interface SetVerifiedPublisherRequestBuilder extends BaseRequestBuilder<SetVerifiedPublisherRequestBuilder> {
|
|
36
|
+
/**
|
|
37
|
+
* Set the verifiedPublisher on an application. For more information, including prerequisites to setting a verified publisher, see Publisher verification.
|
|
38
|
+
* @param body The request body
|
|
39
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
40
|
+
* @see {@link https://learn.microsoft.com/graph/api/application-setverifiedpublisher?view=graph-rest-1.0|Find more info here}
|
|
41
|
+
*/
|
|
42
|
+
post(body: SetVerifiedPublisherPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
43
|
+
/**
|
|
44
|
+
* Set the verifiedPublisher on an application. For more information, including prerequisites to setting a verified publisher, see Publisher verification.
|
|
45
|
+
* @param body The request body
|
|
46
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
47
|
+
* @returns a RequestInformation
|
|
48
|
+
*/
|
|
49
|
+
toPostRequestInformation(body: SetVerifiedPublisherPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Metadata for all the requests in the request builder.
|
|
53
|
+
*/
|
|
54
|
+
export declare const SetVerifiedPublisherRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
55
|
+
/**
|
|
56
|
+
* Uri template for the request builder.
|
|
57
|
+
*/
|
|
58
|
+
export declare const SetVerifiedPublisherRequestBuilderUriTemplate = "{+baseurl}/applications/{application%2Did}/setVerifiedPublisher";
|
|
59
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElS;;;;GAIG;AACH,wBAAgB,+DAA+D,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,6DAE/G;AACD;;;GAGG;AACH,wBAAgB,kDAAkD,CAAC,mCAAmC,GAAE,mCAAmC,GAAG,SAAqD,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAK/O;AACD;;;GAGG;AACH,wBAAgB,4CAA4C,CAAC,MAAM,EAAE,mBAAmB,EAAE,mCAAmC,GAAE,mCAAmC,GAAG,SAAqD,GAAI,IAAI,CAGjO;AACD,MAAM,WAAW,mCAAoC,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IACpG;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAChC;AACD;;GAEG;AACH,MAAM,WAAW,kCAAmC,SAAQ,kBAAkB,CAAC,kCAAkC,CAAC;IAC9G;;;;;OAKG;IACF,IAAI,CAAC,IAAI,EAAE,mCAAmC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAClI;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,mCAAmC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC9J;AACD;;GAEG;AACH,eAAO,MAAM,kDAAkD,EAAE,gBAYhE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,6CAA6C,oEAAoE,CAAC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SetVerifiedPublisherRequestBuilderUriTemplate = exports.SetVerifiedPublisherRequestBuilderRequestsMetadata = exports.serializeSetVerifiedPublisherPostRequestBody = exports.deserializeIntoSetVerifiedPublisherPostRequestBody = exports.createSetVerifiedPublisherPostRequestBodyFromDiscriminatorValue = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
8
|
+
/**
|
|
9
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
10
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
11
|
+
* @returns a setVerifiedPublisherPostRequestBody
|
|
12
|
+
*/
|
|
13
|
+
function createSetVerifiedPublisherPostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
14
|
+
return deserializeIntoSetVerifiedPublisherPostRequestBody;
|
|
15
|
+
}
|
|
16
|
+
exports.createSetVerifiedPublisherPostRequestBodyFromDiscriminatorValue = createSetVerifiedPublisherPostRequestBodyFromDiscriminatorValue;
|
|
17
|
+
/**
|
|
18
|
+
* The deserialization information for the current model
|
|
19
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
20
|
+
*/
|
|
21
|
+
function deserializeIntoSetVerifiedPublisherPostRequestBody(setVerifiedPublisherPostRequestBody = {}) {
|
|
22
|
+
return {
|
|
23
|
+
"backingStoreEnabled": n => { setVerifiedPublisherPostRequestBody.backingStoreEnabled = true; },
|
|
24
|
+
"verifiedPublisherId": n => { setVerifiedPublisherPostRequestBody.verifiedPublisherId = n.getStringValue(); },
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
exports.deserializeIntoSetVerifiedPublisherPostRequestBody = deserializeIntoSetVerifiedPublisherPostRequestBody;
|
|
28
|
+
/**
|
|
29
|
+
* Serializes information the current object
|
|
30
|
+
* @param writer Serialization writer to use to serialize this model
|
|
31
|
+
*/
|
|
32
|
+
function serializeSetVerifiedPublisherPostRequestBody(writer, setVerifiedPublisherPostRequestBody = {}) {
|
|
33
|
+
writer.writeStringValue("verifiedPublisherId", setVerifiedPublisherPostRequestBody.verifiedPublisherId);
|
|
34
|
+
writer.writeAdditionalData(setVerifiedPublisherPostRequestBody.additionalData);
|
|
35
|
+
}
|
|
36
|
+
exports.serializeSetVerifiedPublisherPostRequestBody = serializeSetVerifiedPublisherPostRequestBody;
|
|
37
|
+
/**
|
|
38
|
+
* Metadata for all the requests in the request builder.
|
|
39
|
+
*/
|
|
40
|
+
exports.SetVerifiedPublisherRequestBuilderRequestsMetadata = {
|
|
41
|
+
post: {
|
|
42
|
+
responseBodyContentType: "application/json",
|
|
43
|
+
errorMappings: {
|
|
44
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
45
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
46
|
+
},
|
|
47
|
+
adapterMethodName: "sendNoResponseContentAsync",
|
|
48
|
+
requestBodyContentType: "application/json",
|
|
49
|
+
requestBodySerializer: serializeSetVerifiedPublisherPostRequestBody,
|
|
50
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
51
|
+
},
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* Uri template for the request builder.
|
|
55
|
+
*/
|
|
56
|
+
exports.SetVerifiedPublisherRequestBuilderUriTemplate = "{+baseurl}/applications/{application%2Did}/setVerifiedPublisher";
|
|
57
|
+
/* tslint:enable */
|
|
58
|
+
/* eslint-enable */
|