@microsoft/msgraph-sdk-organization 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/index.d.ts +11 -0
- package/index.d.ts.map +1 -0
- package/index.js +20 -0
- package/organization/count/index.d.ts +40 -0
- package/organization/count/index.d.ts.map +1 -0
- package/organization/count/index.js +35 -0
- package/organization/delta/index.d.ts +83 -0
- package/organization/delta/index.d.ts.map +1 -0
- package/organization/delta/index.js +67 -0
- package/organization/getAvailableExtensionProperties/index.d.ts +83 -0
- package/organization/getAvailableExtensionProperties/index.d.ts.map +1 -0
- package/organization/getAvailableExtensionProperties/index.js +86 -0
- package/organization/getByIds/index.d.ts +87 -0
- package/organization/getByIds/index.d.ts.map +1 -0
- package/organization/getByIds/index.js +88 -0
- package/organization/index.d.ts +116 -0
- package/organization/index.d.ts.map +1 -0
- package/organization/index.js +91 -0
- package/organization/item/branding/backgroundImage/index.d.ts +44 -0
- package/organization/item/branding/backgroundImage/index.d.ts.map +1 -0
- package/organization/item/branding/backgroundImage/index.js +37 -0
- package/organization/item/branding/bannerLogo/index.d.ts +44 -0
- package/organization/item/branding/bannerLogo/index.d.ts.map +1 -0
- package/organization/item/branding/bannerLogo/index.js +37 -0
- package/organization/item/branding/customCSS/index.d.ts +44 -0
- package/organization/item/branding/customCSS/index.d.ts.map +1 -0
- package/organization/item/branding/customCSS/index.js +37 -0
- package/organization/item/branding/favicon/index.d.ts +44 -0
- package/organization/item/branding/favicon/index.d.ts.map +1 -0
- package/organization/item/branding/favicon/index.js +37 -0
- package/organization/item/branding/headerLogo/index.d.ts +44 -0
- package/organization/item/branding/headerLogo/index.d.ts.map +1 -0
- package/organization/item/branding/headerLogo/index.js +37 -0
- package/organization/item/branding/index.d.ts +113 -0
- package/organization/item/branding/index.d.ts.map +1 -0
- package/organization/item/branding/index.js +102 -0
- package/organization/item/branding/localizations/count/index.d.ts +40 -0
- package/organization/item/branding/localizations/count/index.d.ts.map +1 -0
- package/organization/item/branding/localizations/count/index.js +35 -0
- package/organization/item/branding/localizations/index.d.ts +97 -0
- package/organization/item/branding/localizations/index.d.ts.map +1 -0
- package/organization/item/branding/localizations/index.js +71 -0
- package/organization/item/branding/localizations/item/backgroundImage/index.d.ts +44 -0
- package/organization/item/branding/localizations/item/backgroundImage/index.d.ts.map +1 -0
- package/organization/item/branding/localizations/item/backgroundImage/index.js +37 -0
- package/organization/item/branding/localizations/item/bannerLogo/index.d.ts +44 -0
- package/organization/item/branding/localizations/item/bannerLogo/index.d.ts.map +1 -0
- package/organization/item/branding/localizations/item/bannerLogo/index.js +37 -0
- package/organization/item/branding/localizations/item/customCSS/index.d.ts +44 -0
- package/organization/item/branding/localizations/item/customCSS/index.d.ts.map +1 -0
- package/organization/item/branding/localizations/item/customCSS/index.js +37 -0
- package/organization/item/branding/localizations/item/favicon/index.d.ts +44 -0
- package/organization/item/branding/localizations/item/favicon/index.d.ts.map +1 -0
- package/organization/item/branding/localizations/item/favicon/index.js +37 -0
- package/organization/item/branding/localizations/item/headerLogo/index.d.ts +44 -0
- package/organization/item/branding/localizations/item/headerLogo/index.d.ts.map +1 -0
- package/organization/item/branding/localizations/item/headerLogo/index.js +37 -0
- package/organization/item/branding/localizations/item/index.d.ts +108 -0
- package/organization/item/branding/localizations/item/index.d.ts.map +1 -0
- package/organization/item/branding/localizations/item/index.js +96 -0
- package/organization/item/branding/localizations/item/squareLogo/index.d.ts +44 -0
- package/organization/item/branding/localizations/item/squareLogo/index.d.ts.map +1 -0
- package/organization/item/branding/localizations/item/squareLogo/index.js +37 -0
- package/organization/item/branding/localizations/item/squareLogoDark/index.d.ts +44 -0
- package/organization/item/branding/localizations/item/squareLogoDark/index.d.ts.map +1 -0
- package/organization/item/branding/localizations/item/squareLogoDark/index.js +37 -0
- package/organization/item/branding/squareLogo/index.d.ts +44 -0
- package/organization/item/branding/squareLogo/index.d.ts.map +1 -0
- package/organization/item/branding/squareLogo/index.js +37 -0
- package/organization/item/branding/squareLogoDark/index.d.ts +44 -0
- package/organization/item/branding/squareLogoDark/index.d.ts.map +1 -0
- package/organization/item/branding/squareLogoDark/index.js +37 -0
- package/organization/item/certificateBasedAuthConfiguration/count/index.d.ts +40 -0
- package/organization/item/certificateBasedAuthConfiguration/count/index.d.ts.map +1 -0
- package/organization/item/certificateBasedAuthConfiguration/count/index.js +35 -0
- package/organization/item/certificateBasedAuthConfiguration/index.d.ts +97 -0
- package/organization/item/certificateBasedAuthConfiguration/index.d.ts.map +1 -0
- package/organization/item/certificateBasedAuthConfiguration/index.js +70 -0
- package/organization/item/certificateBasedAuthConfiguration/item/index.d.ts +54 -0
- package/organization/item/certificateBasedAuthConfiguration/item/index.d.ts.map +1 -0
- package/organization/item/certificateBasedAuthConfiguration/item/index.js +44 -0
- package/organization/item/checkMemberGroups/index.d.ts +83 -0
- package/organization/item/checkMemberGroups/index.d.ts.map +1 -0
- package/organization/item/checkMemberGroups/index.js +86 -0
- package/organization/item/checkMemberObjects/index.d.ts +82 -0
- package/organization/item/checkMemberObjects/index.d.ts.map +1 -0
- package/organization/item/checkMemberObjects/index.js +86 -0
- package/organization/item/extensions/count/index.d.ts +40 -0
- package/organization/item/extensions/count/index.d.ts.map +1 -0
- package/organization/item/extensions/count/index.js +35 -0
- package/organization/item/extensions/index.d.ts +95 -0
- package/organization/item/extensions/index.d.ts.map +1 -0
- package/organization/item/extensions/index.js +70 -0
- package/organization/item/extensions/item/index.d.ts +66 -0
- package/organization/item/extensions/item/index.d.ts.map +1 -0
- package/organization/item/extensions/item/index.js +56 -0
- package/organization/item/getMemberGroups/index.d.ts +83 -0
- package/organization/item/getMemberGroups/index.d.ts.map +1 -0
- package/organization/item/getMemberGroups/index.js +86 -0
- package/organization/item/getMemberObjects/index.d.ts +83 -0
- package/organization/item/getMemberObjects/index.d.ts.map +1 -0
- package/organization/item/getMemberObjects/index.js +86 -0
- package/organization/item/index.d.ts +117 -0
- package/organization/item/index.d.ts.map +1 -0
- package/organization/item/index.js +109 -0
- package/organization/item/restore/index.d.ts +29 -0
- package/organization/item/restore/index.d.ts.map +1 -0
- package/organization/item/restore/index.js +28 -0
- package/organization/item/setMobileDeviceManagementAuthority/index.d.ts +58 -0
- package/organization/item/setMobileDeviceManagementAuthority/index.d.ts.map +1 -0
- package/organization/item/setMobileDeviceManagementAuthority/index.js +56 -0
- package/organization/validateProperties/index.d.ts +72 -0
- package/organization/validateProperties/index.d.ts.map +1 -0
- package/organization/validateProperties/index.js +64 -0
- package/organizationServiceClient.d.ts +25 -0
- package/organizationServiceClient.d.ts.map +1 -0
- package/organizationServiceClient.js +49 -0
- package/package.json +48 -0
- package/tsconfig.json +15 -0
- package/tsconfig.tsbuildinfo +1 -0
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { type Organization } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type BrandingRequestBuilder } from './branding/';
|
|
3
|
+
import { type CertificateBasedAuthConfigurationRequestBuilder } from './certificateBasedAuthConfiguration/';
|
|
4
|
+
import { type CheckMemberGroupsRequestBuilder } from './checkMemberGroups/';
|
|
5
|
+
import { type CheckMemberObjectsRequestBuilder } from './checkMemberObjects/';
|
|
6
|
+
import { type ExtensionsRequestBuilder } from './extensions/';
|
|
7
|
+
import { type GetMemberGroupsRequestBuilder } from './getMemberGroups/';
|
|
8
|
+
import { type GetMemberObjectsRequestBuilder } from './getMemberObjects/';
|
|
9
|
+
import { type RestoreRequestBuilder } from './restore/';
|
|
10
|
+
import { type SetMobileDeviceManagementAuthorityRequestBuilder } from './setMobileDeviceManagementAuthority/';
|
|
11
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
12
|
+
/**
|
|
13
|
+
* Provides operations to manage the collection of organization entities.
|
|
14
|
+
*/
|
|
15
|
+
export interface OrganizationItemRequestBuilder extends BaseRequestBuilder<OrganizationItemRequestBuilder> {
|
|
16
|
+
/**
|
|
17
|
+
* Provides operations to manage the branding property of the microsoft.graph.organization entity.
|
|
18
|
+
*/
|
|
19
|
+
get branding(): BrandingRequestBuilder;
|
|
20
|
+
/**
|
|
21
|
+
* Provides operations to manage the certificateBasedAuthConfiguration property of the microsoft.graph.organization entity.
|
|
22
|
+
*/
|
|
23
|
+
get certificateBasedAuthConfiguration(): CertificateBasedAuthConfigurationRequestBuilder;
|
|
24
|
+
/**
|
|
25
|
+
* Provides operations to call the checkMemberGroups method.
|
|
26
|
+
*/
|
|
27
|
+
get checkMemberGroups(): CheckMemberGroupsRequestBuilder;
|
|
28
|
+
/**
|
|
29
|
+
* Provides operations to call the checkMemberObjects method.
|
|
30
|
+
*/
|
|
31
|
+
get checkMemberObjects(): CheckMemberObjectsRequestBuilder;
|
|
32
|
+
/**
|
|
33
|
+
* Provides operations to manage the extensions property of the microsoft.graph.organization entity.
|
|
34
|
+
*/
|
|
35
|
+
get extensions(): ExtensionsRequestBuilder;
|
|
36
|
+
/**
|
|
37
|
+
* Provides operations to call the getMemberGroups method.
|
|
38
|
+
*/
|
|
39
|
+
get getMemberGroups(): GetMemberGroupsRequestBuilder;
|
|
40
|
+
/**
|
|
41
|
+
* Provides operations to call the getMemberObjects method.
|
|
42
|
+
*/
|
|
43
|
+
get getMemberObjects(): GetMemberObjectsRequestBuilder;
|
|
44
|
+
/**
|
|
45
|
+
* Provides operations to call the restore method.
|
|
46
|
+
*/
|
|
47
|
+
get restore(): RestoreRequestBuilder;
|
|
48
|
+
/**
|
|
49
|
+
* Provides operations to call the setMobileDeviceManagementAuthority method.
|
|
50
|
+
*/
|
|
51
|
+
get setMobileDeviceManagementAuthority(): SetMobileDeviceManagementAuthorityRequestBuilder;
|
|
52
|
+
/**
|
|
53
|
+
* Delete entity from organization
|
|
54
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
55
|
+
*/
|
|
56
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
57
|
+
/**
|
|
58
|
+
* Read properties and relationships of the organization object.
|
|
59
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
60
|
+
* @returns a Promise of Organization
|
|
61
|
+
* @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-organization-get?view=graph-rest-1.0|Find more info here}
|
|
62
|
+
*/
|
|
63
|
+
get(requestConfiguration?: RequestConfiguration<OrganizationItemRequestBuilderGetQueryParameters> | undefined): Promise<Organization | undefined>;
|
|
64
|
+
/**
|
|
65
|
+
* Update the properties of a organization object.
|
|
66
|
+
* @param body The request body
|
|
67
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
68
|
+
* @returns a Promise of Organization
|
|
69
|
+
* @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-organization-update?view=graph-rest-1.0|Find more info here}
|
|
70
|
+
*/
|
|
71
|
+
patch(body: Organization, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Organization | undefined>;
|
|
72
|
+
/**
|
|
73
|
+
* Delete entity from organization
|
|
74
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
75
|
+
* @returns a RequestInformation
|
|
76
|
+
*/
|
|
77
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
78
|
+
/**
|
|
79
|
+
* Read properties and relationships of the organization object.
|
|
80
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
81
|
+
* @returns a RequestInformation
|
|
82
|
+
*/
|
|
83
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<OrganizationItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
84
|
+
/**
|
|
85
|
+
* Update the properties of a organization object.
|
|
86
|
+
* @param body The request body
|
|
87
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
88
|
+
* @returns a RequestInformation
|
|
89
|
+
*/
|
|
90
|
+
toPatchRequestInformation(body: Organization, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Read properties and relationships of the organization object.
|
|
94
|
+
*/
|
|
95
|
+
export interface OrganizationItemRequestBuilderGetQueryParameters {
|
|
96
|
+
/**
|
|
97
|
+
* Expand related entities
|
|
98
|
+
*/
|
|
99
|
+
expand?: string[];
|
|
100
|
+
/**
|
|
101
|
+
* Select properties to be returned
|
|
102
|
+
*/
|
|
103
|
+
select?: string[];
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Metadata for all the navigation properties in the request builder.
|
|
107
|
+
*/
|
|
108
|
+
export declare const OrganizationItemRequestBuilderNavigationMetadata: Record<Exclude<keyof OrganizationItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
109
|
+
/**
|
|
110
|
+
* Metadata for all the requests in the request builder.
|
|
111
|
+
*/
|
|
112
|
+
export declare const OrganizationItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
113
|
+
/**
|
|
114
|
+
* Uri template for the request builder.
|
|
115
|
+
*/
|
|
116
|
+
export declare const OrganizationItemRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}{?%24select,%24expand}";
|
|
117
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAmE,KAAK,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAEpI,OAAO,EAAuH,KAAK,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAC/K,OAAO,EAAkM,KAAK,+CAA+C,EAAE,MAAM,sCAAsC,CAAC;AAC5S,OAAO,EAA+F,KAAK,+BAA+B,EAAE,MAAM,sBAAsB,CAAC;AACzK,OAAO,EAAiG,KAAK,gCAAgC,EAAE,MAAM,uBAAuB,CAAC;AAC7K,OAAO,EAA6H,KAAK,wBAAwB,EAAE,MAAM,eAAe,CAAC;AACzL,OAAO,EAA2F,KAAK,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AACjK,OAAO,EAA6F,KAAK,8BAA8B,EAAE,MAAM,qBAAqB,CAAC;AACrK,OAAO,EAA2E,KAAK,qBAAqB,EAAE,MAAM,YAAY,CAAC;AACjI,OAAO,EAAiI,KAAK,gDAAgD,EAAE,MAAM,uCAAuC,CAAC;AAC7O,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,8BAA+B,SAAQ,kBAAkB,CAAC,8BAA8B,CAAC;IACtG;;OAEG;IACH,IAAI,QAAQ,IAAI,sBAAsB,CAAC;IACvC;;OAEG;IACH,IAAI,iCAAiC,IAAI,+CAA+C,CAAC;IACzF;;OAEG;IACH,IAAI,iBAAiB,IAAI,+BAA+B,CAAC;IACzD;;OAEG;IACH,IAAI,kBAAkB,IAAI,gCAAgC,CAAC;IAC3D;;OAEG;IACH,IAAI,UAAU,IAAI,wBAAwB,CAAC;IAC3C;;OAEG;IACH,IAAI,eAAe,IAAI,6BAA6B,CAAC;IACrD;;OAEG;IACH,IAAI,gBAAgB,IAAI,8BAA8B,CAAC;IACvD;;OAEG;IACH,IAAI,OAAO,IAAI,qBAAqB,CAAC;IACrC;;OAEG;IACH,IAAI,kCAAkC,IAAI,gDAAgD,CAAC;IAC3F;;;OAGG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,gDAAgD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,YAAY,GAAG,SAAS,CAAC,CAAC;IACpJ;;;;;;OAMG;IACF,KAAK,CAAC,IAAI,EAAE,YAAY,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,YAAY,GAAG,SAAS,CAAC,CAAC;IAChI;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,gDAAgD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACzJ;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,YAAY,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACxI;AACD;;GAEG;AACH,MAAM,WAAW,gDAAgD;IAC7D;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,gDAAgD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,8BAA8B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAwC1K,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8CAA8C,EAAE,gBA+B5D,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,yCAAyC,sEAAsE,CAAC"}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OrganizationItemRequestBuilderUriTemplate = exports.OrganizationItemRequestBuilderRequestsMetadata = exports.OrganizationItemRequestBuilderNavigationMetadata = 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
|
+
const branding_1 = require("./branding/");
|
|
10
|
+
const certificateBasedAuthConfiguration_1 = require("./certificateBasedAuthConfiguration/");
|
|
11
|
+
const checkMemberGroups_1 = require("./checkMemberGroups/");
|
|
12
|
+
const checkMemberObjects_1 = require("./checkMemberObjects/");
|
|
13
|
+
const extensions_1 = require("./extensions/");
|
|
14
|
+
const getMemberGroups_1 = require("./getMemberGroups/");
|
|
15
|
+
const getMemberObjects_1 = require("./getMemberObjects/");
|
|
16
|
+
const restore_1 = require("./restore/");
|
|
17
|
+
const setMobileDeviceManagementAuthority_1 = require("./setMobileDeviceManagementAuthority/");
|
|
18
|
+
/**
|
|
19
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
20
|
+
*/
|
|
21
|
+
const OrganizationItemRequestBuilderGetQueryParametersMapper = {
|
|
22
|
+
"expand": "%24expand",
|
|
23
|
+
"select": "%24select",
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Metadata for all the navigation properties in the request builder.
|
|
27
|
+
*/
|
|
28
|
+
exports.OrganizationItemRequestBuilderNavigationMetadata = {
|
|
29
|
+
branding: {
|
|
30
|
+
uriTemplate: branding_1.BrandingRequestBuilderUriTemplate,
|
|
31
|
+
requestsMetadata: branding_1.BrandingRequestBuilderRequestsMetadata,
|
|
32
|
+
navigationMetadata: branding_1.BrandingRequestBuilderNavigationMetadata,
|
|
33
|
+
},
|
|
34
|
+
certificateBasedAuthConfiguration: {
|
|
35
|
+
uriTemplate: certificateBasedAuthConfiguration_1.CertificateBasedAuthConfigurationRequestBuilderUriTemplate,
|
|
36
|
+
requestsMetadata: certificateBasedAuthConfiguration_1.CertificateBasedAuthConfigurationRequestBuilderRequestsMetadata,
|
|
37
|
+
navigationMetadata: certificateBasedAuthConfiguration_1.CertificateBasedAuthConfigurationRequestBuilderNavigationMetadata,
|
|
38
|
+
},
|
|
39
|
+
checkMemberGroups: {
|
|
40
|
+
uriTemplate: checkMemberGroups_1.CheckMemberGroupsRequestBuilderUriTemplate,
|
|
41
|
+
requestsMetadata: checkMemberGroups_1.CheckMemberGroupsRequestBuilderRequestsMetadata,
|
|
42
|
+
},
|
|
43
|
+
checkMemberObjects: {
|
|
44
|
+
uriTemplate: checkMemberObjects_1.CheckMemberObjectsRequestBuilderUriTemplate,
|
|
45
|
+
requestsMetadata: checkMemberObjects_1.CheckMemberObjectsRequestBuilderRequestsMetadata,
|
|
46
|
+
},
|
|
47
|
+
extensions: {
|
|
48
|
+
uriTemplate: extensions_1.ExtensionsRequestBuilderUriTemplate,
|
|
49
|
+
requestsMetadata: extensions_1.ExtensionsRequestBuilderRequestsMetadata,
|
|
50
|
+
navigationMetadata: extensions_1.ExtensionsRequestBuilderNavigationMetadata,
|
|
51
|
+
},
|
|
52
|
+
getMemberGroups: {
|
|
53
|
+
uriTemplate: getMemberGroups_1.GetMemberGroupsRequestBuilderUriTemplate,
|
|
54
|
+
requestsMetadata: getMemberGroups_1.GetMemberGroupsRequestBuilderRequestsMetadata,
|
|
55
|
+
},
|
|
56
|
+
getMemberObjects: {
|
|
57
|
+
uriTemplate: getMemberObjects_1.GetMemberObjectsRequestBuilderUriTemplate,
|
|
58
|
+
requestsMetadata: getMemberObjects_1.GetMemberObjectsRequestBuilderRequestsMetadata,
|
|
59
|
+
},
|
|
60
|
+
restore: {
|
|
61
|
+
uriTemplate: restore_1.RestoreRequestBuilderUriTemplate,
|
|
62
|
+
requestsMetadata: restore_1.RestoreRequestBuilderRequestsMetadata,
|
|
63
|
+
},
|
|
64
|
+
setMobileDeviceManagementAuthority: {
|
|
65
|
+
uriTemplate: setMobileDeviceManagementAuthority_1.SetMobileDeviceManagementAuthorityRequestBuilderUriTemplate,
|
|
66
|
+
requestsMetadata: setMobileDeviceManagementAuthority_1.SetMobileDeviceManagementAuthorityRequestBuilderRequestsMetadata,
|
|
67
|
+
},
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* Metadata for all the requests in the request builder.
|
|
71
|
+
*/
|
|
72
|
+
exports.OrganizationItemRequestBuilderRequestsMetadata = {
|
|
73
|
+
delete: {
|
|
74
|
+
responseBodyContentType: "application/json",
|
|
75
|
+
errorMappings: {
|
|
76
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
77
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
78
|
+
},
|
|
79
|
+
adapterMethodName: "sendNoResponseContentAsync",
|
|
80
|
+
},
|
|
81
|
+
get: {
|
|
82
|
+
responseBodyContentType: "application/json",
|
|
83
|
+
errorMappings: {
|
|
84
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
85
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
86
|
+
},
|
|
87
|
+
adapterMethodName: "sendAsync",
|
|
88
|
+
responseBodyFactory: models_1.createOrganizationFromDiscriminatorValue,
|
|
89
|
+
queryParametersMapper: OrganizationItemRequestBuilderGetQueryParametersMapper,
|
|
90
|
+
},
|
|
91
|
+
patch: {
|
|
92
|
+
responseBodyContentType: "application/json",
|
|
93
|
+
errorMappings: {
|
|
94
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
95
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
96
|
+
},
|
|
97
|
+
adapterMethodName: "sendAsync",
|
|
98
|
+
responseBodyFactory: models_1.createOrganizationFromDiscriminatorValue,
|
|
99
|
+
requestBodyContentType: "application/json",
|
|
100
|
+
requestBodySerializer: models_1.serializeOrganization,
|
|
101
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
102
|
+
},
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* Uri template for the request builder.
|
|
106
|
+
*/
|
|
107
|
+
exports.OrganizationItemRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}{?%24select,%24expand}";
|
|
108
|
+
/* tslint:enable */
|
|
109
|
+
/* 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}/organization/{organization%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,wDAAwD,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}/organization/{organization%2Did}/restore";
|
|
27
|
+
/* tslint:enable */
|
|
28
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,58 @@
|
|
|
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 setMobileDeviceManagementAuthorityPostResponse
|
|
6
|
+
*/
|
|
7
|
+
export declare function createSetMobileDeviceManagementAuthorityPostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoSetMobileDeviceManagementAuthorityPostResponse;
|
|
8
|
+
/**
|
|
9
|
+
* The deserialization information for the current model
|
|
10
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
11
|
+
*/
|
|
12
|
+
export declare function deserializeIntoSetMobileDeviceManagementAuthorityPostResponse(setMobileDeviceManagementAuthorityPostResponse?: SetMobileDeviceManagementAuthorityPostResponse | 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 serializeSetMobileDeviceManagementAuthorityPostResponse(writer: SerializationWriter, setMobileDeviceManagementAuthorityPostResponse?: SetMobileDeviceManagementAuthorityPostResponse | undefined): void;
|
|
18
|
+
export interface SetMobileDeviceManagementAuthorityPostResponse 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 value property
|
|
29
|
+
*/
|
|
30
|
+
value?: number;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Provides operations to call the setMobileDeviceManagementAuthority method.
|
|
34
|
+
*/
|
|
35
|
+
export interface SetMobileDeviceManagementAuthorityRequestBuilder extends BaseRequestBuilder<SetMobileDeviceManagementAuthorityRequestBuilder> {
|
|
36
|
+
/**
|
|
37
|
+
* Set mobile device management authority
|
|
38
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
39
|
+
* @returns a Promise of SetMobileDeviceManagementAuthorityPostResponse
|
|
40
|
+
* @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-organization-setmobiledevicemanagementauthority?view=graph-rest-1.0|Find more info here}
|
|
41
|
+
*/
|
|
42
|
+
post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SetMobileDeviceManagementAuthorityPostResponse | undefined>;
|
|
43
|
+
/**
|
|
44
|
+
* Set mobile device management authority
|
|
45
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
46
|
+
* @returns a RequestInformation
|
|
47
|
+
*/
|
|
48
|
+
toPostRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Metadata for all the requests in the request builder.
|
|
52
|
+
*/
|
|
53
|
+
export declare const SetMobileDeviceManagementAuthorityRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
54
|
+
/**
|
|
55
|
+
* Uri template for the request builder.
|
|
56
|
+
*/
|
|
57
|
+
export declare const SetMobileDeviceManagementAuthorityRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/setMobileDeviceManagementAuthority";
|
|
58
|
+
//# 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,0EAA0E,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,wEAE1H;AACD;;;GAGG;AACH,wBAAgB,6DAA6D,CAAC,8CAA8C,GAAE,8CAA8C,GAAG,SAAgE,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAK3R;AACD;;;GAGG;AACH,wBAAgB,uDAAuD,CAAC,MAAM,EAAE,mBAAmB,EAAE,8CAA8C,GAAE,8CAA8C,GAAG,SAAgE,GAAI,IAAI,CAG7Q;AACD,MAAM,WAAW,8CAA+C,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IAC/G;;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,MAAM,CAAC;CAClB;AACD;;GAEG;AACH,MAAM,WAAW,gDAAiD,SAAQ,kBAAkB,CAAC,gDAAgD,CAAC;IAC1I;;;;;OAKG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,8CAA8C,GAAG,SAAS,CAAC,CAAC;IAC7I;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,gEAAgE,EAAE,gBAU9E,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,2DAA2D,mFAAmF,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SetMobileDeviceManagementAuthorityRequestBuilderUriTemplate = exports.SetMobileDeviceManagementAuthorityRequestBuilderRequestsMetadata = exports.serializeSetMobileDeviceManagementAuthorityPostResponse = exports.deserializeIntoSetMobileDeviceManagementAuthorityPostResponse = exports.createSetMobileDeviceManagementAuthorityPostResponseFromDiscriminatorValue = 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 setMobileDeviceManagementAuthorityPostResponse
|
|
12
|
+
*/
|
|
13
|
+
function createSetMobileDeviceManagementAuthorityPostResponseFromDiscriminatorValue(parseNode) {
|
|
14
|
+
return deserializeIntoSetMobileDeviceManagementAuthorityPostResponse;
|
|
15
|
+
}
|
|
16
|
+
exports.createSetMobileDeviceManagementAuthorityPostResponseFromDiscriminatorValue = createSetMobileDeviceManagementAuthorityPostResponseFromDiscriminatorValue;
|
|
17
|
+
/**
|
|
18
|
+
* The deserialization information for the current model
|
|
19
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
20
|
+
*/
|
|
21
|
+
function deserializeIntoSetMobileDeviceManagementAuthorityPostResponse(setMobileDeviceManagementAuthorityPostResponse = {}) {
|
|
22
|
+
return {
|
|
23
|
+
"backingStoreEnabled": n => { setMobileDeviceManagementAuthorityPostResponse.backingStoreEnabled = true; },
|
|
24
|
+
"value": n => { setMobileDeviceManagementAuthorityPostResponse.value = n.getNumberValue(); },
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
exports.deserializeIntoSetMobileDeviceManagementAuthorityPostResponse = deserializeIntoSetMobileDeviceManagementAuthorityPostResponse;
|
|
28
|
+
/**
|
|
29
|
+
* Serializes information the current object
|
|
30
|
+
* @param writer Serialization writer to use to serialize this model
|
|
31
|
+
*/
|
|
32
|
+
function serializeSetMobileDeviceManagementAuthorityPostResponse(writer, setMobileDeviceManagementAuthorityPostResponse = {}) {
|
|
33
|
+
writer.writeNumberValue("value", setMobileDeviceManagementAuthorityPostResponse.value);
|
|
34
|
+
writer.writeAdditionalData(setMobileDeviceManagementAuthorityPostResponse.additionalData);
|
|
35
|
+
}
|
|
36
|
+
exports.serializeSetMobileDeviceManagementAuthorityPostResponse = serializeSetMobileDeviceManagementAuthorityPostResponse;
|
|
37
|
+
/**
|
|
38
|
+
* Metadata for all the requests in the request builder.
|
|
39
|
+
*/
|
|
40
|
+
exports.SetMobileDeviceManagementAuthorityRequestBuilderRequestsMetadata = {
|
|
41
|
+
post: {
|
|
42
|
+
responseBodyContentType: "application/json",
|
|
43
|
+
errorMappings: {
|
|
44
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
45
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
46
|
+
},
|
|
47
|
+
adapterMethodName: "sendAsync",
|
|
48
|
+
responseBodyFactory: createSetMobileDeviceManagementAuthorityPostResponseFromDiscriminatorValue,
|
|
49
|
+
},
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Uri template for the request builder.
|
|
53
|
+
*/
|
|
54
|
+
exports.SetMobileDeviceManagementAuthorityRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/setMobileDeviceManagementAuthority";
|
|
55
|
+
/* tslint:enable */
|
|
56
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,72 @@
|
|
|
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 validatePropertiesPostRequestBody
|
|
7
|
+
*/
|
|
8
|
+
export declare function createValidatePropertiesPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoValidatePropertiesPostRequestBody;
|
|
9
|
+
/**
|
|
10
|
+
* The deserialization information for the current model
|
|
11
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
12
|
+
*/
|
|
13
|
+
export declare function deserializeIntoValidatePropertiesPostRequestBody(validatePropertiesPostRequestBody?: ValidatePropertiesPostRequestBody | undefined): Record<string, (node: ParseNode) => void>;
|
|
14
|
+
/**
|
|
15
|
+
* Serializes information the current object
|
|
16
|
+
* @param writer Serialization writer to use to serialize this model
|
|
17
|
+
*/
|
|
18
|
+
export declare function serializeValidatePropertiesPostRequestBody(writer: SerializationWriter, validatePropertiesPostRequestBody?: ValidatePropertiesPostRequestBody | undefined): void;
|
|
19
|
+
export interface ValidatePropertiesPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
20
|
+
/**
|
|
21
|
+
* Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
22
|
+
*/
|
|
23
|
+
additionalData?: Record<string, unknown>;
|
|
24
|
+
/**
|
|
25
|
+
* Stores model information.
|
|
26
|
+
*/
|
|
27
|
+
backingStoreEnabled?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* The displayName property
|
|
30
|
+
*/
|
|
31
|
+
displayName?: string;
|
|
32
|
+
/**
|
|
33
|
+
* The entityType property
|
|
34
|
+
*/
|
|
35
|
+
entityType?: string;
|
|
36
|
+
/**
|
|
37
|
+
* The mailNickname property
|
|
38
|
+
*/
|
|
39
|
+
mailNickname?: string;
|
|
40
|
+
/**
|
|
41
|
+
* The onBehalfOfUserId property
|
|
42
|
+
*/
|
|
43
|
+
onBehalfOfUserId?: Guid;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Provides operations to call the validateProperties method.
|
|
47
|
+
*/
|
|
48
|
+
export interface ValidatePropertiesRequestBuilder extends BaseRequestBuilder<ValidatePropertiesRequestBuilder> {
|
|
49
|
+
/**
|
|
50
|
+
* Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy.
|
|
51
|
+
* @param body The request body
|
|
52
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
53
|
+
* @see {@link https://learn.microsoft.com/graph/api/directoryobject-validateproperties?view=graph-rest-1.0|Find more info here}
|
|
54
|
+
*/
|
|
55
|
+
post(body: ValidatePropertiesPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
56
|
+
/**
|
|
57
|
+
* Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy.
|
|
58
|
+
* @param body The request body
|
|
59
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
60
|
+
* @returns a RequestInformation
|
|
61
|
+
*/
|
|
62
|
+
toPostRequestInformation(body: ValidatePropertiesPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Metadata for all the requests in the request builder.
|
|
66
|
+
*/
|
|
67
|
+
export declare const ValidatePropertiesRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
68
|
+
/**
|
|
69
|
+
* Uri template for the request builder.
|
|
70
|
+
*/
|
|
71
|
+
export declare const ValidatePropertiesRequestBuilderUriTemplate = "{+baseurl}/organization/validateProperties";
|
|
72
|
+
//# 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,6DAA6D,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,2DAE7G;AACD;;;GAGG;AACH,wBAAgB,gDAAgD,CAAC,iCAAiC,GAAE,iCAAiC,GAAG,SAAmD,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAQvO;AACD;;;GAGG;AACH,wBAAgB,0CAA0C,CAAC,MAAM,EAAE,mBAAmB,EAAE,iCAAiC,GAAE,iCAAiC,GAAG,SAAmD,GAAI,IAAI,CAMzN;AACD,MAAM,WAAW,iCAAkC,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IAClG;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,gBAAgB,CAAC,EAAE,IAAI,CAAC;CAC3B;AACD;;GAEG;AACH,MAAM,WAAW,gCAAiC,SAAQ,kBAAkB,CAAC,gCAAgC,CAAC;IAC1G;;;;;OAKG;IACF,IAAI,CAAC,IAAI,EAAE,iCAAiC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAChI;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,iCAAiC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC5J;AACD;;GAEG;AACH,eAAO,MAAM,gDAAgD,EAAE,gBAY9D,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,2CAA2C,+CAA+C,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ValidatePropertiesRequestBuilderUriTemplate = exports.ValidatePropertiesRequestBuilderRequestsMetadata = exports.serializeValidatePropertiesPostRequestBody = exports.deserializeIntoValidatePropertiesPostRequestBody = exports.createValidatePropertiesPostRequestBodyFromDiscriminatorValue = 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 validatePropertiesPostRequestBody
|
|
12
|
+
*/
|
|
13
|
+
function createValidatePropertiesPostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
14
|
+
return deserializeIntoValidatePropertiesPostRequestBody;
|
|
15
|
+
}
|
|
16
|
+
exports.createValidatePropertiesPostRequestBodyFromDiscriminatorValue = createValidatePropertiesPostRequestBodyFromDiscriminatorValue;
|
|
17
|
+
/**
|
|
18
|
+
* The deserialization information for the current model
|
|
19
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
20
|
+
*/
|
|
21
|
+
function deserializeIntoValidatePropertiesPostRequestBody(validatePropertiesPostRequestBody = {}) {
|
|
22
|
+
return {
|
|
23
|
+
"backingStoreEnabled": n => { validatePropertiesPostRequestBody.backingStoreEnabled = true; },
|
|
24
|
+
"displayName": n => { validatePropertiesPostRequestBody.displayName = n.getStringValue(); },
|
|
25
|
+
"entityType": n => { validatePropertiesPostRequestBody.entityType = n.getStringValue(); },
|
|
26
|
+
"mailNickname": n => { validatePropertiesPostRequestBody.mailNickname = n.getStringValue(); },
|
|
27
|
+
"onBehalfOfUserId": n => { validatePropertiesPostRequestBody.onBehalfOfUserId = n.getGuidValue(); },
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
exports.deserializeIntoValidatePropertiesPostRequestBody = deserializeIntoValidatePropertiesPostRequestBody;
|
|
31
|
+
/**
|
|
32
|
+
* Serializes information the current object
|
|
33
|
+
* @param writer Serialization writer to use to serialize this model
|
|
34
|
+
*/
|
|
35
|
+
function serializeValidatePropertiesPostRequestBody(writer, validatePropertiesPostRequestBody = {}) {
|
|
36
|
+
writer.writeStringValue("displayName", validatePropertiesPostRequestBody.displayName);
|
|
37
|
+
writer.writeStringValue("entityType", validatePropertiesPostRequestBody.entityType);
|
|
38
|
+
writer.writeStringValue("mailNickname", validatePropertiesPostRequestBody.mailNickname);
|
|
39
|
+
writer.writeGuidValue("onBehalfOfUserId", validatePropertiesPostRequestBody.onBehalfOfUserId);
|
|
40
|
+
writer.writeAdditionalData(validatePropertiesPostRequestBody.additionalData);
|
|
41
|
+
}
|
|
42
|
+
exports.serializeValidatePropertiesPostRequestBody = serializeValidatePropertiesPostRequestBody;
|
|
43
|
+
/**
|
|
44
|
+
* Metadata for all the requests in the request builder.
|
|
45
|
+
*/
|
|
46
|
+
exports.ValidatePropertiesRequestBuilderRequestsMetadata = {
|
|
47
|
+
post: {
|
|
48
|
+
responseBodyContentType: "application/json",
|
|
49
|
+
errorMappings: {
|
|
50
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
51
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
52
|
+
},
|
|
53
|
+
adapterMethodName: "sendNoResponseContentAsync",
|
|
54
|
+
requestBodyContentType: "application/json",
|
|
55
|
+
requestBodySerializer: serializeValidatePropertiesPostRequestBody,
|
|
56
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
57
|
+
},
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* Uri template for the request builder.
|
|
61
|
+
*/
|
|
62
|
+
exports.ValidatePropertiesRequestBuilderUriTemplate = "{+baseurl}/organization/validateProperties";
|
|
63
|
+
/* tslint:enable */
|
|
64
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { type OrganizationRequestBuilder } from './organization/';
|
|
2
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestAdapter } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Instantiates a new OrganizationServiceClient and sets the default values.
|
|
5
|
+
* @param requestAdapter The request adapter to use to execute the requests.
|
|
6
|
+
*/
|
|
7
|
+
export declare function createOrganizationServiceClient(requestAdapter: RequestAdapter): OrganizationServiceClient;
|
|
8
|
+
/**
|
|
9
|
+
* The main entry point of the SDK, exposes the configuration and the fluent API.
|
|
10
|
+
*/
|
|
11
|
+
export interface OrganizationServiceClient extends BaseRequestBuilder<OrganizationServiceClient> {
|
|
12
|
+
/**
|
|
13
|
+
* Provides operations to manage the collection of organization entities.
|
|
14
|
+
*/
|
|
15
|
+
get organization(): OrganizationRequestBuilder;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Metadata for all the navigation properties in the request builder.
|
|
19
|
+
*/
|
|
20
|
+
export declare const OrganizationServiceClientNavigationMetadata: Record<Exclude<keyof OrganizationServiceClient, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
21
|
+
/**
|
|
22
|
+
* Uri template for the request builder.
|
|
23
|
+
*/
|
|
24
|
+
export declare const OrganizationServiceClientUriTemplate = "{+baseurl}";
|
|
25
|
+
//# sourceMappingURL=organizationServiceClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizationServiceClient.d.ts","sourceRoot":"","sources":["organizationServiceClient.ts"],"names":[],"mappings":"AAGA,OAAO,EAAmI,KAAK,0BAA0B,EAAE,MAAM,iBAAiB,CAAC;AACnM,OAAO,EAA8E,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,KAAK,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAM3O;;;GAGG;AACH,wBAAgB,+BAA+B,CAAC,cAAc,EAAE,cAAc,6BAe7E;AACD;;GAEG;AACH,MAAM,WAAW,yBAA0B,SAAQ,kBAAkB,CAAC,yBAAyB,CAAC;IAC5F;;OAEG;IACH,IAAI,YAAY,IAAI,0BAA0B,CAAC;CAClD;AACD;;GAEG;AACH,eAAO,MAAM,2CAA2C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,yBAAyB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAMhK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,oCAAoC,eAAe,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OrganizationServiceClientUriTemplate = exports.OrganizationServiceClientNavigationMetadata = exports.createOrganizationServiceClient = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const organization_1 = require("./organization/");
|
|
8
|
+
const kiota_abstractions_1 = require("@microsoft/kiota-abstractions");
|
|
9
|
+
const kiota_serialization_form_1 = require("@microsoft/kiota-serialization-form");
|
|
10
|
+
const kiota_serialization_json_1 = require("@microsoft/kiota-serialization-json");
|
|
11
|
+
const kiota_serialization_multipart_1 = require("@microsoft/kiota-serialization-multipart");
|
|
12
|
+
const kiota_serialization_text_1 = require("@microsoft/kiota-serialization-text");
|
|
13
|
+
/**
|
|
14
|
+
* Instantiates a new OrganizationServiceClient and sets the default values.
|
|
15
|
+
* @param requestAdapter The request adapter to use to execute the requests.
|
|
16
|
+
*/
|
|
17
|
+
function createOrganizationServiceClient(requestAdapter) {
|
|
18
|
+
(0, kiota_abstractions_1.registerDefaultSerializer)(kiota_serialization_json_1.JsonSerializationWriterFactory);
|
|
19
|
+
(0, kiota_abstractions_1.registerDefaultSerializer)(kiota_serialization_text_1.TextSerializationWriterFactory);
|
|
20
|
+
(0, kiota_abstractions_1.registerDefaultSerializer)(kiota_serialization_form_1.FormSerializationWriterFactory);
|
|
21
|
+
(0, kiota_abstractions_1.registerDefaultSerializer)(kiota_serialization_multipart_1.MultipartSerializationWriterFactory);
|
|
22
|
+
(0, kiota_abstractions_1.registerDefaultDeserializer)(kiota_serialization_json_1.JsonParseNodeFactory);
|
|
23
|
+
(0, kiota_abstractions_1.registerDefaultDeserializer)(kiota_serialization_text_1.TextParseNodeFactory);
|
|
24
|
+
(0, kiota_abstractions_1.registerDefaultDeserializer)(kiota_serialization_form_1.FormParseNodeFactory);
|
|
25
|
+
if (requestAdapter.baseUrl === undefined || requestAdapter.baseUrl === "") {
|
|
26
|
+
requestAdapter.baseUrl = "https://graph.microsoft.com/v1.0";
|
|
27
|
+
}
|
|
28
|
+
const pathParameters = {
|
|
29
|
+
"baseurl": requestAdapter.baseUrl,
|
|
30
|
+
};
|
|
31
|
+
return (0, kiota_abstractions_1.apiClientProxifier)(requestAdapter, pathParameters, exports.OrganizationServiceClientUriTemplate, exports.OrganizationServiceClientNavigationMetadata, undefined);
|
|
32
|
+
}
|
|
33
|
+
exports.createOrganizationServiceClient = createOrganizationServiceClient;
|
|
34
|
+
/**
|
|
35
|
+
* Metadata for all the navigation properties in the request builder.
|
|
36
|
+
*/
|
|
37
|
+
exports.OrganizationServiceClientNavigationMetadata = {
|
|
38
|
+
organization: {
|
|
39
|
+
uriTemplate: organization_1.OrganizationRequestBuilderUriTemplate,
|
|
40
|
+
requestsMetadata: organization_1.OrganizationRequestBuilderRequestsMetadata,
|
|
41
|
+
navigationMetadata: organization_1.OrganizationRequestBuilderNavigationMetadata,
|
|
42
|
+
},
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* Uri template for the request builder.
|
|
46
|
+
*/
|
|
47
|
+
exports.OrganizationServiceClientUriTemplate = "{+baseurl}";
|
|
48
|
+
/* tslint:enable */
|
|
49
|
+
/* eslint-enable */
|