@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,54 @@
|
|
|
1
|
+
import { type CertificateBasedAuthConfiguration } 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 certificateBasedAuthConfiguration property of the microsoft.graph.organization entity.
|
|
5
|
+
*/
|
|
6
|
+
export interface CertificateBasedAuthConfigurationItemRequestBuilder extends BaseRequestBuilder<CertificateBasedAuthConfigurationItemRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Delete a certificateBasedAuthConfiguration object.
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @see {@link https://learn.microsoft.com/graph/api/certificatebasedauthconfiguration-delete?view=graph-rest-1.0|Find more info here}
|
|
11
|
+
*/
|
|
12
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
13
|
+
/**
|
|
14
|
+
* Get the properties of a certificateBasedAuthConfiguration object.
|
|
15
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
+
* @returns a Promise of CertificateBasedAuthConfiguration
|
|
17
|
+
* @see {@link https://learn.microsoft.com/graph/api/certificatebasedauthconfiguration-get?view=graph-rest-1.0|Find more info here}
|
|
18
|
+
*/
|
|
19
|
+
get(requestConfiguration?: RequestConfiguration<CertificateBasedAuthConfigurationItemRequestBuilderGetQueryParameters> | undefined): Promise<CertificateBasedAuthConfiguration | undefined>;
|
|
20
|
+
/**
|
|
21
|
+
* Delete a certificateBasedAuthConfiguration object.
|
|
22
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
23
|
+
* @returns a RequestInformation
|
|
24
|
+
*/
|
|
25
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
26
|
+
/**
|
|
27
|
+
* Get the properties of a certificateBasedAuthConfiguration object.
|
|
28
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
29
|
+
* @returns a RequestInformation
|
|
30
|
+
*/
|
|
31
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CertificateBasedAuthConfigurationItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Get the properties of a certificateBasedAuthConfiguration object.
|
|
35
|
+
*/
|
|
36
|
+
export interface CertificateBasedAuthConfigurationItemRequestBuilderGetQueryParameters {
|
|
37
|
+
/**
|
|
38
|
+
* Expand related entities
|
|
39
|
+
*/
|
|
40
|
+
expand?: string[];
|
|
41
|
+
/**
|
|
42
|
+
* Select properties to be returned
|
|
43
|
+
*/
|
|
44
|
+
select?: string[];
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Metadata for all the requests in the request builder.
|
|
48
|
+
*/
|
|
49
|
+
export declare const CertificateBasedAuthConfigurationItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
50
|
+
/**
|
|
51
|
+
* Uri template for the request builder.
|
|
52
|
+
*/
|
|
53
|
+
export declare const CertificateBasedAuthConfigurationItemRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/certificateBasedAuthConfiguration/{certificateBasedAuthConfiguration%2Did}{?%24select,%24expand}";
|
|
54
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAiE,KAAK,iCAAiC,EAAE,MAAM,gCAAgC,CAAC;AAEvJ,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,mDAAoD,SAAQ,kBAAkB,CAAC,mDAAmD,CAAC;IAChJ;;;;OAIG;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,qEAAqE,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,iCAAiC,GAAG,SAAS,CAAC,CAAC;IAC9L;;;;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,qEAAqE,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjL;AACD;;GAEG;AACH,MAAM,WAAW,qEAAqE;IAClF;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,mEAAmE,EAAE,gBAmBjF,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8DAA8D,iJAAiJ,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CertificateBasedAuthConfigurationItemRequestBuilderUriTemplate = exports.CertificateBasedAuthConfigurationItemRequestBuilderRequestsMetadata = 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 CertificateBasedAuthConfigurationItemRequestBuilderGetQueryParametersMapper = {
|
|
13
|
+
"expand": "%24expand",
|
|
14
|
+
"select": "%24select",
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Metadata for all the requests in the request builder.
|
|
18
|
+
*/
|
|
19
|
+
exports.CertificateBasedAuthConfigurationItemRequestBuilderRequestsMetadata = {
|
|
20
|
+
delete: {
|
|
21
|
+
responseBodyContentType: "application/json",
|
|
22
|
+
errorMappings: {
|
|
23
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
24
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
25
|
+
},
|
|
26
|
+
adapterMethodName: "sendNoResponseContentAsync",
|
|
27
|
+
},
|
|
28
|
+
get: {
|
|
29
|
+
responseBodyContentType: "application/json",
|
|
30
|
+
errorMappings: {
|
|
31
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
32
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
33
|
+
},
|
|
34
|
+
adapterMethodName: "sendAsync",
|
|
35
|
+
responseBodyFactory: models_1.createCertificateBasedAuthConfigurationFromDiscriminatorValue,
|
|
36
|
+
queryParametersMapper: CertificateBasedAuthConfigurationItemRequestBuilderGetQueryParametersMapper,
|
|
37
|
+
},
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Uri template for the request builder.
|
|
41
|
+
*/
|
|
42
|
+
exports.CertificateBasedAuthConfigurationItemRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/certificateBasedAuthConfiguration/{certificateBasedAuthConfiguration%2Did}{?%24select,%24expand}";
|
|
43
|
+
/* tslint:enable */
|
|
44
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { type BaseCollectionPaginationCountResponse } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
3
|
+
export interface CheckMemberGroupsPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
4
|
+
/**
|
|
5
|
+
* Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
6
|
+
*/
|
|
7
|
+
additionalData?: Record<string, unknown>;
|
|
8
|
+
/**
|
|
9
|
+
* Stores model information.
|
|
10
|
+
*/
|
|
11
|
+
backingStoreEnabled?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* The groupIds property
|
|
14
|
+
*/
|
|
15
|
+
groupIds?: string[];
|
|
16
|
+
}
|
|
17
|
+
export interface CheckMemberGroupsPostResponse extends BaseCollectionPaginationCountResponse, Parsable {
|
|
18
|
+
/**
|
|
19
|
+
* The value property
|
|
20
|
+
*/
|
|
21
|
+
value?: string[];
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Provides operations to call the checkMemberGroups method.
|
|
25
|
+
*/
|
|
26
|
+
export interface CheckMemberGroupsRequestBuilder extends BaseRequestBuilder<CheckMemberGroupsRequestBuilder> {
|
|
27
|
+
/**
|
|
28
|
+
* Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
|
|
29
|
+
* @param body The request body
|
|
30
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
31
|
+
* @returns a Promise of CheckMemberGroupsPostResponse
|
|
32
|
+
* @see {@link https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-1.0|Find more info here}
|
|
33
|
+
*/
|
|
34
|
+
post(body: CheckMemberGroupsPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CheckMemberGroupsPostResponse | undefined>;
|
|
35
|
+
/**
|
|
36
|
+
* Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
|
|
37
|
+
* @param body The request body
|
|
38
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
39
|
+
* @returns a RequestInformation
|
|
40
|
+
*/
|
|
41
|
+
toPostRequestInformation(body: CheckMemberGroupsPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
45
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
46
|
+
* @returns a checkMemberGroupsPostRequestBody
|
|
47
|
+
*/
|
|
48
|
+
export declare function createCheckMemberGroupsPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoCheckMemberGroupsPostRequestBody;
|
|
49
|
+
/**
|
|
50
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
51
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
52
|
+
* @returns a checkMemberGroupsPostResponse
|
|
53
|
+
*/
|
|
54
|
+
export declare function createCheckMemberGroupsPostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoCheckMemberGroupsPostResponse;
|
|
55
|
+
/**
|
|
56
|
+
* The deserialization information for the current model
|
|
57
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
58
|
+
*/
|
|
59
|
+
export declare function deserializeIntoCheckMemberGroupsPostRequestBody(checkMemberGroupsPostRequestBody?: CheckMemberGroupsPostRequestBody | undefined): Record<string, (node: ParseNode) => void>;
|
|
60
|
+
/**
|
|
61
|
+
* The deserialization information for the current model
|
|
62
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
63
|
+
*/
|
|
64
|
+
export declare function deserializeIntoCheckMemberGroupsPostResponse(checkMemberGroupsPostResponse?: CheckMemberGroupsPostResponse | undefined): Record<string, (node: ParseNode) => void>;
|
|
65
|
+
/**
|
|
66
|
+
* Serializes information the current object
|
|
67
|
+
* @param writer Serialization writer to use to serialize this model
|
|
68
|
+
*/
|
|
69
|
+
export declare function serializeCheckMemberGroupsPostRequestBody(writer: SerializationWriter, checkMemberGroupsPostRequestBody?: CheckMemberGroupsPostRequestBody | undefined): void;
|
|
70
|
+
/**
|
|
71
|
+
* Serializes information the current object
|
|
72
|
+
* @param writer Serialization writer to use to serialize this model
|
|
73
|
+
*/
|
|
74
|
+
export declare function serializeCheckMemberGroupsPostResponse(writer: SerializationWriter, checkMemberGroupsPostResponse?: CheckMemberGroupsPostResponse | undefined): void;
|
|
75
|
+
/**
|
|
76
|
+
* Metadata for all the requests in the request builder.
|
|
77
|
+
*/
|
|
78
|
+
export declare const CheckMemberGroupsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
79
|
+
/**
|
|
80
|
+
* Uri template for the request builder.
|
|
81
|
+
*/
|
|
82
|
+
export declare const CheckMemberGroupsRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/checkMemberGroups";
|
|
83
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAwG,KAAK,qCAAqC,EAAE,MAAM,gCAAgC,CAAC;AAElM,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,MAAM,WAAW,gCAAiC,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IACjG;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;CACvB;AACD,MAAM,WAAW,6BAA8B,SAAQ,qCAAqC,EAAE,QAAQ;IAClG;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB;AACD;;GAEG;AACH,MAAM,WAAW,+BAAgC,SAAQ,kBAAkB,CAAC,+BAA+B,CAAC;IACxG;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,gCAAgC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,6BAA6B,GAAG,SAAS,CAAC,CAAC;IACpK;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,gCAAgC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC3J;AACD;;;;GAIG;AACH,wBAAgB,4DAA4D,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,0DAE5G;AACD;;;;GAIG;AACH,wBAAgB,yDAAyD,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,uDAEzG;AACD;;;GAGG;AACH,wBAAgB,+CAA+C,CAAC,gCAAgC,GAAE,gCAAgC,GAAG,SAAkD,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAKnO;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;;;GAGG;AACH,wBAAgB,yCAAyC,CAAC,MAAM,EAAE,mBAAmB,EAAE,gCAAgC,GAAE,gCAAgC,GAAG,SAAkD,GAAI,IAAI,CAGrN;AACD;;;GAGG;AACH,wBAAgB,sCAAsC,CAAC,MAAM,EAAE,mBAAmB,EAAE,6BAA6B,GAAE,6BAA6B,GAAG,SAA+C,GAAI,IAAI,CAGzM;AACD;;GAEG;AACH,eAAO,MAAM,+CAA+C,EAAE,gBAa7D,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,0CAA0C,kEAAkE,CAAC"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CheckMemberGroupsRequestBuilderUriTemplate = exports.CheckMemberGroupsRequestBuilderRequestsMetadata = exports.serializeCheckMemberGroupsPostResponse = exports.serializeCheckMemberGroupsPostRequestBody = exports.deserializeIntoCheckMemberGroupsPostResponse = exports.deserializeIntoCheckMemberGroupsPostRequestBody = exports.createCheckMemberGroupsPostResponseFromDiscriminatorValue = exports.createCheckMemberGroupsPostRequestBodyFromDiscriminatorValue = 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
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
11
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
12
|
+
* @returns a checkMemberGroupsPostRequestBody
|
|
13
|
+
*/
|
|
14
|
+
function createCheckMemberGroupsPostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
15
|
+
return deserializeIntoCheckMemberGroupsPostRequestBody;
|
|
16
|
+
}
|
|
17
|
+
exports.createCheckMemberGroupsPostRequestBodyFromDiscriminatorValue = createCheckMemberGroupsPostRequestBodyFromDiscriminatorValue;
|
|
18
|
+
/**
|
|
19
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
20
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
21
|
+
* @returns a checkMemberGroupsPostResponse
|
|
22
|
+
*/
|
|
23
|
+
function createCheckMemberGroupsPostResponseFromDiscriminatorValue(parseNode) {
|
|
24
|
+
return deserializeIntoCheckMemberGroupsPostResponse;
|
|
25
|
+
}
|
|
26
|
+
exports.createCheckMemberGroupsPostResponseFromDiscriminatorValue = createCheckMemberGroupsPostResponseFromDiscriminatorValue;
|
|
27
|
+
/**
|
|
28
|
+
* The deserialization information for the current model
|
|
29
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
30
|
+
*/
|
|
31
|
+
function deserializeIntoCheckMemberGroupsPostRequestBody(checkMemberGroupsPostRequestBody = {}) {
|
|
32
|
+
return {
|
|
33
|
+
"backingStoreEnabled": n => { checkMemberGroupsPostRequestBody.backingStoreEnabled = true; },
|
|
34
|
+
"groupIds": n => { checkMemberGroupsPostRequestBody.groupIds = n.getCollectionOfPrimitiveValues(); },
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
exports.deserializeIntoCheckMemberGroupsPostRequestBody = deserializeIntoCheckMemberGroupsPostRequestBody;
|
|
38
|
+
/**
|
|
39
|
+
* The deserialization information for the current model
|
|
40
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
41
|
+
*/
|
|
42
|
+
function deserializeIntoCheckMemberGroupsPostResponse(checkMemberGroupsPostResponse = {}) {
|
|
43
|
+
return Object.assign(Object.assign({}, (0, models_1.deserializeIntoBaseCollectionPaginationCountResponse)(checkMemberGroupsPostResponse)), { "value": n => { checkMemberGroupsPostResponse.value = n.getCollectionOfPrimitiveValues(); } });
|
|
44
|
+
}
|
|
45
|
+
exports.deserializeIntoCheckMemberGroupsPostResponse = deserializeIntoCheckMemberGroupsPostResponse;
|
|
46
|
+
/**
|
|
47
|
+
* Serializes information the current object
|
|
48
|
+
* @param writer Serialization writer to use to serialize this model
|
|
49
|
+
*/
|
|
50
|
+
function serializeCheckMemberGroupsPostRequestBody(writer, checkMemberGroupsPostRequestBody = {}) {
|
|
51
|
+
writer.writeCollectionOfPrimitiveValues("groupIds", checkMemberGroupsPostRequestBody.groupIds);
|
|
52
|
+
writer.writeAdditionalData(checkMemberGroupsPostRequestBody.additionalData);
|
|
53
|
+
}
|
|
54
|
+
exports.serializeCheckMemberGroupsPostRequestBody = serializeCheckMemberGroupsPostRequestBody;
|
|
55
|
+
/**
|
|
56
|
+
* Serializes information the current object
|
|
57
|
+
* @param writer Serialization writer to use to serialize this model
|
|
58
|
+
*/
|
|
59
|
+
function serializeCheckMemberGroupsPostResponse(writer, checkMemberGroupsPostResponse = {}) {
|
|
60
|
+
(0, models_1.serializeBaseCollectionPaginationCountResponse)(writer, checkMemberGroupsPostResponse);
|
|
61
|
+
writer.writeCollectionOfPrimitiveValues("value", checkMemberGroupsPostResponse.value);
|
|
62
|
+
}
|
|
63
|
+
exports.serializeCheckMemberGroupsPostResponse = serializeCheckMemberGroupsPostResponse;
|
|
64
|
+
/**
|
|
65
|
+
* Metadata for all the requests in the request builder.
|
|
66
|
+
*/
|
|
67
|
+
exports.CheckMemberGroupsRequestBuilderRequestsMetadata = {
|
|
68
|
+
post: {
|
|
69
|
+
responseBodyContentType: "application/json",
|
|
70
|
+
errorMappings: {
|
|
71
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
72
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
73
|
+
},
|
|
74
|
+
adapterMethodName: "sendAsync",
|
|
75
|
+
responseBodyFactory: createCheckMemberGroupsPostResponseFromDiscriminatorValue,
|
|
76
|
+
requestBodyContentType: "application/json",
|
|
77
|
+
requestBodySerializer: serializeCheckMemberGroupsPostRequestBody,
|
|
78
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
79
|
+
},
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* Uri template for the request builder.
|
|
83
|
+
*/
|
|
84
|
+
exports.CheckMemberGroupsRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/checkMemberGroups";
|
|
85
|
+
/* tslint:enable */
|
|
86
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { type BaseCollectionPaginationCountResponse } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
3
|
+
export interface CheckMemberObjectsPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
4
|
+
/**
|
|
5
|
+
* Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
6
|
+
*/
|
|
7
|
+
additionalData?: Record<string, unknown>;
|
|
8
|
+
/**
|
|
9
|
+
* Stores model information.
|
|
10
|
+
*/
|
|
11
|
+
backingStoreEnabled?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* The ids property
|
|
14
|
+
*/
|
|
15
|
+
ids?: string[];
|
|
16
|
+
}
|
|
17
|
+
export interface CheckMemberObjectsPostResponse extends BaseCollectionPaginationCountResponse, Parsable {
|
|
18
|
+
/**
|
|
19
|
+
* The value property
|
|
20
|
+
*/
|
|
21
|
+
value?: string[];
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Provides operations to call the checkMemberObjects method.
|
|
25
|
+
*/
|
|
26
|
+
export interface CheckMemberObjectsRequestBuilder extends BaseRequestBuilder<CheckMemberObjectsRequestBuilder> {
|
|
27
|
+
/**
|
|
28
|
+
* Invoke action checkMemberObjects
|
|
29
|
+
* @param body The request body
|
|
30
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
31
|
+
* @returns a Promise of CheckMemberObjectsPostResponse
|
|
32
|
+
*/
|
|
33
|
+
post(body: CheckMemberObjectsPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CheckMemberObjectsPostResponse | undefined>;
|
|
34
|
+
/**
|
|
35
|
+
* Invoke action checkMemberObjects
|
|
36
|
+
* @param body The request body
|
|
37
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
38
|
+
* @returns a RequestInformation
|
|
39
|
+
*/
|
|
40
|
+
toPostRequestInformation(body: CheckMemberObjectsPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
44
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
45
|
+
* @returns a checkMemberObjectsPostRequestBody
|
|
46
|
+
*/
|
|
47
|
+
export declare function createCheckMemberObjectsPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoCheckMemberObjectsPostRequestBody;
|
|
48
|
+
/**
|
|
49
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
50
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
51
|
+
* @returns a checkMemberObjectsPostResponse
|
|
52
|
+
*/
|
|
53
|
+
export declare function createCheckMemberObjectsPostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoCheckMemberObjectsPostResponse;
|
|
54
|
+
/**
|
|
55
|
+
* The deserialization information for the current model
|
|
56
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
57
|
+
*/
|
|
58
|
+
export declare function deserializeIntoCheckMemberObjectsPostRequestBody(checkMemberObjectsPostRequestBody?: CheckMemberObjectsPostRequestBody | undefined): Record<string, (node: ParseNode) => void>;
|
|
59
|
+
/**
|
|
60
|
+
* The deserialization information for the current model
|
|
61
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
62
|
+
*/
|
|
63
|
+
export declare function deserializeIntoCheckMemberObjectsPostResponse(checkMemberObjectsPostResponse?: CheckMemberObjectsPostResponse | undefined): Record<string, (node: ParseNode) => void>;
|
|
64
|
+
/**
|
|
65
|
+
* Serializes information the current object
|
|
66
|
+
* @param writer Serialization writer to use to serialize this model
|
|
67
|
+
*/
|
|
68
|
+
export declare function serializeCheckMemberObjectsPostRequestBody(writer: SerializationWriter, checkMemberObjectsPostRequestBody?: CheckMemberObjectsPostRequestBody | undefined): void;
|
|
69
|
+
/**
|
|
70
|
+
* Serializes information the current object
|
|
71
|
+
* @param writer Serialization writer to use to serialize this model
|
|
72
|
+
*/
|
|
73
|
+
export declare function serializeCheckMemberObjectsPostResponse(writer: SerializationWriter, checkMemberObjectsPostResponse?: CheckMemberObjectsPostResponse | undefined): void;
|
|
74
|
+
/**
|
|
75
|
+
* Metadata for all the requests in the request builder.
|
|
76
|
+
*/
|
|
77
|
+
export declare const CheckMemberObjectsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
78
|
+
/**
|
|
79
|
+
* Uri template for the request builder.
|
|
80
|
+
*/
|
|
81
|
+
export declare const CheckMemberObjectsRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/checkMemberObjects";
|
|
82
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAwG,KAAK,qCAAqC,EAAE,MAAM,gCAAgC,CAAC;AAElM,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,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,GAAG,CAAC,EAAE,MAAM,EAAE,CAAC;CAClB;AACD,MAAM,WAAW,8BAA+B,SAAQ,qCAAqC,EAAE,QAAQ;IACnG;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB;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,8BAA8B,GAAG,SAAS,CAAC,CAAC;IACtK;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,iCAAiC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC5J;AACD;;;;GAIG;AACH,wBAAgB,6DAA6D,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,2DAE7G;AACD;;;;GAIG;AACH,wBAAgB,0DAA0D,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,wDAE1G;AACD;;;GAGG;AACH,wBAAgB,gDAAgD,CAAC,iCAAiC,GAAE,iCAAiC,GAAG,SAAmD,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAKvO;AACD;;;GAGG;AACH,wBAAgB,6CAA6C,CAAC,8BAA8B,GAAE,8BAA8B,GAAG,SAAgD,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAK3N;AACD;;;GAGG;AACH,wBAAgB,0CAA0C,CAAC,MAAM,EAAE,mBAAmB,EAAE,iCAAiC,GAAE,iCAAiC,GAAG,SAAmD,GAAI,IAAI,CAGzN;AACD;;;GAGG;AACH,wBAAgB,uCAAuC,CAAC,MAAM,EAAE,mBAAmB,EAAE,8BAA8B,GAAE,8BAA8B,GAAG,SAAgD,GAAI,IAAI,CAG7M;AACD;;GAEG;AACH,eAAO,MAAM,gDAAgD,EAAE,gBAa9D,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,2CAA2C,mEAAmE,CAAC"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CheckMemberObjectsRequestBuilderUriTemplate = exports.CheckMemberObjectsRequestBuilderRequestsMetadata = exports.serializeCheckMemberObjectsPostResponse = exports.serializeCheckMemberObjectsPostRequestBody = exports.deserializeIntoCheckMemberObjectsPostResponse = exports.deserializeIntoCheckMemberObjectsPostRequestBody = exports.createCheckMemberObjectsPostResponseFromDiscriminatorValue = exports.createCheckMemberObjectsPostRequestBodyFromDiscriminatorValue = 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
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
11
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
12
|
+
* @returns a checkMemberObjectsPostRequestBody
|
|
13
|
+
*/
|
|
14
|
+
function createCheckMemberObjectsPostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
15
|
+
return deserializeIntoCheckMemberObjectsPostRequestBody;
|
|
16
|
+
}
|
|
17
|
+
exports.createCheckMemberObjectsPostRequestBodyFromDiscriminatorValue = createCheckMemberObjectsPostRequestBodyFromDiscriminatorValue;
|
|
18
|
+
/**
|
|
19
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
20
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
21
|
+
* @returns a checkMemberObjectsPostResponse
|
|
22
|
+
*/
|
|
23
|
+
function createCheckMemberObjectsPostResponseFromDiscriminatorValue(parseNode) {
|
|
24
|
+
return deserializeIntoCheckMemberObjectsPostResponse;
|
|
25
|
+
}
|
|
26
|
+
exports.createCheckMemberObjectsPostResponseFromDiscriminatorValue = createCheckMemberObjectsPostResponseFromDiscriminatorValue;
|
|
27
|
+
/**
|
|
28
|
+
* The deserialization information for the current model
|
|
29
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
30
|
+
*/
|
|
31
|
+
function deserializeIntoCheckMemberObjectsPostRequestBody(checkMemberObjectsPostRequestBody = {}) {
|
|
32
|
+
return {
|
|
33
|
+
"backingStoreEnabled": n => { checkMemberObjectsPostRequestBody.backingStoreEnabled = true; },
|
|
34
|
+
"ids": n => { checkMemberObjectsPostRequestBody.ids = n.getCollectionOfPrimitiveValues(); },
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
exports.deserializeIntoCheckMemberObjectsPostRequestBody = deserializeIntoCheckMemberObjectsPostRequestBody;
|
|
38
|
+
/**
|
|
39
|
+
* The deserialization information for the current model
|
|
40
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
41
|
+
*/
|
|
42
|
+
function deserializeIntoCheckMemberObjectsPostResponse(checkMemberObjectsPostResponse = {}) {
|
|
43
|
+
return Object.assign(Object.assign({}, (0, models_1.deserializeIntoBaseCollectionPaginationCountResponse)(checkMemberObjectsPostResponse)), { "value": n => { checkMemberObjectsPostResponse.value = n.getCollectionOfPrimitiveValues(); } });
|
|
44
|
+
}
|
|
45
|
+
exports.deserializeIntoCheckMemberObjectsPostResponse = deserializeIntoCheckMemberObjectsPostResponse;
|
|
46
|
+
/**
|
|
47
|
+
* Serializes information the current object
|
|
48
|
+
* @param writer Serialization writer to use to serialize this model
|
|
49
|
+
*/
|
|
50
|
+
function serializeCheckMemberObjectsPostRequestBody(writer, checkMemberObjectsPostRequestBody = {}) {
|
|
51
|
+
writer.writeCollectionOfPrimitiveValues("ids", checkMemberObjectsPostRequestBody.ids);
|
|
52
|
+
writer.writeAdditionalData(checkMemberObjectsPostRequestBody.additionalData);
|
|
53
|
+
}
|
|
54
|
+
exports.serializeCheckMemberObjectsPostRequestBody = serializeCheckMemberObjectsPostRequestBody;
|
|
55
|
+
/**
|
|
56
|
+
* Serializes information the current object
|
|
57
|
+
* @param writer Serialization writer to use to serialize this model
|
|
58
|
+
*/
|
|
59
|
+
function serializeCheckMemberObjectsPostResponse(writer, checkMemberObjectsPostResponse = {}) {
|
|
60
|
+
(0, models_1.serializeBaseCollectionPaginationCountResponse)(writer, checkMemberObjectsPostResponse);
|
|
61
|
+
writer.writeCollectionOfPrimitiveValues("value", checkMemberObjectsPostResponse.value);
|
|
62
|
+
}
|
|
63
|
+
exports.serializeCheckMemberObjectsPostResponse = serializeCheckMemberObjectsPostResponse;
|
|
64
|
+
/**
|
|
65
|
+
* Metadata for all the requests in the request builder.
|
|
66
|
+
*/
|
|
67
|
+
exports.CheckMemberObjectsRequestBuilderRequestsMetadata = {
|
|
68
|
+
post: {
|
|
69
|
+
responseBodyContentType: "application/json",
|
|
70
|
+
errorMappings: {
|
|
71
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
72
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
73
|
+
},
|
|
74
|
+
adapterMethodName: "sendAsync",
|
|
75
|
+
responseBodyFactory: createCheckMemberObjectsPostResponseFromDiscriminatorValue,
|
|
76
|
+
requestBodyContentType: "application/json",
|
|
77
|
+
requestBodySerializer: serializeCheckMemberObjectsPostRequestBody,
|
|
78
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
79
|
+
},
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* Uri template for the request builder.
|
|
83
|
+
*/
|
|
84
|
+
exports.CheckMemberObjectsRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/checkMemberObjects";
|
|
85
|
+
/* tslint:enable */
|
|
86
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Provides operations to count the resources in the collection.
|
|
4
|
+
*/
|
|
5
|
+
export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuilder> {
|
|
6
|
+
/**
|
|
7
|
+
* Get the number of the resource
|
|
8
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
+
* @returns a Promise of Integer
|
|
10
|
+
*/
|
|
11
|
+
get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
|
|
12
|
+
/**
|
|
13
|
+
* Get the number of the resource
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @returns a RequestInformation
|
|
16
|
+
*/
|
|
17
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Get the number of the resource
|
|
21
|
+
*/
|
|
22
|
+
export interface CountRequestBuilderGetQueryParameters {
|
|
23
|
+
/**
|
|
24
|
+
* Filter items by property values
|
|
25
|
+
*/
|
|
26
|
+
filter?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Search items by search phrases
|
|
29
|
+
*/
|
|
30
|
+
search?: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Metadata for all the requests in the request builder.
|
|
34
|
+
*/
|
|
35
|
+
export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
36
|
+
/**
|
|
37
|
+
* Uri template for the request builder.
|
|
38
|
+
*/
|
|
39
|
+
export declare const CountRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/extensions/$count{?%24search,%24filter}";
|
|
40
|
+
//# 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,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAQD;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8BAA8B,wFAAwF,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CountRequestBuilderUriTemplate = exports.CountRequestBuilderRequestsMetadata = 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 CountRequestBuilderGetQueryParametersMapper = {
|
|
12
|
+
"filter": "%24filter",
|
|
13
|
+
"search": "%24search",
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Metadata for all the requests in the request builder.
|
|
17
|
+
*/
|
|
18
|
+
exports.CountRequestBuilderRequestsMetadata = {
|
|
19
|
+
get: {
|
|
20
|
+
responseBodyContentType: "text/plain;q=0.9",
|
|
21
|
+
errorMappings: {
|
|
22
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
23
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
24
|
+
},
|
|
25
|
+
adapterMethodName: "sendPrimitiveAsync",
|
|
26
|
+
responseBodyFactory: "number",
|
|
27
|
+
queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Uri template for the request builder.
|
|
32
|
+
*/
|
|
33
|
+
exports.CountRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/extensions/$count{?%24search,%24filter}";
|
|
34
|
+
/* tslint:enable */
|
|
35
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { type Extension, type ExtensionCollectionResponse } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type CountRequestBuilder } from './count/';
|
|
3
|
+
import { type ExtensionItemRequestBuilder } from './item/';
|
|
4
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
5
|
+
/**
|
|
6
|
+
* Provides operations to manage the extensions property of the microsoft.graph.organization entity.
|
|
7
|
+
*/
|
|
8
|
+
export interface ExtensionsRequestBuilder extends BaseRequestBuilder<ExtensionsRequestBuilder> {
|
|
9
|
+
/**
|
|
10
|
+
* Provides operations to count the resources in the collection.
|
|
11
|
+
*/
|
|
12
|
+
get count(): CountRequestBuilder;
|
|
13
|
+
/**
|
|
14
|
+
* Provides operations to manage the extensions property of the microsoft.graph.organization entity.
|
|
15
|
+
* @param extensionId The unique identifier of extension
|
|
16
|
+
* @returns a ExtensionItemRequestBuilder
|
|
17
|
+
*/
|
|
18
|
+
byExtensionId(extensionId: string): ExtensionItemRequestBuilder;
|
|
19
|
+
/**
|
|
20
|
+
* The collection of open extensions defined for the organization. Read-only. Nullable.
|
|
21
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
|
+
* @returns a Promise of ExtensionCollectionResponse
|
|
23
|
+
*/
|
|
24
|
+
get(requestConfiguration?: RequestConfiguration<ExtensionsRequestBuilderGetQueryParameters> | undefined): Promise<ExtensionCollectionResponse | undefined>;
|
|
25
|
+
/**
|
|
26
|
+
* Create new navigation property to extensions for organization
|
|
27
|
+
* @param body The request body
|
|
28
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
29
|
+
* @returns a Promise of Extension
|
|
30
|
+
*/
|
|
31
|
+
post(body: Extension, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Extension | undefined>;
|
|
32
|
+
/**
|
|
33
|
+
* The collection of open extensions defined for the organization. Read-only. Nullable.
|
|
34
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
35
|
+
* @returns a RequestInformation
|
|
36
|
+
*/
|
|
37
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ExtensionsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
38
|
+
/**
|
|
39
|
+
* Create new navigation property to extensions for organization
|
|
40
|
+
* @param body The request body
|
|
41
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
42
|
+
* @returns a RequestInformation
|
|
43
|
+
*/
|
|
44
|
+
toPostRequestInformation(body: Extension, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* The collection of open extensions defined for the organization. Read-only. Nullable.
|
|
48
|
+
*/
|
|
49
|
+
export interface ExtensionsRequestBuilderGetQueryParameters {
|
|
50
|
+
/**
|
|
51
|
+
* Include count of items
|
|
52
|
+
*/
|
|
53
|
+
count?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Expand related entities
|
|
56
|
+
*/
|
|
57
|
+
expand?: string[];
|
|
58
|
+
/**
|
|
59
|
+
* Filter items by property values
|
|
60
|
+
*/
|
|
61
|
+
filter?: string;
|
|
62
|
+
/**
|
|
63
|
+
* Order items by property values
|
|
64
|
+
*/
|
|
65
|
+
orderby?: string[];
|
|
66
|
+
/**
|
|
67
|
+
* Search items by search phrases
|
|
68
|
+
*/
|
|
69
|
+
search?: string;
|
|
70
|
+
/**
|
|
71
|
+
* Select properties to be returned
|
|
72
|
+
*/
|
|
73
|
+
select?: string[];
|
|
74
|
+
/**
|
|
75
|
+
* Skip the first n items
|
|
76
|
+
*/
|
|
77
|
+
skip?: number;
|
|
78
|
+
/**
|
|
79
|
+
* Show only the first n items
|
|
80
|
+
*/
|
|
81
|
+
top?: number;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Metadata for all the navigation properties in the request builder.
|
|
85
|
+
*/
|
|
86
|
+
export declare const ExtensionsRequestBuilderNavigationMetadata: Record<Exclude<keyof ExtensionsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
87
|
+
/**
|
|
88
|
+
* Metadata for all the requests in the request builder.
|
|
89
|
+
*/
|
|
90
|
+
export declare const ExtensionsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
91
|
+
/**
|
|
92
|
+
* Uri template for the request builder.
|
|
93
|
+
*/
|
|
94
|
+
export declare const ExtensionsRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/extensions{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
95
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAsH,KAAK,SAAS,EAAE,KAAK,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AAEtN,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAAuF,KAAK,2BAA2B,EAAE,MAAM,SAAS,CAAC;AAChJ,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,wBAAyB,SAAQ,kBAAkB,CAAC,wBAAwB,CAAC;IAC1F;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,aAAa,CAAC,WAAW,EAAE,MAAM,GAAI,2BAA2B,CAAC;IAClE;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,0CAA0C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,2BAA2B,GAAG,SAAS,CAAC,CAAC;IAC7J;;;;;OAKG;IACF,IAAI,CAAC,IAAI,EAAE,SAAS,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,SAAS,GAAG,SAAS,CAAC,CAAC;IACzH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,0CAA0C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACnJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,SAAS,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACpI;AACD;;GAEG;AACH,MAAM,WAAW,0CAA0C;IACvD;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;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,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AAcD;;GAEG;AACH,eAAO,MAAM,0CAA0C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,wBAAwB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAU9J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,wCAAwC,EAAE,gBAuBtD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,mCAAmC,wIAAwI,CAAC"}
|