@microsoft/msgraph-sdk-contacts 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/contacts/count/index.d.ts +40 -0
- package/contacts/count/index.d.ts.map +1 -0
- package/contacts/count/index.js +35 -0
- package/contacts/delta/index.d.ts +83 -0
- package/contacts/delta/index.d.ts.map +1 -0
- package/contacts/delta/index.js +67 -0
- package/contacts/getAvailableExtensionProperties/index.d.ts +83 -0
- package/contacts/getAvailableExtensionProperties/index.d.ts.map +1 -0
- package/contacts/getAvailableExtensionProperties/index.js +86 -0
- package/contacts/getByIds/index.d.ts +87 -0
- package/contacts/getByIds/index.d.ts.map +1 -0
- package/contacts/getByIds/index.js +88 -0
- package/contacts/index.d.ts +116 -0
- package/contacts/index.d.ts.map +1 -0
- package/contacts/index.js +91 -0
- package/contacts/item/checkMemberGroups/index.d.ts +83 -0
- package/contacts/item/checkMemberGroups/index.d.ts.map +1 -0
- package/contacts/item/checkMemberGroups/index.js +86 -0
- package/contacts/item/checkMemberObjects/index.d.ts +82 -0
- package/contacts/item/checkMemberObjects/index.d.ts.map +1 -0
- package/contacts/item/checkMemberObjects/index.js +86 -0
- package/contacts/item/directReports/count/index.d.ts +40 -0
- package/contacts/item/directReports/count/index.d.ts.map +1 -0
- package/contacts/item/directReports/count/index.js +35 -0
- package/contacts/item/directReports/graphOrgContact/count/index.d.ts +40 -0
- package/contacts/item/directReports/graphOrgContact/count/index.d.ts.map +1 -0
- package/contacts/item/directReports/graphOrgContact/count/index.js +35 -0
- package/contacts/item/directReports/graphOrgContact/index.d.ts +74 -0
- package/contacts/item/directReports/graphOrgContact/index.d.ts.map +1 -0
- package/contacts/item/directReports/graphOrgContact/index.js +52 -0
- package/contacts/item/directReports/graphUser/count/index.d.ts +40 -0
- package/contacts/item/directReports/graphUser/count/index.d.ts.map +1 -0
- package/contacts/item/directReports/graphUser/count/index.js +35 -0
- package/contacts/item/directReports/graphUser/index.d.ts +74 -0
- package/contacts/item/directReports/graphUser/index.d.ts.map +1 -0
- package/contacts/item/directReports/graphUser/index.js +52 -0
- package/contacts/item/directReports/index.d.ts +92 -0
- package/contacts/item/directReports/index.d.ts.map +1 -0
- package/contacts/item/directReports/index.js +71 -0
- package/contacts/item/directReports/item/graphOrgContact/index.d.ts +41 -0
- package/contacts/item/directReports/item/graphOrgContact/index.d.ts.map +1 -0
- package/contacts/item/directReports/item/graphOrgContact/index.js +36 -0
- package/contacts/item/directReports/item/graphUser/index.d.ts +41 -0
- package/contacts/item/directReports/item/graphUser/index.d.ts.map +1 -0
- package/contacts/item/directReports/item/graphUser/index.js +36 -0
- package/contacts/item/directReports/item/index.d.ts +55 -0
- package/contacts/item/directReports/item/index.d.ts.map +1 -0
- package/contacts/item/directReports/item/index.js +51 -0
- package/contacts/item/getMemberGroups/index.d.ts +83 -0
- package/contacts/item/getMemberGroups/index.d.ts.map +1 -0
- package/contacts/item/getMemberGroups/index.js +86 -0
- package/contacts/item/getMemberObjects/index.d.ts +83 -0
- package/contacts/item/getMemberObjects/index.d.ts.map +1 -0
- package/contacts/item/getMemberObjects/index.js +86 -0
- package/contacts/item/index.d.ts +126 -0
- package/contacts/item/index.d.ts.map +1 -0
- package/contacts/item/index.js +120 -0
- package/contacts/item/manager/index.d.ts +42 -0
- package/contacts/item/manager/index.d.ts.map +1 -0
- package/contacts/item/manager/index.js +36 -0
- package/contacts/item/memberOf/count/index.d.ts +40 -0
- package/contacts/item/memberOf/count/index.d.ts.map +1 -0
- package/contacts/item/memberOf/count/index.js +35 -0
- package/contacts/item/memberOf/graphAdministrativeUnit/count/index.d.ts +40 -0
- package/contacts/item/memberOf/graphAdministrativeUnit/count/index.d.ts.map +1 -0
- package/contacts/item/memberOf/graphAdministrativeUnit/count/index.js +35 -0
- package/contacts/item/memberOf/graphAdministrativeUnit/index.d.ts +74 -0
- package/contacts/item/memberOf/graphAdministrativeUnit/index.d.ts.map +1 -0
- package/contacts/item/memberOf/graphAdministrativeUnit/index.js +52 -0
- package/contacts/item/memberOf/graphGroup/count/index.d.ts +40 -0
- package/contacts/item/memberOf/graphGroup/count/index.d.ts.map +1 -0
- package/contacts/item/memberOf/graphGroup/count/index.js +35 -0
- package/contacts/item/memberOf/graphGroup/index.d.ts +74 -0
- package/contacts/item/memberOf/graphGroup/index.d.ts.map +1 -0
- package/contacts/item/memberOf/graphGroup/index.js +52 -0
- package/contacts/item/memberOf/index.d.ts +92 -0
- package/contacts/item/memberOf/index.d.ts.map +1 -0
- package/contacts/item/memberOf/index.js +71 -0
- package/contacts/item/memberOf/item/graphAdministrativeUnit/index.d.ts +41 -0
- package/contacts/item/memberOf/item/graphAdministrativeUnit/index.d.ts.map +1 -0
- package/contacts/item/memberOf/item/graphAdministrativeUnit/index.js +36 -0
- package/contacts/item/memberOf/item/graphGroup/index.d.ts +41 -0
- package/contacts/item/memberOf/item/graphGroup/index.d.ts.map +1 -0
- package/contacts/item/memberOf/item/graphGroup/index.js +36 -0
- package/contacts/item/memberOf/item/index.d.ts +55 -0
- package/contacts/item/memberOf/item/index.d.ts.map +1 -0
- package/contacts/item/memberOf/item/index.js +51 -0
- package/contacts/item/restore/index.d.ts +29 -0
- package/contacts/item/restore/index.d.ts.map +1 -0
- package/contacts/item/restore/index.js +28 -0
- package/contacts/item/retryServiceProvisioning/index.d.ts +26 -0
- package/contacts/item/retryServiceProvisioning/index.d.ts.map +1 -0
- package/contacts/item/retryServiceProvisioning/index.js +26 -0
- package/contacts/item/serviceProvisioningErrors/count/index.d.ts +40 -0
- package/contacts/item/serviceProvisioningErrors/count/index.d.ts.map +1 -0
- package/contacts/item/serviceProvisioningErrors/count/index.js +35 -0
- package/contacts/item/serviceProvisioningErrors/index.d.ts +74 -0
- package/contacts/item/serviceProvisioningErrors/index.d.ts.map +1 -0
- package/contacts/item/serviceProvisioningErrors/index.js +52 -0
- package/contacts/item/transitiveMemberOf/count/index.d.ts +40 -0
- package/contacts/item/transitiveMemberOf/count/index.d.ts.map +1 -0
- package/contacts/item/transitiveMemberOf/count/index.js +35 -0
- package/contacts/item/transitiveMemberOf/graphAdministrativeUnit/count/index.d.ts +40 -0
- package/contacts/item/transitiveMemberOf/graphAdministrativeUnit/count/index.d.ts.map +1 -0
- package/contacts/item/transitiveMemberOf/graphAdministrativeUnit/count/index.js +35 -0
- package/contacts/item/transitiveMemberOf/graphAdministrativeUnit/index.d.ts +74 -0
- package/contacts/item/transitiveMemberOf/graphAdministrativeUnit/index.d.ts.map +1 -0
- package/contacts/item/transitiveMemberOf/graphAdministrativeUnit/index.js +52 -0
- package/contacts/item/transitiveMemberOf/graphGroup/count/index.d.ts +40 -0
- package/contacts/item/transitiveMemberOf/graphGroup/count/index.d.ts.map +1 -0
- package/contacts/item/transitiveMemberOf/graphGroup/count/index.js +35 -0
- package/contacts/item/transitiveMemberOf/graphGroup/index.d.ts +74 -0
- package/contacts/item/transitiveMemberOf/graphGroup/index.d.ts.map +1 -0
- package/contacts/item/transitiveMemberOf/graphGroup/index.js +52 -0
- package/contacts/item/transitiveMemberOf/index.d.ts +92 -0
- package/contacts/item/transitiveMemberOf/index.d.ts.map +1 -0
- package/contacts/item/transitiveMemberOf/index.js +71 -0
- package/contacts/item/transitiveMemberOf/item/graphAdministrativeUnit/index.d.ts +41 -0
- package/contacts/item/transitiveMemberOf/item/graphAdministrativeUnit/index.d.ts.map +1 -0
- package/contacts/item/transitiveMemberOf/item/graphAdministrativeUnit/index.js +36 -0
- package/contacts/item/transitiveMemberOf/item/graphGroup/index.d.ts +41 -0
- package/contacts/item/transitiveMemberOf/item/graphGroup/index.d.ts.map +1 -0
- package/contacts/item/transitiveMemberOf/item/graphGroup/index.js +36 -0
- package/contacts/item/transitiveMemberOf/item/index.d.ts +55 -0
- package/contacts/item/transitiveMemberOf/item/index.d.ts.map +1 -0
- package/contacts/item/transitiveMemberOf/item/index.js +51 -0
- package/contacts/validateProperties/index.d.ts +72 -0
- package/contacts/validateProperties/index.d.ts.map +1 -0
- package/contacts/validateProperties/index.js +64 -0
- package/contactsServiceClient.d.ts +25 -0
- package/contactsServiceClient.d.ts.map +1 -0
- package/contactsServiceClient.js +49 -0
- package/index.d.ts +11 -0
- package/index.d.ts.map +1 -0
- package/index.js +20 -0
- package/package.json +48 -0
- package/tsconfig.json +15 -0
- package/tsconfig.tsbuildinfo +1 -0
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DirectoryObjectItemRequestBuilderUriTemplate = exports.DirectoryObjectItemRequestBuilderRequestsMetadata = exports.DirectoryObjectItemRequestBuilderNavigationMetadata = 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 graphAdministrativeUnit_1 = require("./graphAdministrativeUnit/");
|
|
10
|
+
const graphGroup_1 = require("./graphGroup/");
|
|
11
|
+
/**
|
|
12
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
13
|
+
*/
|
|
14
|
+
const DirectoryObjectItemRequestBuilderGetQueryParametersMapper = {
|
|
15
|
+
"expand": "%24expand",
|
|
16
|
+
"select": "%24select",
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Metadata for all the navigation properties in the request builder.
|
|
20
|
+
*/
|
|
21
|
+
exports.DirectoryObjectItemRequestBuilderNavigationMetadata = {
|
|
22
|
+
graphAdministrativeUnit: {
|
|
23
|
+
uriTemplate: graphAdministrativeUnit_1.GraphAdministrativeUnitRequestBuilderUriTemplate,
|
|
24
|
+
requestsMetadata: graphAdministrativeUnit_1.GraphAdministrativeUnitRequestBuilderRequestsMetadata,
|
|
25
|
+
},
|
|
26
|
+
graphGroup: {
|
|
27
|
+
uriTemplate: graphGroup_1.GraphGroupRequestBuilderUriTemplate,
|
|
28
|
+
requestsMetadata: graphGroup_1.GraphGroupRequestBuilderRequestsMetadata,
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Metadata for all the requests in the request builder.
|
|
33
|
+
*/
|
|
34
|
+
exports.DirectoryObjectItemRequestBuilderRequestsMetadata = {
|
|
35
|
+
get: {
|
|
36
|
+
responseBodyContentType: "application/json",
|
|
37
|
+
errorMappings: {
|
|
38
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
39
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
40
|
+
},
|
|
41
|
+
adapterMethodName: "sendAsync",
|
|
42
|
+
responseBodyFactory: models_1.createDirectoryObjectFromDiscriminatorValue,
|
|
43
|
+
queryParametersMapper: DirectoryObjectItemRequestBuilderGetQueryParametersMapper,
|
|
44
|
+
},
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* Uri template for the request builder.
|
|
48
|
+
*/
|
|
49
|
+
exports.DirectoryObjectItemRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/memberOf/{directoryObject%2Did}{?%24select,%24expand}";
|
|
50
|
+
/* tslint:enable */
|
|
51
|
+
/* 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}/contacts/{orgContact%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,kDAAkD,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}/contacts/{orgContact%2Did}/restore";
|
|
27
|
+
/* tslint:enable */
|
|
28
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Provides operations to call the retryServiceProvisioning method.
|
|
4
|
+
*/
|
|
5
|
+
export interface RetryServiceProvisioningRequestBuilder extends BaseRequestBuilder<RetryServiceProvisioningRequestBuilder> {
|
|
6
|
+
/**
|
|
7
|
+
* Invoke action retryServiceProvisioning
|
|
8
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
+
*/
|
|
10
|
+
post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
11
|
+
/**
|
|
12
|
+
* Invoke action retryServiceProvisioning
|
|
13
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
14
|
+
* @returns a RequestInformation
|
|
15
|
+
*/
|
|
16
|
+
toPostRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Metadata for all the requests in the request builder.
|
|
20
|
+
*/
|
|
21
|
+
export declare const RetryServiceProvisioningRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
22
|
+
/**
|
|
23
|
+
* Uri template for the request builder.
|
|
24
|
+
*/
|
|
25
|
+
export declare const RetryServiceProvisioningRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/retryServiceProvisioning";
|
|
26
|
+
//# 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,sCAAuC,SAAQ,kBAAkB,CAAC,sCAAsC,CAAC;IACtH;;;OAGG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACvF;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,sDAAsD,EAAE,gBASpE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,iDAAiD,mEAAmE,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RetryServiceProvisioningRequestBuilderUriTemplate = exports.RetryServiceProvisioningRequestBuilderRequestsMetadata = 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
|
+
* Metadata for all the requests in the request builder.
|
|
10
|
+
*/
|
|
11
|
+
exports.RetryServiceProvisioningRequestBuilderRequestsMetadata = {
|
|
12
|
+
post: {
|
|
13
|
+
responseBodyContentType: "application/json",
|
|
14
|
+
errorMappings: {
|
|
15
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
16
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
17
|
+
},
|
|
18
|
+
adapterMethodName: "sendNoResponseContentAsync",
|
|
19
|
+
},
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Uri template for the request builder.
|
|
23
|
+
*/
|
|
24
|
+
exports.RetryServiceProvisioningRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/retryServiceProvisioning";
|
|
25
|
+
/* tslint:enable */
|
|
26
|
+
/* 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}/contacts/{orgContact%2Did}/serviceProvisioningErrors/$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,iGAAiG,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}/contacts/{orgContact%2Did}/serviceProvisioningErrors/$count{?%24search,%24filter}";
|
|
34
|
+
/* tslint:enable */
|
|
35
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { type ServiceProvisioningErrorCollectionResponse } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type CountRequestBuilder } from './count/';
|
|
3
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
4
|
+
/**
|
|
5
|
+
* Builds and executes requests for operations under /contacts/{orgContact-id}/serviceProvisioningErrors
|
|
6
|
+
*/
|
|
7
|
+
export interface ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder<ServiceProvisioningErrorsRequestBuilder> {
|
|
8
|
+
/**
|
|
9
|
+
* Provides operations to count the resources in the collection.
|
|
10
|
+
*/
|
|
11
|
+
get count(): CountRequestBuilder;
|
|
12
|
+
/**
|
|
13
|
+
* Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from an organizational contact object . Supports $filter (eq, not, for isResolved and serviceInstance).
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @returns a Promise of ServiceProvisioningErrorCollectionResponse
|
|
16
|
+
*/
|
|
17
|
+
get(requestConfiguration?: RequestConfiguration<ServiceProvisioningErrorsRequestBuilderGetQueryParameters> | undefined): Promise<ServiceProvisioningErrorCollectionResponse | undefined>;
|
|
18
|
+
/**
|
|
19
|
+
* Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from an organizational contact object . Supports $filter (eq, not, for isResolved and serviceInstance).
|
|
20
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
21
|
+
* @returns a RequestInformation
|
|
22
|
+
*/
|
|
23
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ServiceProvisioningErrorsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from an organizational contact object . Supports $filter (eq, not, for isResolved and serviceInstance).
|
|
27
|
+
*/
|
|
28
|
+
export interface ServiceProvisioningErrorsRequestBuilderGetQueryParameters {
|
|
29
|
+
/**
|
|
30
|
+
* Include count of items
|
|
31
|
+
*/
|
|
32
|
+
count?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Expand related entities
|
|
35
|
+
*/
|
|
36
|
+
expand?: string[];
|
|
37
|
+
/**
|
|
38
|
+
* Filter items by property values
|
|
39
|
+
*/
|
|
40
|
+
filter?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Order items by property values
|
|
43
|
+
*/
|
|
44
|
+
orderby?: string[];
|
|
45
|
+
/**
|
|
46
|
+
* Search items by search phrases
|
|
47
|
+
*/
|
|
48
|
+
search?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Select properties to be returned
|
|
51
|
+
*/
|
|
52
|
+
select?: string[];
|
|
53
|
+
/**
|
|
54
|
+
* Skip the first n items
|
|
55
|
+
*/
|
|
56
|
+
skip?: number;
|
|
57
|
+
/**
|
|
58
|
+
* Show only the first n items
|
|
59
|
+
*/
|
|
60
|
+
top?: number;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Metadata for all the navigation properties in the request builder.
|
|
64
|
+
*/
|
|
65
|
+
export declare const ServiceProvisioningErrorsRequestBuilderNavigationMetadata: Record<Exclude<keyof ServiceProvisioningErrorsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
66
|
+
/**
|
|
67
|
+
* Metadata for all the requests in the request builder.
|
|
68
|
+
*/
|
|
69
|
+
export declare const ServiceProvisioningErrorsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
70
|
+
/**
|
|
71
|
+
* Uri template for the request builder.
|
|
72
|
+
*/
|
|
73
|
+
export declare const ServiceProvisioningErrorsRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/serviceProvisioningErrors{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
74
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA0E,KAAK,0CAA0C,EAAE,MAAM,gCAAgC,CAAC;AAEzK,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,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,uCAAwC,SAAQ,kBAAkB,CAAC,uCAAuC,CAAC;IACxH;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yDAAyD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,0CAA0C,GAAG,SAAS,CAAC,CAAC;IAC3L;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yDAAyD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACrK;AACD;;GAEG;AACH,MAAM,WAAW,yDAAyD;IACtE;;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,yDAAyD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,uCAAuC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAK5L,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,uDAAuD,EAAE,gBAWrE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,kDAAkD,iJAAiJ,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ServiceProvisioningErrorsRequestBuilderUriTemplate = exports.ServiceProvisioningErrorsRequestBuilderRequestsMetadata = exports.ServiceProvisioningErrorsRequestBuilderNavigationMetadata = 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 count_1 = require("./count/");
|
|
10
|
+
/**
|
|
11
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
12
|
+
*/
|
|
13
|
+
const ServiceProvisioningErrorsRequestBuilderGetQueryParametersMapper = {
|
|
14
|
+
"count": "%24count",
|
|
15
|
+
"expand": "%24expand",
|
|
16
|
+
"filter": "%24filter",
|
|
17
|
+
"orderby": "%24orderby",
|
|
18
|
+
"search": "%24search",
|
|
19
|
+
"select": "%24select",
|
|
20
|
+
"skip": "%24skip",
|
|
21
|
+
"top": "%24top",
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Metadata for all the navigation properties in the request builder.
|
|
25
|
+
*/
|
|
26
|
+
exports.ServiceProvisioningErrorsRequestBuilderNavigationMetadata = {
|
|
27
|
+
count: {
|
|
28
|
+
uriTemplate: count_1.CountRequestBuilderUriTemplate,
|
|
29
|
+
requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Metadata for all the requests in the request builder.
|
|
34
|
+
*/
|
|
35
|
+
exports.ServiceProvisioningErrorsRequestBuilderRequestsMetadata = {
|
|
36
|
+
get: {
|
|
37
|
+
responseBodyContentType: "application/json",
|
|
38
|
+
errorMappings: {
|
|
39
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
40
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
41
|
+
},
|
|
42
|
+
adapterMethodName: "sendAsync",
|
|
43
|
+
responseBodyFactory: models_1.createServiceProvisioningErrorCollectionResponseFromDiscriminatorValue,
|
|
44
|
+
queryParametersMapper: ServiceProvisioningErrorsRequestBuilderGetQueryParametersMapper,
|
|
45
|
+
},
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* Uri template for the request builder.
|
|
49
|
+
*/
|
|
50
|
+
exports.ServiceProvisioningErrorsRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/serviceProvisioningErrors{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
51
|
+
/* tslint:enable */
|
|
52
|
+
/* 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}/contacts/{orgContact%2Did}/transitiveMemberOf/$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,0FAA0F,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}/contacts/{orgContact%2Did}/transitiveMemberOf/$count{?%24search,%24filter}";
|
|
34
|
+
/* tslint:enable */
|
|
35
|
+
/* 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}/contacts/{orgContact%2Did}/transitiveMemberOf/graph.administrativeUnit/$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,mHAAmH,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}/contacts/{orgContact%2Did}/transitiveMemberOf/graph.administrativeUnit/$count{?%24search,%24filter}";
|
|
34
|
+
/* tslint:enable */
|
|
35
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { type AdministrativeUnitCollectionResponse } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type CountRequestBuilder } from './count/';
|
|
3
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
4
|
+
/**
|
|
5
|
+
* Casts the previous resource to administrativeUnit.
|
|
6
|
+
*/
|
|
7
|
+
export interface GraphAdministrativeUnitRequestBuilder extends BaseRequestBuilder<GraphAdministrativeUnitRequestBuilder> {
|
|
8
|
+
/**
|
|
9
|
+
* Provides operations to count the resources in the collection.
|
|
10
|
+
*/
|
|
11
|
+
get count(): CountRequestBuilder;
|
|
12
|
+
/**
|
|
13
|
+
* Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @returns a Promise of AdministrativeUnitCollectionResponse
|
|
16
|
+
*/
|
|
17
|
+
get(requestConfiguration?: RequestConfiguration<GraphAdministrativeUnitRequestBuilderGetQueryParameters> | undefined): Promise<AdministrativeUnitCollectionResponse | undefined>;
|
|
18
|
+
/**
|
|
19
|
+
* Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection
|
|
20
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
21
|
+
* @returns a RequestInformation
|
|
22
|
+
*/
|
|
23
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<GraphAdministrativeUnitRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection
|
|
27
|
+
*/
|
|
28
|
+
export interface GraphAdministrativeUnitRequestBuilderGetQueryParameters {
|
|
29
|
+
/**
|
|
30
|
+
* Include count of items
|
|
31
|
+
*/
|
|
32
|
+
count?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Expand related entities
|
|
35
|
+
*/
|
|
36
|
+
expand?: string[];
|
|
37
|
+
/**
|
|
38
|
+
* Filter items by property values
|
|
39
|
+
*/
|
|
40
|
+
filter?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Order items by property values
|
|
43
|
+
*/
|
|
44
|
+
orderby?: string[];
|
|
45
|
+
/**
|
|
46
|
+
* Search items by search phrases
|
|
47
|
+
*/
|
|
48
|
+
search?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Select properties to be returned
|
|
51
|
+
*/
|
|
52
|
+
select?: string[];
|
|
53
|
+
/**
|
|
54
|
+
* Skip the first n items
|
|
55
|
+
*/
|
|
56
|
+
skip?: number;
|
|
57
|
+
/**
|
|
58
|
+
* Show only the first n items
|
|
59
|
+
*/
|
|
60
|
+
top?: number;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Metadata for all the navigation properties in the request builder.
|
|
64
|
+
*/
|
|
65
|
+
export declare const GraphAdministrativeUnitRequestBuilderNavigationMetadata: Record<Exclude<keyof GraphAdministrativeUnitRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
66
|
+
/**
|
|
67
|
+
* Metadata for all the requests in the request builder.
|
|
68
|
+
*/
|
|
69
|
+
export declare const GraphAdministrativeUnitRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
70
|
+
/**
|
|
71
|
+
* Uri template for the request builder.
|
|
72
|
+
*/
|
|
73
|
+
export declare const GraphAdministrativeUnitRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/transitiveMemberOf/graph.administrativeUnit{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
74
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAoE,KAAK,oCAAoC,EAAE,MAAM,gCAAgC,CAAC;AAE7J,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,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,qCAAsC,SAAQ,kBAAkB,CAAC,qCAAqC,CAAC;IACpH;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,uDAAuD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,oCAAoC,GAAG,SAAS,CAAC,CAAC;IACnL;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,uDAAuD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnK;AACD;;GAEG;AACH,MAAM,WAAW,uDAAuD;IACpE;;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,uDAAuD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,qCAAqC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAKxL,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,qDAAqD,EAAE,gBAWnE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,gDAAgD,mKAAmK,CAAC"}
|