@microsoft/msgraph-sdk-agreements 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/agreements/index.d.ts +66 -0
- package/agreements/index.d.ts.map +1 -0
- package/agreements/index.js +60 -0
- package/agreements/item/acceptances/count/index.d.ts +40 -0
- package/agreements/item/acceptances/count/index.d.ts.map +1 -0
- package/agreements/item/acceptances/count/index.js +35 -0
- package/agreements/item/acceptances/index.d.ts +96 -0
- package/agreements/item/acceptances/index.d.ts.map +1 -0
- package/agreements/item/acceptances/index.js +70 -0
- package/agreements/item/acceptances/item/index.d.ts +66 -0
- package/agreements/item/acceptances/item/index.d.ts.map +1 -0
- package/agreements/item/acceptances/item/index.js +56 -0
- package/agreements/item/file/index.d.ts +76 -0
- package/agreements/item/file/index.d.ts.map +1 -0
- package/agreements/item/file/index.js +67 -0
- package/agreements/item/file/localizations/count/index.d.ts +40 -0
- package/agreements/item/file/localizations/count/index.d.ts.map +1 -0
- package/agreements/item/file/localizations/count/index.js +35 -0
- package/agreements/item/file/localizations/index.d.ts +96 -0
- package/agreements/item/file/localizations/index.d.ts.map +1 -0
- package/agreements/item/file/localizations/index.js +71 -0
- package/agreements/item/file/localizations/item/index.d.ts +75 -0
- package/agreements/item/file/localizations/item/index.d.ts.map +1 -0
- package/agreements/item/file/localizations/item/index.js +67 -0
- package/agreements/item/file/localizations/item/versions/count/index.d.ts +40 -0
- package/agreements/item/file/localizations/item/versions/count/index.d.ts.map +1 -0
- package/agreements/item/file/localizations/item/versions/count/index.js +35 -0
- package/agreements/item/file/localizations/item/versions/index.d.ts +95 -0
- package/agreements/item/file/localizations/item/versions/index.d.ts.map +1 -0
- package/agreements/item/file/localizations/item/versions/index.js +70 -0
- package/agreements/item/file/localizations/item/versions/item/index.d.ts +66 -0
- package/agreements/item/file/localizations/item/versions/item/index.d.ts.map +1 -0
- package/agreements/item/file/localizations/item/versions/item/index.js +56 -0
- package/agreements/item/files/count/index.d.ts +40 -0
- package/agreements/item/files/count/index.d.ts.map +1 -0
- package/agreements/item/files/count/index.js +35 -0
- package/agreements/item/files/index.d.ts +96 -0
- package/agreements/item/files/index.d.ts.map +1 -0
- package/agreements/item/files/index.js +71 -0
- package/agreements/item/files/item/index.d.ts +75 -0
- package/agreements/item/files/item/index.d.ts.map +1 -0
- package/agreements/item/files/item/index.js +67 -0
- package/agreements/item/files/item/versions/count/index.d.ts +40 -0
- package/agreements/item/files/item/versions/count/index.d.ts.map +1 -0
- package/agreements/item/files/item/versions/count/index.js +35 -0
- package/agreements/item/files/item/versions/index.d.ts +95 -0
- package/agreements/item/files/item/versions/index.d.ts.map +1 -0
- package/agreements/item/files/item/versions/index.js +70 -0
- package/agreements/item/files/item/versions/item/index.d.ts +66 -0
- package/agreements/item/files/item/versions/item/index.d.ts.map +1 -0
- package/agreements/item/files/item/versions/item/index.js +56 -0
- package/agreements/item/index.d.ts +81 -0
- package/agreements/item/index.d.ts.map +1 -0
- package/agreements/item/index.js +78 -0
- package/agreementsServiceClient.d.ts +25 -0
- package/agreementsServiceClient.d.ts.map +1 -0
- package/agreementsServiceClient.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,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}/agreements/{agreement%2Did}/files/{agreementFileLocalization%2Did}/versions/$count{?%24search,%24filter}";
|
|
34
|
+
/* tslint:enable */
|
|
35
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { type AgreementFileVersion, type AgreementFileVersionCollectionResponse } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type CountRequestBuilder } from './count/';
|
|
3
|
+
import { type AgreementFileVersionItemRequestBuilder } 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 versions property of the microsoft.graph.agreementFileLocalization entity.
|
|
7
|
+
*/
|
|
8
|
+
export interface VersionsRequestBuilder extends BaseRequestBuilder<VersionsRequestBuilder> {
|
|
9
|
+
/**
|
|
10
|
+
* Provides operations to count the resources in the collection.
|
|
11
|
+
*/
|
|
12
|
+
get count(): CountRequestBuilder;
|
|
13
|
+
/**
|
|
14
|
+
* Provides operations to manage the versions property of the microsoft.graph.agreementFileLocalization entity.
|
|
15
|
+
* @param agreementFileVersionId The unique identifier of agreementFileVersion
|
|
16
|
+
* @returns a AgreementFileVersionItemRequestBuilder
|
|
17
|
+
*/
|
|
18
|
+
byAgreementFileVersionId(agreementFileVersionId: string): AgreementFileVersionItemRequestBuilder;
|
|
19
|
+
/**
|
|
20
|
+
* Read-only. Customized versions of the terms of use agreement in the Microsoft Entra tenant.
|
|
21
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
|
+
* @returns a Promise of AgreementFileVersionCollectionResponse
|
|
23
|
+
*/
|
|
24
|
+
get(requestConfiguration?: RequestConfiguration<VersionsRequestBuilderGetQueryParameters> | undefined): Promise<AgreementFileVersionCollectionResponse | undefined>;
|
|
25
|
+
/**
|
|
26
|
+
* Create new navigation property to versions for agreements
|
|
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 AgreementFileVersion
|
|
30
|
+
*/
|
|
31
|
+
post(body: AgreementFileVersion, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AgreementFileVersion | undefined>;
|
|
32
|
+
/**
|
|
33
|
+
* Read-only. Customized versions of the terms of use agreement in the Microsoft Entra tenant.
|
|
34
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
35
|
+
* @returns a RequestInformation
|
|
36
|
+
*/
|
|
37
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<VersionsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
38
|
+
/**
|
|
39
|
+
* Create new navigation property to versions for agreements
|
|
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: AgreementFileVersion, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Read-only. Customized versions of the terms of use agreement in the Microsoft Entra tenant.
|
|
48
|
+
*/
|
|
49
|
+
export interface VersionsRequestBuilderGetQueryParameters {
|
|
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 VersionsRequestBuilderNavigationMetadata: Record<Exclude<keyof VersionsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
87
|
+
/**
|
|
88
|
+
* Metadata for all the requests in the request builder.
|
|
89
|
+
*/
|
|
90
|
+
export declare const VersionsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
91
|
+
/**
|
|
92
|
+
* Uri template for the request builder.
|
|
93
|
+
*/
|
|
94
|
+
export declare const VersionsRequestBuilderUriTemplate = "{+baseurl}/agreements/{agreement%2Did}/files/{agreementFileLocalization%2Did}/versions{?%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,EAAuJ,KAAK,oBAAoB,EAAE,KAAK,sCAAsC,EAAE,MAAM,gCAAgC,CAAC;AAE7Q,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAA6G,KAAK,sCAAsC,EAAE,MAAM,SAAS,CAAC;AACjL,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,sBAAuB,SAAQ,kBAAkB,CAAC,sBAAsB,CAAC;IACtF;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,wBAAwB,CAAC,sBAAsB,EAAE,MAAM,GAAI,sCAAsC,CAAC;IACnG;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,wCAAwC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,sCAAsC,GAAG,SAAS,CAAC,CAAC;IACtK;;;;;OAKG;IACF,IAAI,CAAC,IAAI,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,oBAAoB,GAAG,SAAS,CAAC,CAAC;IAC/I;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,wCAAwC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACjJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC/I;AACD;;GAEG;AACH,MAAM,WAAW,wCAAwC;IACrD;;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,wCAAwC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,sBAAsB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAU1J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,gBAuBpD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,iCAAiC,wKAAwK,CAAC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VersionsRequestBuilderUriTemplate = exports.VersionsRequestBuilderRequestsMetadata = exports.VersionsRequestBuilderNavigationMetadata = 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
|
+
const item_1 = require("./item/");
|
|
11
|
+
/**
|
|
12
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
13
|
+
*/
|
|
14
|
+
const VersionsRequestBuilderGetQueryParametersMapper = {
|
|
15
|
+
"count": "%24count",
|
|
16
|
+
"expand": "%24expand",
|
|
17
|
+
"filter": "%24filter",
|
|
18
|
+
"orderby": "%24orderby",
|
|
19
|
+
"search": "%24search",
|
|
20
|
+
"select": "%24select",
|
|
21
|
+
"skip": "%24skip",
|
|
22
|
+
"top": "%24top",
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Metadata for all the navigation properties in the request builder.
|
|
26
|
+
*/
|
|
27
|
+
exports.VersionsRequestBuilderNavigationMetadata = {
|
|
28
|
+
byAgreementFileVersionId: {
|
|
29
|
+
uriTemplate: item_1.AgreementFileVersionItemRequestBuilderUriTemplate,
|
|
30
|
+
requestsMetadata: item_1.AgreementFileVersionItemRequestBuilderRequestsMetadata,
|
|
31
|
+
pathParametersMappings: ["agreementFileVersion%2Did"],
|
|
32
|
+
},
|
|
33
|
+
count: {
|
|
34
|
+
uriTemplate: count_1.CountRequestBuilderUriTemplate,
|
|
35
|
+
requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Metadata for all the requests in the request builder.
|
|
40
|
+
*/
|
|
41
|
+
exports.VersionsRequestBuilderRequestsMetadata = {
|
|
42
|
+
get: {
|
|
43
|
+
responseBodyContentType: "application/json",
|
|
44
|
+
errorMappings: {
|
|
45
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
46
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
47
|
+
},
|
|
48
|
+
adapterMethodName: "sendAsync",
|
|
49
|
+
responseBodyFactory: models_1.createAgreementFileVersionCollectionResponseFromDiscriminatorValue,
|
|
50
|
+
queryParametersMapper: VersionsRequestBuilderGetQueryParametersMapper,
|
|
51
|
+
},
|
|
52
|
+
post: {
|
|
53
|
+
responseBodyContentType: "application/json",
|
|
54
|
+
errorMappings: {
|
|
55
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
56
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
57
|
+
},
|
|
58
|
+
adapterMethodName: "sendAsync",
|
|
59
|
+
responseBodyFactory: models_1.createAgreementFileVersionFromDiscriminatorValue,
|
|
60
|
+
requestBodyContentType: "application/json",
|
|
61
|
+
requestBodySerializer: models_1.serializeAgreementFileVersion,
|
|
62
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* Uri template for the request builder.
|
|
67
|
+
*/
|
|
68
|
+
exports.VersionsRequestBuilderUriTemplate = "{+baseurl}/agreements/{agreement%2Did}/files/{agreementFileLocalization%2Did}/versions{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
69
|
+
/* tslint:enable */
|
|
70
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { type AgreementFileVersion } 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 versions property of the microsoft.graph.agreementFileLocalization entity.
|
|
5
|
+
*/
|
|
6
|
+
export interface AgreementFileVersionItemRequestBuilder extends BaseRequestBuilder<AgreementFileVersionItemRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Delete navigation property versions for agreements
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
*/
|
|
11
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
12
|
+
/**
|
|
13
|
+
* Read-only. Customized versions of the terms of use agreement in the Microsoft Entra tenant.
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @returns a Promise of AgreementFileVersion
|
|
16
|
+
*/
|
|
17
|
+
get(requestConfiguration?: RequestConfiguration<AgreementFileVersionItemRequestBuilderGetQueryParameters> | undefined): Promise<AgreementFileVersion | undefined>;
|
|
18
|
+
/**
|
|
19
|
+
* Update the navigation property versions in agreements
|
|
20
|
+
* @param body The request body
|
|
21
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
|
+
* @returns a Promise of AgreementFileVersion
|
|
23
|
+
*/
|
|
24
|
+
patch(body: AgreementFileVersion, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AgreementFileVersion | undefined>;
|
|
25
|
+
/**
|
|
26
|
+
* Delete navigation property versions for agreements
|
|
27
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
28
|
+
* @returns a RequestInformation
|
|
29
|
+
*/
|
|
30
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
31
|
+
/**
|
|
32
|
+
* Read-only. Customized versions of the terms of use agreement in the Microsoft Entra tenant.
|
|
33
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
34
|
+
* @returns a RequestInformation
|
|
35
|
+
*/
|
|
36
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<AgreementFileVersionItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
37
|
+
/**
|
|
38
|
+
* Update the navigation property versions in agreements
|
|
39
|
+
* @param body The request body
|
|
40
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
41
|
+
* @returns a RequestInformation
|
|
42
|
+
*/
|
|
43
|
+
toPatchRequestInformation(body: AgreementFileVersion, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Read-only. Customized versions of the terms of use agreement in the Microsoft Entra tenant.
|
|
47
|
+
*/
|
|
48
|
+
export interface AgreementFileVersionItemRequestBuilderGetQueryParameters {
|
|
49
|
+
/**
|
|
50
|
+
* Expand related entities
|
|
51
|
+
*/
|
|
52
|
+
expand?: string[];
|
|
53
|
+
/**
|
|
54
|
+
* Select properties to be returned
|
|
55
|
+
*/
|
|
56
|
+
select?: string[];
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Metadata for all the requests in the request builder.
|
|
60
|
+
*/
|
|
61
|
+
export declare const AgreementFileVersionItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
62
|
+
/**
|
|
63
|
+
* Uri template for the request builder.
|
|
64
|
+
*/
|
|
65
|
+
export declare const AgreementFileVersionItemRequestBuilderUriTemplate = "{+baseurl}/agreements/{agreement%2Did}/files/{agreementFileLocalization%2Did}/versions/{agreementFileVersion%2Did}{?%24select,%24expand}";
|
|
66
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAmF,KAAK,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAE5J,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,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,wDAAwD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,oBAAoB,GAAG,SAAS,CAAC,CAAC;IACpK;;;;;OAKG;IACF,KAAK,CAAC,IAAI,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,oBAAoB,GAAG,SAAS,CAAC,CAAC;IAChJ;;;;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,wDAAwD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACjK;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAChJ;AACD;;GAEG;AACH,MAAM,WAAW,wDAAwD;IACrE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,sDAAsD,EAAE,gBA+BpE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,iDAAiD,6IAA6I,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AgreementFileVersionItemRequestBuilderUriTemplate = exports.AgreementFileVersionItemRequestBuilderRequestsMetadata = 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 AgreementFileVersionItemRequestBuilderGetQueryParametersMapper = {
|
|
13
|
+
"expand": "%24expand",
|
|
14
|
+
"select": "%24select",
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Metadata for all the requests in the request builder.
|
|
18
|
+
*/
|
|
19
|
+
exports.AgreementFileVersionItemRequestBuilderRequestsMetadata = {
|
|
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.createAgreementFileVersionFromDiscriminatorValue,
|
|
36
|
+
queryParametersMapper: AgreementFileVersionItemRequestBuilderGetQueryParametersMapper,
|
|
37
|
+
},
|
|
38
|
+
patch: {
|
|
39
|
+
responseBodyContentType: "application/json",
|
|
40
|
+
errorMappings: {
|
|
41
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
42
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
43
|
+
},
|
|
44
|
+
adapterMethodName: "sendAsync",
|
|
45
|
+
responseBodyFactory: models_1.createAgreementFileVersionFromDiscriminatorValue,
|
|
46
|
+
requestBodyContentType: "application/json",
|
|
47
|
+
requestBodySerializer: models_1.serializeAgreementFileVersion,
|
|
48
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
49
|
+
},
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Uri template for the request builder.
|
|
53
|
+
*/
|
|
54
|
+
exports.AgreementFileVersionItemRequestBuilderUriTemplate = "{+baseurl}/agreements/{agreement%2Did}/files/{agreementFileLocalization%2Did}/versions/{agreementFileVersion%2Did}{?%24select,%24expand}";
|
|
55
|
+
/* tslint:enable */
|
|
56
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { type Agreement } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type AcceptancesRequestBuilder } from './acceptances/';
|
|
3
|
+
import { type FileRequestBuilder } from './file/';
|
|
4
|
+
import { type FilesRequestBuilder } from './files/';
|
|
5
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
6
|
+
/**
|
|
7
|
+
* Provides operations to manage the collection of agreement entities.
|
|
8
|
+
*/
|
|
9
|
+
export interface AgreementItemRequestBuilder extends BaseRequestBuilder<AgreementItemRequestBuilder> {
|
|
10
|
+
/**
|
|
11
|
+
* Provides operations to manage the acceptances property of the microsoft.graph.agreement entity.
|
|
12
|
+
*/
|
|
13
|
+
get acceptances(): AcceptancesRequestBuilder;
|
|
14
|
+
/**
|
|
15
|
+
* Provides operations to manage the file property of the microsoft.graph.agreement entity.
|
|
16
|
+
*/
|
|
17
|
+
get file(): FileRequestBuilder;
|
|
18
|
+
/**
|
|
19
|
+
* Provides operations to manage the files property of the microsoft.graph.agreement entity.
|
|
20
|
+
*/
|
|
21
|
+
get files(): FilesRequestBuilder;
|
|
22
|
+
/**
|
|
23
|
+
* Delete entity from agreements
|
|
24
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
25
|
+
*/
|
|
26
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
27
|
+
/**
|
|
28
|
+
* Get entity from agreements by key
|
|
29
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
30
|
+
* @returns a Promise of Agreement
|
|
31
|
+
*/
|
|
32
|
+
get(requestConfiguration?: RequestConfiguration<AgreementItemRequestBuilderGetQueryParameters> | undefined): Promise<Agreement | undefined>;
|
|
33
|
+
/**
|
|
34
|
+
* Update entity in agreements
|
|
35
|
+
* @param body The request body
|
|
36
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
37
|
+
* @returns a Promise of Agreement
|
|
38
|
+
*/
|
|
39
|
+
patch(body: Agreement, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Agreement | undefined>;
|
|
40
|
+
/**
|
|
41
|
+
* Delete entity from agreements
|
|
42
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
43
|
+
* @returns a RequestInformation
|
|
44
|
+
*/
|
|
45
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
46
|
+
/**
|
|
47
|
+
* Get entity from agreements by key
|
|
48
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
49
|
+
* @returns a RequestInformation
|
|
50
|
+
*/
|
|
51
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<AgreementItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
52
|
+
/**
|
|
53
|
+
* Update entity in agreements
|
|
54
|
+
* @param body The request body
|
|
55
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
56
|
+
* @returns a RequestInformation
|
|
57
|
+
*/
|
|
58
|
+
toPatchRequestInformation(body: Agreement, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Get entity from agreements by key
|
|
62
|
+
*/
|
|
63
|
+
export interface AgreementItemRequestBuilderGetQueryParameters {
|
|
64
|
+
/**
|
|
65
|
+
* Select properties to be returned
|
|
66
|
+
*/
|
|
67
|
+
select?: string[];
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Metadata for all the navigation properties in the request builder.
|
|
71
|
+
*/
|
|
72
|
+
export declare const AgreementItemRequestBuilderNavigationMetadata: Record<Exclude<keyof AgreementItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
73
|
+
/**
|
|
74
|
+
* Metadata for all the requests in the request builder.
|
|
75
|
+
*/
|
|
76
|
+
export declare const AgreementItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
77
|
+
/**
|
|
78
|
+
* Uri template for the request builder.
|
|
79
|
+
*/
|
|
80
|
+
export declare const AgreementItemRequestBuilderUriTemplate = "{+baseurl}/agreements/{agreement%2Did}{?%24select}";
|
|
81
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA6D,KAAK,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAE3H,OAAO,EAAgI,KAAK,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAC9L,OAAO,EAA2G,KAAK,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAC3J,OAAO,EAA8G,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAChK,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,WAAW,IAAI,yBAAyB,CAAC;IAC7C;;OAEG;IACH,IAAI,IAAI,IAAI,kBAAkB,CAAC;IAC/B;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;OAGG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,6CAA6C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,SAAS,GAAG,SAAS,CAAC,CAAC;IAC9I;;;;;OAKG;IACF,KAAK,CAAC,IAAI,EAAE,SAAS,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,SAAS,GAAG,SAAS,CAAC,CAAC;IAC1H;;;;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,6CAA6C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACtJ;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,SAAS,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACrI;AACD;;GAEG;AACH,MAAM,WAAW,6CAA6C;IAC1D;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAOD;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,2BAA2B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAgBpK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,2CAA2C,EAAE,gBA+BzD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,sCAAsC,uDAAuD,CAAC"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AgreementItemRequestBuilderUriTemplate = exports.AgreementItemRequestBuilderRequestsMetadata = exports.AgreementItemRequestBuilderNavigationMetadata = 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 acceptances_1 = require("./acceptances/");
|
|
10
|
+
const file_1 = require("./file/");
|
|
11
|
+
const files_1 = require("./files/");
|
|
12
|
+
/**
|
|
13
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
14
|
+
*/
|
|
15
|
+
const AgreementItemRequestBuilderGetQueryParametersMapper = {
|
|
16
|
+
"select": "%24select",
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Metadata for all the navigation properties in the request builder.
|
|
20
|
+
*/
|
|
21
|
+
exports.AgreementItemRequestBuilderNavigationMetadata = {
|
|
22
|
+
acceptances: {
|
|
23
|
+
uriTemplate: acceptances_1.AcceptancesRequestBuilderUriTemplate,
|
|
24
|
+
requestsMetadata: acceptances_1.AcceptancesRequestBuilderRequestsMetadata,
|
|
25
|
+
navigationMetadata: acceptances_1.AcceptancesRequestBuilderNavigationMetadata,
|
|
26
|
+
},
|
|
27
|
+
file: {
|
|
28
|
+
uriTemplate: file_1.FileRequestBuilderUriTemplate,
|
|
29
|
+
requestsMetadata: file_1.FileRequestBuilderRequestsMetadata,
|
|
30
|
+
navigationMetadata: file_1.FileRequestBuilderNavigationMetadata,
|
|
31
|
+
},
|
|
32
|
+
files: {
|
|
33
|
+
uriTemplate: files_1.FilesRequestBuilderUriTemplate,
|
|
34
|
+
requestsMetadata: files_1.FilesRequestBuilderRequestsMetadata,
|
|
35
|
+
navigationMetadata: files_1.FilesRequestBuilderNavigationMetadata,
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Metadata for all the requests in the request builder.
|
|
40
|
+
*/
|
|
41
|
+
exports.AgreementItemRequestBuilderRequestsMetadata = {
|
|
42
|
+
delete: {
|
|
43
|
+
responseBodyContentType: "application/json",
|
|
44
|
+
errorMappings: {
|
|
45
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
46
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
47
|
+
},
|
|
48
|
+
adapterMethodName: "sendNoResponseContentAsync",
|
|
49
|
+
},
|
|
50
|
+
get: {
|
|
51
|
+
responseBodyContentType: "application/json",
|
|
52
|
+
errorMappings: {
|
|
53
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
54
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
55
|
+
},
|
|
56
|
+
adapterMethodName: "sendAsync",
|
|
57
|
+
responseBodyFactory: models_1.createAgreementFromDiscriminatorValue,
|
|
58
|
+
queryParametersMapper: AgreementItemRequestBuilderGetQueryParametersMapper,
|
|
59
|
+
},
|
|
60
|
+
patch: {
|
|
61
|
+
responseBodyContentType: "application/json",
|
|
62
|
+
errorMappings: {
|
|
63
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
64
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
65
|
+
},
|
|
66
|
+
adapterMethodName: "sendAsync",
|
|
67
|
+
responseBodyFactory: models_1.createAgreementFromDiscriminatorValue,
|
|
68
|
+
requestBodyContentType: "application/json",
|
|
69
|
+
requestBodySerializer: models_1.serializeAgreement,
|
|
70
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
71
|
+
},
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* Uri template for the request builder.
|
|
75
|
+
*/
|
|
76
|
+
exports.AgreementItemRequestBuilderUriTemplate = "{+baseurl}/agreements/{agreement%2Did}{?%24select}";
|
|
77
|
+
/* tslint:enable */
|
|
78
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { type AgreementsRequestBuilder } from './agreements/';
|
|
2
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestAdapter } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* The main entry point of the SDK, exposes the configuration and the fluent API.
|
|
5
|
+
*/
|
|
6
|
+
export interface AgreementsServiceClient extends BaseRequestBuilder<AgreementsServiceClient> {
|
|
7
|
+
/**
|
|
8
|
+
* Provides operations to manage the collection of agreement entities.
|
|
9
|
+
*/
|
|
10
|
+
get agreements(): AgreementsRequestBuilder;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Instantiates a new AgreementsServiceClient and sets the default values.
|
|
14
|
+
* @param requestAdapter The request adapter to use to execute the requests.
|
|
15
|
+
*/
|
|
16
|
+
export declare function createAgreementsServiceClient(requestAdapter: RequestAdapter): AgreementsServiceClient;
|
|
17
|
+
/**
|
|
18
|
+
* Metadata for all the navigation properties in the request builder.
|
|
19
|
+
*/
|
|
20
|
+
export declare const AgreementsServiceClientNavigationMetadata: Record<Exclude<keyof AgreementsServiceClient, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
21
|
+
/**
|
|
22
|
+
* Uri template for the request builder.
|
|
23
|
+
*/
|
|
24
|
+
export declare const AgreementsServiceClientUriTemplate = "{+baseurl}";
|
|
25
|
+
//# sourceMappingURL=agreementsServiceClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agreementsServiceClient.d.ts","sourceRoot":"","sources":["agreementsServiceClient.ts"],"names":[],"mappings":"AAGA,OAAO,EAA6H,KAAK,wBAAwB,EAAE,MAAM,eAAe,CAAC;AACzL,OAAO,EAA8E,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,KAAK,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAM3O;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,kBAAkB,CAAC,uBAAuB,CAAC;IACxF;;OAEG;IACH,IAAI,UAAU,IAAI,wBAAwB,CAAC;CAC9C;AACD;;;GAGG;AACH,wBAAgB,6BAA6B,CAAC,cAAc,EAAE,cAAc,2BAe3E;AACD;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,uBAAuB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAM5J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,kCAAkC,eAAe,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AgreementsServiceClientUriTemplate = exports.AgreementsServiceClientNavigationMetadata = exports.createAgreementsServiceClient = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const agreements_1 = require("./agreements/");
|
|
8
|
+
const kiota_abstractions_1 = require("@microsoft/kiota-abstractions");
|
|
9
|
+
const kiota_serialization_form_1 = require("@microsoft/kiota-serialization-form");
|
|
10
|
+
const kiota_serialization_json_1 = require("@microsoft/kiota-serialization-json");
|
|
11
|
+
const kiota_serialization_multipart_1 = require("@microsoft/kiota-serialization-multipart");
|
|
12
|
+
const kiota_serialization_text_1 = require("@microsoft/kiota-serialization-text");
|
|
13
|
+
/**
|
|
14
|
+
* Instantiates a new AgreementsServiceClient and sets the default values.
|
|
15
|
+
* @param requestAdapter The request adapter to use to execute the requests.
|
|
16
|
+
*/
|
|
17
|
+
function createAgreementsServiceClient(requestAdapter) {
|
|
18
|
+
(0, kiota_abstractions_1.registerDefaultSerializer)(kiota_serialization_json_1.JsonSerializationWriterFactory);
|
|
19
|
+
(0, kiota_abstractions_1.registerDefaultSerializer)(kiota_serialization_text_1.TextSerializationWriterFactory);
|
|
20
|
+
(0, kiota_abstractions_1.registerDefaultSerializer)(kiota_serialization_form_1.FormSerializationWriterFactory);
|
|
21
|
+
(0, kiota_abstractions_1.registerDefaultSerializer)(kiota_serialization_multipart_1.MultipartSerializationWriterFactory);
|
|
22
|
+
(0, kiota_abstractions_1.registerDefaultDeserializer)(kiota_serialization_json_1.JsonParseNodeFactory);
|
|
23
|
+
(0, kiota_abstractions_1.registerDefaultDeserializer)(kiota_serialization_text_1.TextParseNodeFactory);
|
|
24
|
+
(0, kiota_abstractions_1.registerDefaultDeserializer)(kiota_serialization_form_1.FormParseNodeFactory);
|
|
25
|
+
if (requestAdapter.baseUrl === undefined || requestAdapter.baseUrl === "") {
|
|
26
|
+
requestAdapter.baseUrl = "https://graph.microsoft.com/v1.0";
|
|
27
|
+
}
|
|
28
|
+
const pathParameters = {
|
|
29
|
+
"baseurl": requestAdapter.baseUrl,
|
|
30
|
+
};
|
|
31
|
+
return (0, kiota_abstractions_1.apiClientProxifier)(requestAdapter, pathParameters, exports.AgreementsServiceClientUriTemplate, exports.AgreementsServiceClientNavigationMetadata, undefined);
|
|
32
|
+
}
|
|
33
|
+
exports.createAgreementsServiceClient = createAgreementsServiceClient;
|
|
34
|
+
/**
|
|
35
|
+
* Metadata for all the navigation properties in the request builder.
|
|
36
|
+
*/
|
|
37
|
+
exports.AgreementsServiceClientNavigationMetadata = {
|
|
38
|
+
agreements: {
|
|
39
|
+
uriTemplate: agreements_1.AgreementsRequestBuilderUriTemplate,
|
|
40
|
+
requestsMetadata: agreements_1.AgreementsRequestBuilderRequestsMetadata,
|
|
41
|
+
navigationMetadata: agreements_1.AgreementsRequestBuilderNavigationMetadata,
|
|
42
|
+
},
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* Uri template for the request builder.
|
|
46
|
+
*/
|
|
47
|
+
exports.AgreementsServiceClientUriTemplate = "{+baseurl}";
|
|
48
|
+
/* tslint:enable */
|
|
49
|
+
/* eslint-enable */
|
package/index.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { AgreementsRequestBuilder } from "./agreements";
|
|
2
|
+
declare module "@microsoft/msgraph-sdk" {
|
|
3
|
+
interface GraphServiceClient {
|
|
4
|
+
/**
|
|
5
|
+
* Provides operations to manage the agreements singleton.
|
|
6
|
+
*/
|
|
7
|
+
get agreements(): AgreementsRequestBuilder;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export * from "./agreementsServiceClient";
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
package/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAC;AAG7D,OAAO,QAAQ,wBAAwB,CAAC;IACtC,UAAU,kBAAkB;QAC1B;;WAEG;QACH,IAAI,UAAU,IAAI,wBAAwB,CAAC;KAC5C;CACF;AAED,cAAc,2BAA2B,CAAC"}
|
package/index.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
const msgraph_sdk_1 = require("@microsoft/msgraph-sdk");
|
|
18
|
+
const agreementsServiceClient_1 = require("./agreementsServiceClient");
|
|
19
|
+
(0, msgraph_sdk_1.extendGraphServiceClient)(agreementsServiceClient_1.AgreementsServiceClientNavigationMetadata);
|
|
20
|
+
__exportStar(require("./agreementsServiceClient"), exports);
|