@microsoft/msgraph-sdk-directory 1.0.0-preview.20 → 1.0.0-preview.21
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/directory/administrativeUnits/index.d.ts +5 -7
- package/directory/administrativeUnits/index.d.ts.map +1 -1
- package/directory/administrativeUnits/item/index.d.ts +7 -10
- package/directory/administrativeUnits/item/index.d.ts.map +1 -1
- package/directory/administrativeUnits/item/members/index.d.ts +0 -2
- package/directory/administrativeUnits/item/members/index.d.ts.map +1 -1
- package/directory/administrativeUnits/item/members/item/ref/index.d.ts +2 -3
- package/directory/administrativeUnits/item/members/item/ref/index.d.ts.map +1 -1
- package/directory/administrativeUnits/item/members/ref/index.d.ts +3 -6
- package/directory/administrativeUnits/item/members/ref/index.d.ts.map +1 -1
- package/directory/administrativeUnits/item/scopedRoleMembers/index.d.ts +5 -7
- package/directory/administrativeUnits/item/scopedRoleMembers/index.d.ts.map +1 -1
- package/directory/administrativeUnits/item/scopedRoleMembers/item/index.d.ts +5 -7
- package/directory/administrativeUnits/item/scopedRoleMembers/item/index.d.ts.map +1 -1
- package/directory/attributeSets/index.d.ts +5 -7
- package/directory/attributeSets/index.d.ts.map +1 -1
- package/directory/attributeSets/item/index.d.ts +5 -7
- package/directory/attributeSets/item/index.d.ts.map +1 -1
- package/directory/customSecurityAttributeDefinitions/index.d.ts +5 -7
- package/directory/customSecurityAttributeDefinitions/index.d.ts.map +1 -1
- package/directory/customSecurityAttributeDefinitions/item/allowedValues/index.d.ts +5 -7
- package/directory/customSecurityAttributeDefinitions/item/allowedValues/index.d.ts.map +1 -1
- package/directory/customSecurityAttributeDefinitions/item/allowedValues/item/index.d.ts +5 -7
- package/directory/customSecurityAttributeDefinitions/item/allowedValues/item/index.d.ts.map +1 -1
- package/directory/customSecurityAttributeDefinitions/item/index.d.ts +5 -7
- package/directory/customSecurityAttributeDefinitions/item/index.d.ts.map +1 -1
- package/directory/deletedItems/index.d.ts +3 -3
- package/directory/deletedItems/item/index.d.ts +3 -5
- package/directory/deletedItems/item/index.d.ts.map +1 -1
- package/directory/deviceLocalCredentials/index.d.ts +3 -4
- package/directory/deviceLocalCredentials/index.d.ts.map +1 -1
- package/directory/deviceLocalCredentials/item/index.d.ts +3 -4
- package/directory/deviceLocalCredentials/item/index.d.ts.map +1 -1
- package/directory/federationConfigurations/availableProviderTypes/index.d.ts +4 -3
- package/directory/federationConfigurations/availableProviderTypes/index.d.ts.map +1 -1
- package/directory/federationConfigurations/item/index.d.ts +2 -3
- package/directory/federationConfigurations/item/index.d.ts.map +1 -1
- package/directory/index.d.ts +12 -0
- package/directory/index.d.ts.map +1 -1
- package/directory/index.js +11 -0
- package/directory/onPremisesSynchronization/index.d.ts +3 -3
- package/directory/onPremisesSynchronization/item/index.d.ts +5 -7
- package/directory/onPremisesSynchronization/item/index.d.ts.map +1 -1
- package/directory/subscriptions/count/index.d.ts +41 -0
- package/directory/subscriptions/count/index.d.ts.map +1 -0
- package/directory/subscriptions/count/index.js +36 -0
- package/directory/subscriptions/index.d.ts +97 -0
- package/directory/subscriptions/index.d.ts.map +1 -0
- package/directory/subscriptions/index.js +72 -0
- package/directory/subscriptions/item/index.d.ts +69 -0
- package/directory/subscriptions/item/index.d.ts.map +1 -0
- package/directory/subscriptions/item/index.js +58 -0
- package/directory/subscriptionsWithCommerceSubscriptionId/index.d.ts +69 -0
- package/directory/subscriptionsWithCommerceSubscriptionId/index.d.ts.map +1 -0
- package/directory/subscriptionsWithCommerceSubscriptionId/index.js +58 -0
- package/package.json +3 -3
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { type CompanySubscription, type CompanySubscriptionCollectionResponse } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type CountRequestBuilder } from './count/';
|
|
3
|
+
import { type CompanySubscriptionItemRequestBuilder } 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 subscriptions property of the microsoft.graph.directory entity.
|
|
7
|
+
*/
|
|
8
|
+
export interface SubscriptionsRequestBuilder extends BaseRequestBuilder<SubscriptionsRequestBuilder> {
|
|
9
|
+
/**
|
|
10
|
+
* Provides operations to count the resources in the collection.
|
|
11
|
+
*/
|
|
12
|
+
get count(): CountRequestBuilder;
|
|
13
|
+
/**
|
|
14
|
+
* Provides operations to manage the subscriptions property of the microsoft.graph.directory entity.
|
|
15
|
+
* @param companySubscriptionId The unique identifier of companySubscription
|
|
16
|
+
* @returns {CompanySubscriptionItemRequestBuilder}
|
|
17
|
+
*/
|
|
18
|
+
byCompanySubscriptionId(companySubscriptionId: string): CompanySubscriptionItemRequestBuilder;
|
|
19
|
+
/**
|
|
20
|
+
* Get subscriptions from directory
|
|
21
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
|
+
* @returns {Promise<CompanySubscriptionCollectionResponse>}
|
|
23
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
24
|
+
*/
|
|
25
|
+
get(requestConfiguration?: RequestConfiguration<SubscriptionsRequestBuilderGetQueryParameters> | undefined): Promise<CompanySubscriptionCollectionResponse | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* Create new navigation property to subscriptions for directory
|
|
28
|
+
* @param body The request body
|
|
29
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
30
|
+
* @returns {Promise<CompanySubscription>}
|
|
31
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
32
|
+
*/
|
|
33
|
+
post(body: CompanySubscription, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CompanySubscription | undefined>;
|
|
34
|
+
/**
|
|
35
|
+
* Get subscriptions from directory
|
|
36
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
37
|
+
* @returns {RequestInformation}
|
|
38
|
+
*/
|
|
39
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<SubscriptionsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
40
|
+
/**
|
|
41
|
+
* Create new navigation property to subscriptions for directory
|
|
42
|
+
* @param body The request body
|
|
43
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
44
|
+
* @returns {RequestInformation}
|
|
45
|
+
*/
|
|
46
|
+
toPostRequestInformation(body: CompanySubscription, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Get subscriptions from directory
|
|
50
|
+
*/
|
|
51
|
+
export interface SubscriptionsRequestBuilderGetQueryParameters {
|
|
52
|
+
/**
|
|
53
|
+
* Include count of items
|
|
54
|
+
*/
|
|
55
|
+
count?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Expand related entities
|
|
58
|
+
*/
|
|
59
|
+
expand?: string[];
|
|
60
|
+
/**
|
|
61
|
+
* Filter items by property values
|
|
62
|
+
*/
|
|
63
|
+
filter?: string;
|
|
64
|
+
/**
|
|
65
|
+
* Order items by property values
|
|
66
|
+
*/
|
|
67
|
+
orderby?: string[];
|
|
68
|
+
/**
|
|
69
|
+
* Search items by search phrases
|
|
70
|
+
*/
|
|
71
|
+
search?: string;
|
|
72
|
+
/**
|
|
73
|
+
* Select properties to be returned
|
|
74
|
+
*/
|
|
75
|
+
select?: string[];
|
|
76
|
+
/**
|
|
77
|
+
* Skip the first n items
|
|
78
|
+
*/
|
|
79
|
+
skip?: number;
|
|
80
|
+
/**
|
|
81
|
+
* Show only the first n items
|
|
82
|
+
*/
|
|
83
|
+
top?: number;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Uri template for the request builder.
|
|
87
|
+
*/
|
|
88
|
+
export declare const SubscriptionsRequestBuilderUriTemplate = "{+baseurl}/directory/subscriptions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
89
|
+
/**
|
|
90
|
+
* Metadata for all the navigation properties in the request builder.
|
|
91
|
+
*/
|
|
92
|
+
export declare const SubscriptionsRequestBuilderNavigationMetadata: Record<Exclude<keyof SubscriptionsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
93
|
+
/**
|
|
94
|
+
* Metadata for all the requests in the request builder.
|
|
95
|
+
*/
|
|
96
|
+
export declare const SubscriptionsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
97
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAoJ,KAAK,mBAAmB,EAAE,KAAK,qCAAqC,EAAE,MAAM,gCAAgC,CAAC;AAIxQ,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEzF,OAAO,EAAyD,KAAK,qCAAqC,EAAE,MAAM,SAAS,CAAC;AAE5H,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,2BAA4B,SAAQ,kBAAkB,CAAC,2BAA2B,CAAC;IAChG;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,uBAAuB,CAAC,qBAAqB,EAAE,MAAM,GAAI,qCAAqC,CAAC;IAChG;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,6CAA6C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,qCAAqC,GAAG,SAAS,CAAC,CAAC;IAC1K;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,mBAAmB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,mBAAmB,GAAG,SAAS,CAAC,CAAC;IAC7I;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,6CAA6C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACtJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,mBAAmB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC9I;AACD;;GAEG;AACH,MAAM,WAAW,6CAA6C;IAC1D;;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,sCAAsC,oHAAoH,CAAC;AAcxK;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,2BAA2B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAQpK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,2CAA2C,EAAE,gBAuBzD,CAAC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SubscriptionsRequestBuilderRequestsMetadata = exports.SubscriptionsRequestBuilderNavigationMetadata = exports.SubscriptionsRequestBuilderUriTemplate = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
// @ts-ignore
|
|
8
|
+
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
9
|
+
// @ts-ignore
|
|
10
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
11
|
+
// @ts-ignore
|
|
12
|
+
const count_1 = require("./count/");
|
|
13
|
+
// @ts-ignore
|
|
14
|
+
const item_1 = require("./item/");
|
|
15
|
+
/**
|
|
16
|
+
* Uri template for the request builder.
|
|
17
|
+
*/
|
|
18
|
+
exports.SubscriptionsRequestBuilderUriTemplate = "{+baseurl}/directory/subscriptions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
19
|
+
/**
|
|
20
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
21
|
+
*/
|
|
22
|
+
const SubscriptionsRequestBuilderGetQueryParametersMapper = {
|
|
23
|
+
"count": "%24count",
|
|
24
|
+
"expand": "%24expand",
|
|
25
|
+
"filter": "%24filter",
|
|
26
|
+
"orderby": "%24orderby",
|
|
27
|
+
"search": "%24search",
|
|
28
|
+
"select": "%24select",
|
|
29
|
+
"skip": "%24skip",
|
|
30
|
+
"top": "%24top",
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Metadata for all the navigation properties in the request builder.
|
|
34
|
+
*/
|
|
35
|
+
exports.SubscriptionsRequestBuilderNavigationMetadata = {
|
|
36
|
+
byCompanySubscriptionId: {
|
|
37
|
+
requestsMetadata: item_1.CompanySubscriptionItemRequestBuilderRequestsMetadata,
|
|
38
|
+
pathParametersMappings: ["companySubscription%2Did"],
|
|
39
|
+
},
|
|
40
|
+
count: {
|
|
41
|
+
requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
|
|
42
|
+
},
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* Metadata for all the requests in the request builder.
|
|
46
|
+
*/
|
|
47
|
+
exports.SubscriptionsRequestBuilderRequestsMetadata = {
|
|
48
|
+
get: {
|
|
49
|
+
uriTemplate: exports.SubscriptionsRequestBuilderUriTemplate,
|
|
50
|
+
responseBodyContentType: "application/json",
|
|
51
|
+
errorMappings: {
|
|
52
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
53
|
+
},
|
|
54
|
+
adapterMethodName: "send",
|
|
55
|
+
responseBodyFactory: models_1.createCompanySubscriptionCollectionResponseFromDiscriminatorValue,
|
|
56
|
+
queryParametersMapper: SubscriptionsRequestBuilderGetQueryParametersMapper,
|
|
57
|
+
},
|
|
58
|
+
post: {
|
|
59
|
+
uriTemplate: exports.SubscriptionsRequestBuilderUriTemplate,
|
|
60
|
+
responseBodyContentType: "application/json",
|
|
61
|
+
errorMappings: {
|
|
62
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
63
|
+
},
|
|
64
|
+
adapterMethodName: "send",
|
|
65
|
+
responseBodyFactory: models_1.createCompanySubscriptionFromDiscriminatorValue,
|
|
66
|
+
requestBodyContentType: "application/json",
|
|
67
|
+
requestBodySerializer: models_1.serializeCompanySubscription,
|
|
68
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
69
|
+
},
|
|
70
|
+
};
|
|
71
|
+
/* tslint:enable */
|
|
72
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { type CompanySubscription } 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 subscriptions property of the microsoft.graph.directory entity.
|
|
5
|
+
*/
|
|
6
|
+
export interface CompanySubscriptionItemRequestBuilder extends BaseRequestBuilder<CompanySubscriptionItemRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Delete navigation property subscriptions for directory
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
11
|
+
*/
|
|
12
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
13
|
+
/**
|
|
14
|
+
* Get subscriptions from directory
|
|
15
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
+
* @returns {Promise<CompanySubscription>}
|
|
17
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
18
|
+
*/
|
|
19
|
+
get(requestConfiguration?: RequestConfiguration<CompanySubscriptionItemRequestBuilderGetQueryParameters> | undefined): Promise<CompanySubscription | undefined>;
|
|
20
|
+
/**
|
|
21
|
+
* Update the navigation property subscriptions in directory
|
|
22
|
+
* @param body The request body
|
|
23
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
24
|
+
* @returns {Promise<CompanySubscription>}
|
|
25
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
26
|
+
*/
|
|
27
|
+
patch(body: CompanySubscription, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CompanySubscription | undefined>;
|
|
28
|
+
/**
|
|
29
|
+
* Delete navigation property subscriptions for directory
|
|
30
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
31
|
+
* @returns {RequestInformation}
|
|
32
|
+
*/
|
|
33
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
34
|
+
/**
|
|
35
|
+
* Get subscriptions from directory
|
|
36
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
37
|
+
* @returns {RequestInformation}
|
|
38
|
+
*/
|
|
39
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CompanySubscriptionItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
40
|
+
/**
|
|
41
|
+
* Update the navigation property subscriptions in directory
|
|
42
|
+
* @param body The request body
|
|
43
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
44
|
+
* @returns {RequestInformation}
|
|
45
|
+
*/
|
|
46
|
+
toPatchRequestInformation(body: CompanySubscription, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Get subscriptions from directory
|
|
50
|
+
*/
|
|
51
|
+
export interface CompanySubscriptionItemRequestBuilderGetQueryParameters {
|
|
52
|
+
/**
|
|
53
|
+
* Expand related entities
|
|
54
|
+
*/
|
|
55
|
+
expand?: string[];
|
|
56
|
+
/**
|
|
57
|
+
* Select properties to be returned
|
|
58
|
+
*/
|
|
59
|
+
select?: string[];
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Uri template for the request builder.
|
|
63
|
+
*/
|
|
64
|
+
export declare const CompanySubscriptionItemRequestBuilderUriTemplate = "{+baseurl}/directory/subscriptions/{companySubscription%2Did}{?%24expand,%24select}";
|
|
65
|
+
/**
|
|
66
|
+
* Metadata for all the requests in the request builder.
|
|
67
|
+
*/
|
|
68
|
+
export declare const CompanySubscriptionItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
69
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAiF,KAAK,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAIzJ,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,qCAAsC,SAAQ,kBAAkB,CAAC,qCAAqC,CAAC;IACpH;;;;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,uDAAuD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,mBAAmB,GAAG,SAAS,CAAC,CAAC;IAClK;;;;;;OAMG;IACF,KAAK,CAAC,IAAI,EAAE,mBAAmB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,mBAAmB,GAAG,SAAS,CAAC,CAAC;IAC9I;;;;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,uDAAuD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAChK;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,mBAAmB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC/I;AACD;;GAEG;AACH,MAAM,WAAW,uDAAuD;IACpE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,gDAAgD,wFAAwF,CAAC;AAQtJ;;GAEG;AACH,eAAO,MAAM,qDAAqD,EAAE,gBA+BnE,CAAC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CompanySubscriptionItemRequestBuilderRequestsMetadata = exports.CompanySubscriptionItemRequestBuilderUriTemplate = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
// @ts-ignore
|
|
8
|
+
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
9
|
+
// @ts-ignore
|
|
10
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
11
|
+
/**
|
|
12
|
+
* Uri template for the request builder.
|
|
13
|
+
*/
|
|
14
|
+
exports.CompanySubscriptionItemRequestBuilderUriTemplate = "{+baseurl}/directory/subscriptions/{companySubscription%2Did}{?%24expand,%24select}";
|
|
15
|
+
/**
|
|
16
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
17
|
+
*/
|
|
18
|
+
const CompanySubscriptionItemRequestBuilderGetQueryParametersMapper = {
|
|
19
|
+
"expand": "%24expand",
|
|
20
|
+
"select": "%24select",
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Metadata for all the requests in the request builder.
|
|
24
|
+
*/
|
|
25
|
+
exports.CompanySubscriptionItemRequestBuilderRequestsMetadata = {
|
|
26
|
+
delete: {
|
|
27
|
+
uriTemplate: exports.CompanySubscriptionItemRequestBuilderUriTemplate,
|
|
28
|
+
responseBodyContentType: "application/json",
|
|
29
|
+
errorMappings: {
|
|
30
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
31
|
+
},
|
|
32
|
+
adapterMethodName: "sendNoResponseContent",
|
|
33
|
+
},
|
|
34
|
+
get: {
|
|
35
|
+
uriTemplate: exports.CompanySubscriptionItemRequestBuilderUriTemplate,
|
|
36
|
+
responseBodyContentType: "application/json",
|
|
37
|
+
errorMappings: {
|
|
38
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
39
|
+
},
|
|
40
|
+
adapterMethodName: "send",
|
|
41
|
+
responseBodyFactory: models_1.createCompanySubscriptionFromDiscriminatorValue,
|
|
42
|
+
queryParametersMapper: CompanySubscriptionItemRequestBuilderGetQueryParametersMapper,
|
|
43
|
+
},
|
|
44
|
+
patch: {
|
|
45
|
+
uriTemplate: exports.CompanySubscriptionItemRequestBuilderUriTemplate,
|
|
46
|
+
responseBodyContentType: "application/json",
|
|
47
|
+
errorMappings: {
|
|
48
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
49
|
+
},
|
|
50
|
+
adapterMethodName: "send",
|
|
51
|
+
responseBodyFactory: models_1.createCompanySubscriptionFromDiscriminatorValue,
|
|
52
|
+
requestBodyContentType: "application/json",
|
|
53
|
+
requestBodySerializer: models_1.serializeCompanySubscription,
|
|
54
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
55
|
+
},
|
|
56
|
+
};
|
|
57
|
+
/* tslint:enable */
|
|
58
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { type CompanySubscription } 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 subscriptions property of the microsoft.graph.directory entity.
|
|
5
|
+
*/
|
|
6
|
+
export interface SubscriptionsWithCommerceSubscriptionIdRequestBuilder extends BaseRequestBuilder<SubscriptionsWithCommerceSubscriptionIdRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Delete navigation property subscriptions for directory
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
11
|
+
*/
|
|
12
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
13
|
+
/**
|
|
14
|
+
* Get subscriptions from directory
|
|
15
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
+
* @returns {Promise<CompanySubscription>}
|
|
17
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
18
|
+
*/
|
|
19
|
+
get(requestConfiguration?: RequestConfiguration<SubscriptionsWithCommerceSubscriptionIdRequestBuilderGetQueryParameters> | undefined): Promise<CompanySubscription | undefined>;
|
|
20
|
+
/**
|
|
21
|
+
* Update the navigation property subscriptions in directory
|
|
22
|
+
* @param body The request body
|
|
23
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
24
|
+
* @returns {Promise<CompanySubscription>}
|
|
25
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
26
|
+
*/
|
|
27
|
+
patch(body: CompanySubscription, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CompanySubscription | undefined>;
|
|
28
|
+
/**
|
|
29
|
+
* Delete navigation property subscriptions for directory
|
|
30
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
31
|
+
* @returns {RequestInformation}
|
|
32
|
+
*/
|
|
33
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
34
|
+
/**
|
|
35
|
+
* Get subscriptions from directory
|
|
36
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
37
|
+
* @returns {RequestInformation}
|
|
38
|
+
*/
|
|
39
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<SubscriptionsWithCommerceSubscriptionIdRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
40
|
+
/**
|
|
41
|
+
* Update the navigation property subscriptions in directory
|
|
42
|
+
* @param body The request body
|
|
43
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
44
|
+
* @returns {RequestInformation}
|
|
45
|
+
*/
|
|
46
|
+
toPatchRequestInformation(body: CompanySubscription, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Get subscriptions from directory
|
|
50
|
+
*/
|
|
51
|
+
export interface SubscriptionsWithCommerceSubscriptionIdRequestBuilderGetQueryParameters {
|
|
52
|
+
/**
|
|
53
|
+
* Expand related entities
|
|
54
|
+
*/
|
|
55
|
+
expand?: string[];
|
|
56
|
+
/**
|
|
57
|
+
* Select properties to be returned
|
|
58
|
+
*/
|
|
59
|
+
select?: string[];
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Uri template for the request builder.
|
|
63
|
+
*/
|
|
64
|
+
export declare const SubscriptionsWithCommerceSubscriptionIdRequestBuilderUriTemplate = "{+baseurl}/directory/subscriptions(commerceSubscriptionId='{commerceSubscriptionId}'){?%24expand,%24select}";
|
|
65
|
+
/**
|
|
66
|
+
* Metadata for all the requests in the request builder.
|
|
67
|
+
*/
|
|
68
|
+
export declare const SubscriptionsWithCommerceSubscriptionIdRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
69
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAiF,KAAK,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAIzJ,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,qDAAsD,SAAQ,kBAAkB,CAAC,qDAAqD,CAAC;IACpJ;;;;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,uEAAuE,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,mBAAmB,GAAG,SAAS,CAAC,CAAC;IAClL;;;;;;OAMG;IACF,KAAK,CAAC,IAAI,EAAE,mBAAmB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,mBAAmB,GAAG,SAAS,CAAC,CAAC;IAC9I;;;;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,uEAAuE,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAChL;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,mBAAmB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC/I;AACD;;GAEG;AACH,MAAM,WAAW,uEAAuE;IACpF;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,gEAAgE,gHAAgH,CAAC;AAQ9L;;GAEG;AACH,eAAO,MAAM,qEAAqE,EAAE,gBA+BnF,CAAC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SubscriptionsWithCommerceSubscriptionIdRequestBuilderRequestsMetadata = exports.SubscriptionsWithCommerceSubscriptionIdRequestBuilderUriTemplate = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
// @ts-ignore
|
|
8
|
+
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
9
|
+
// @ts-ignore
|
|
10
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
11
|
+
/**
|
|
12
|
+
* Uri template for the request builder.
|
|
13
|
+
*/
|
|
14
|
+
exports.SubscriptionsWithCommerceSubscriptionIdRequestBuilderUriTemplate = "{+baseurl}/directory/subscriptions(commerceSubscriptionId='{commerceSubscriptionId}'){?%24expand,%24select}";
|
|
15
|
+
/**
|
|
16
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
17
|
+
*/
|
|
18
|
+
const SubscriptionsWithCommerceSubscriptionIdRequestBuilderGetQueryParametersMapper = {
|
|
19
|
+
"expand": "%24expand",
|
|
20
|
+
"select": "%24select",
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Metadata for all the requests in the request builder.
|
|
24
|
+
*/
|
|
25
|
+
exports.SubscriptionsWithCommerceSubscriptionIdRequestBuilderRequestsMetadata = {
|
|
26
|
+
delete: {
|
|
27
|
+
uriTemplate: exports.SubscriptionsWithCommerceSubscriptionIdRequestBuilderUriTemplate,
|
|
28
|
+
responseBodyContentType: "application/json",
|
|
29
|
+
errorMappings: {
|
|
30
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
31
|
+
},
|
|
32
|
+
adapterMethodName: "sendNoResponseContent",
|
|
33
|
+
},
|
|
34
|
+
get: {
|
|
35
|
+
uriTemplate: exports.SubscriptionsWithCommerceSubscriptionIdRequestBuilderUriTemplate,
|
|
36
|
+
responseBodyContentType: "application/json",
|
|
37
|
+
errorMappings: {
|
|
38
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
39
|
+
},
|
|
40
|
+
adapterMethodName: "send",
|
|
41
|
+
responseBodyFactory: models_1.createCompanySubscriptionFromDiscriminatorValue,
|
|
42
|
+
queryParametersMapper: SubscriptionsWithCommerceSubscriptionIdRequestBuilderGetQueryParametersMapper,
|
|
43
|
+
},
|
|
44
|
+
patch: {
|
|
45
|
+
uriTemplate: exports.SubscriptionsWithCommerceSubscriptionIdRequestBuilderUriTemplate,
|
|
46
|
+
responseBodyContentType: "application/json",
|
|
47
|
+
errorMappings: {
|
|
48
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
49
|
+
},
|
|
50
|
+
adapterMethodName: "send",
|
|
51
|
+
responseBodyFactory: models_1.createCompanySubscriptionFromDiscriminatorValue,
|
|
52
|
+
requestBodyContentType: "application/json",
|
|
53
|
+
requestBodySerializer: models_1.serializeCompanySubscription,
|
|
54
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
55
|
+
},
|
|
56
|
+
};
|
|
57
|
+
/* tslint:enable */
|
|
58
|
+
/* eslint-enable */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/msgraph-sdk-directory",
|
|
3
|
-
"version": "1.0.0-preview.
|
|
3
|
+
"version": "1.0.0-preview.21",
|
|
4
4
|
"description": "Directory fluent API for Microsoft Graph",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Microsoft",
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
"@microsoft/kiota-serialization-json": "^1.0.0-preview.39",
|
|
38
38
|
"@microsoft/kiota-serialization-multipart": "^1.0.0-preview.18",
|
|
39
39
|
"@microsoft/kiota-serialization-text": "^1.0.0-preview.36",
|
|
40
|
-
"@microsoft/msgraph-sdk": "^1.0.0-preview.
|
|
40
|
+
"@microsoft/msgraph-sdk": "^1.0.0-preview.21",
|
|
41
41
|
"guid-typescript": "^1.0.9",
|
|
42
42
|
"tslib": "^2.6.2"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"typescript": "^5.3.3"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "f03627411c44ca629630cfbc689f57141c6cb7c0"
|
|
48
48
|
}
|