@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,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}/file/localizations/{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}/file/localizations/{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,0JAA0J,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}/file/localizations/{agreementFileLocalization%2Did}/versions/{agreementFileVersion%2Did}{?%24select,%24expand}";
|
|
55
|
+
/* tslint:enable */
|
|
56
|
+
/* 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}/agreements/{agreement%2Did}/files/$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,8EAA8E,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}/agreements/{agreement%2Did}/files/$count{?%24search,%24filter}";
|
|
34
|
+
/* tslint:enable */
|
|
35
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { type AgreementFileLocalization, type AgreementFileLocalizationCollectionResponse } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type CountRequestBuilder } from './count/';
|
|
3
|
+
import { type AgreementFileLocalizationItemRequestBuilder } 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 files property of the microsoft.graph.agreement entity.
|
|
7
|
+
*/
|
|
8
|
+
export interface FilesRequestBuilder extends BaseRequestBuilder<FilesRequestBuilder> {
|
|
9
|
+
/**
|
|
10
|
+
* Provides operations to count the resources in the collection.
|
|
11
|
+
*/
|
|
12
|
+
get count(): CountRequestBuilder;
|
|
13
|
+
/**
|
|
14
|
+
* Provides operations to manage the files property of the microsoft.graph.agreement entity.
|
|
15
|
+
* @param agreementFileLocalizationId The unique identifier of agreementFileLocalization
|
|
16
|
+
* @returns a AgreementFileLocalizationItemRequestBuilder
|
|
17
|
+
*/
|
|
18
|
+
byAgreementFileLocalizationId(agreementFileLocalizationId: string): AgreementFileLocalizationItemRequestBuilder;
|
|
19
|
+
/**
|
|
20
|
+
* PDFs linked to this agreement. This property is in the process of being deprecated. Use the file property instead. Supports $expand.
|
|
21
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
|
+
* @returns a Promise of AgreementFileLocalizationCollectionResponse
|
|
23
|
+
*/
|
|
24
|
+
get(requestConfiguration?: RequestConfiguration<FilesRequestBuilderGetQueryParameters> | undefined): Promise<AgreementFileLocalizationCollectionResponse | undefined>;
|
|
25
|
+
/**
|
|
26
|
+
* Create a new localized agreement file.
|
|
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 AgreementFileLocalization
|
|
30
|
+
* @see {@link https://learn.microsoft.com/graph/api/agreement-post-files?view=graph-rest-1.0|Find more info here}
|
|
31
|
+
*/
|
|
32
|
+
post(body: AgreementFileLocalization, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AgreementFileLocalization | undefined>;
|
|
33
|
+
/**
|
|
34
|
+
* PDFs linked to this agreement. This property is in the process of being deprecated. Use the file property instead. Supports $expand.
|
|
35
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
36
|
+
* @returns a RequestInformation
|
|
37
|
+
*/
|
|
38
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<FilesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
39
|
+
/**
|
|
40
|
+
* Create a new localized agreement file.
|
|
41
|
+
* @param body The request body
|
|
42
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
43
|
+
* @returns a RequestInformation
|
|
44
|
+
*/
|
|
45
|
+
toPostRequestInformation(body: AgreementFileLocalization, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* PDFs linked to this agreement. This property is in the process of being deprecated. Use the file property instead. Supports $expand.
|
|
49
|
+
*/
|
|
50
|
+
export interface FilesRequestBuilderGetQueryParameters {
|
|
51
|
+
/**
|
|
52
|
+
* Include count of items
|
|
53
|
+
*/
|
|
54
|
+
count?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Expand related entities
|
|
57
|
+
*/
|
|
58
|
+
expand?: string[];
|
|
59
|
+
/**
|
|
60
|
+
* Filter items by property values
|
|
61
|
+
*/
|
|
62
|
+
filter?: string;
|
|
63
|
+
/**
|
|
64
|
+
* Order items by property values
|
|
65
|
+
*/
|
|
66
|
+
orderby?: string[];
|
|
67
|
+
/**
|
|
68
|
+
* Search items by search phrases
|
|
69
|
+
*/
|
|
70
|
+
search?: string;
|
|
71
|
+
/**
|
|
72
|
+
* Select properties to be returned
|
|
73
|
+
*/
|
|
74
|
+
select?: string[];
|
|
75
|
+
/**
|
|
76
|
+
* Skip the first n items
|
|
77
|
+
*/
|
|
78
|
+
skip?: number;
|
|
79
|
+
/**
|
|
80
|
+
* Show only the first n items
|
|
81
|
+
*/
|
|
82
|
+
top?: number;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Metadata for all the navigation properties in the request builder.
|
|
86
|
+
*/
|
|
87
|
+
export declare const FilesRequestBuilderNavigationMetadata: Record<Exclude<keyof FilesRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
88
|
+
/**
|
|
89
|
+
* Metadata for all the requests in the request builder.
|
|
90
|
+
*/
|
|
91
|
+
export declare const FilesRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
92
|
+
/**
|
|
93
|
+
* Uri template for the request builder.
|
|
94
|
+
*/
|
|
95
|
+
export declare const FilesRequestBuilderUriTemplate = "{+baseurl}/agreements/{agreement%2Did}/files{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
96
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAsK,KAAK,yBAAyB,EAAE,KAAK,2CAA2C,EAAE,MAAM,gCAAgC,CAAC;AAEtS,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAAsL,KAAK,2CAA2C,EAAE,MAAM,SAAS,CAAC;AAC/P,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,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,6BAA6B,CAAC,2BAA2B,EAAE,MAAM,GAAI,2CAA2C,CAAC;IAClH;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,2CAA2C,GAAG,SAAS,CAAC,CAAC;IACxK;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,yBAAyB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,yBAAyB,GAAG,SAAS,CAAC,CAAC;IACzJ;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC9I;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,yBAAyB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACpJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;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,qCAAqC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,mBAAmB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAWpJ,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAuBjD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8BAA8B,8HAA8H,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FilesRequestBuilderUriTemplate = exports.FilesRequestBuilderRequestsMetadata = exports.FilesRequestBuilderNavigationMetadata = 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 FilesRequestBuilderGetQueryParametersMapper = {
|
|
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.FilesRequestBuilderNavigationMetadata = {
|
|
28
|
+
byAgreementFileLocalizationId: {
|
|
29
|
+
uriTemplate: item_1.AgreementFileLocalizationItemRequestBuilderUriTemplate,
|
|
30
|
+
requestsMetadata: item_1.AgreementFileLocalizationItemRequestBuilderRequestsMetadata,
|
|
31
|
+
navigationMetadata: item_1.AgreementFileLocalizationItemRequestBuilderNavigationMetadata,
|
|
32
|
+
pathParametersMappings: ["agreementFileLocalization%2Did"],
|
|
33
|
+
},
|
|
34
|
+
count: {
|
|
35
|
+
uriTemplate: count_1.CountRequestBuilderUriTemplate,
|
|
36
|
+
requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
|
|
37
|
+
},
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Metadata for all the requests in the request builder.
|
|
41
|
+
*/
|
|
42
|
+
exports.FilesRequestBuilderRequestsMetadata = {
|
|
43
|
+
get: {
|
|
44
|
+
responseBodyContentType: "application/json",
|
|
45
|
+
errorMappings: {
|
|
46
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
47
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
48
|
+
},
|
|
49
|
+
adapterMethodName: "sendAsync",
|
|
50
|
+
responseBodyFactory: models_1.createAgreementFileLocalizationCollectionResponseFromDiscriminatorValue,
|
|
51
|
+
queryParametersMapper: FilesRequestBuilderGetQueryParametersMapper,
|
|
52
|
+
},
|
|
53
|
+
post: {
|
|
54
|
+
responseBodyContentType: "application/json",
|
|
55
|
+
errorMappings: {
|
|
56
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
57
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
58
|
+
},
|
|
59
|
+
adapterMethodName: "sendAsync",
|
|
60
|
+
responseBodyFactory: models_1.createAgreementFileLocalizationFromDiscriminatorValue,
|
|
61
|
+
requestBodyContentType: "application/json",
|
|
62
|
+
requestBodySerializer: models_1.serializeAgreementFileLocalization,
|
|
63
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
64
|
+
},
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* Uri template for the request builder.
|
|
68
|
+
*/
|
|
69
|
+
exports.FilesRequestBuilderUriTemplate = "{+baseurl}/agreements/{agreement%2Did}/files{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
70
|
+
/* tslint:enable */
|
|
71
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { type AgreementFileLocalization } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type VersionsRequestBuilder } from './versions/';
|
|
3
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
4
|
+
/**
|
|
5
|
+
* Provides operations to manage the files property of the microsoft.graph.agreement entity.
|
|
6
|
+
*/
|
|
7
|
+
export interface AgreementFileLocalizationItemRequestBuilder extends BaseRequestBuilder<AgreementFileLocalizationItemRequestBuilder> {
|
|
8
|
+
/**
|
|
9
|
+
* Provides operations to manage the versions property of the microsoft.graph.agreementFileLocalization entity.
|
|
10
|
+
*/
|
|
11
|
+
get versions(): VersionsRequestBuilder;
|
|
12
|
+
/**
|
|
13
|
+
* Delete navigation property files for agreements
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
*/
|
|
16
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
17
|
+
/**
|
|
18
|
+
* PDFs linked to this agreement. This property is in the process of being deprecated. Use the file property instead. Supports $expand.
|
|
19
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
20
|
+
* @returns a Promise of AgreementFileLocalization
|
|
21
|
+
*/
|
|
22
|
+
get(requestConfiguration?: RequestConfiguration<AgreementFileLocalizationItemRequestBuilderGetQueryParameters> | undefined): Promise<AgreementFileLocalization | undefined>;
|
|
23
|
+
/**
|
|
24
|
+
* Update the navigation property files in agreements
|
|
25
|
+
* @param body The request body
|
|
26
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
27
|
+
* @returns a Promise of AgreementFileLocalization
|
|
28
|
+
*/
|
|
29
|
+
patch(body: AgreementFileLocalization, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AgreementFileLocalization | undefined>;
|
|
30
|
+
/**
|
|
31
|
+
* Delete navigation property files for agreements
|
|
32
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
33
|
+
* @returns a RequestInformation
|
|
34
|
+
*/
|
|
35
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
36
|
+
/**
|
|
37
|
+
* PDFs linked to this agreement. This property is in the process of being deprecated. Use the file property instead. Supports $expand.
|
|
38
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
39
|
+
* @returns a RequestInformation
|
|
40
|
+
*/
|
|
41
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<AgreementFileLocalizationItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
42
|
+
/**
|
|
43
|
+
* Update the navigation property files in agreements
|
|
44
|
+
* @param body The request body
|
|
45
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
46
|
+
* @returns a RequestInformation
|
|
47
|
+
*/
|
|
48
|
+
toPatchRequestInformation(body: AgreementFileLocalization, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* PDFs linked to this agreement. This property is in the process of being deprecated. Use the file property instead. Supports $expand.
|
|
52
|
+
*/
|
|
53
|
+
export interface AgreementFileLocalizationItemRequestBuilderGetQueryParameters {
|
|
54
|
+
/**
|
|
55
|
+
* Expand related entities
|
|
56
|
+
*/
|
|
57
|
+
expand?: string[];
|
|
58
|
+
/**
|
|
59
|
+
* Select properties to be returned
|
|
60
|
+
*/
|
|
61
|
+
select?: string[];
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Metadata for all the navigation properties in the request builder.
|
|
65
|
+
*/
|
|
66
|
+
export declare const AgreementFileLocalizationItemRequestBuilderNavigationMetadata: Record<Exclude<keyof AgreementFileLocalizationItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
67
|
+
/**
|
|
68
|
+
* Metadata for all the requests in the request builder.
|
|
69
|
+
*/
|
|
70
|
+
export declare const AgreementFileLocalizationItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
71
|
+
/**
|
|
72
|
+
* Uri template for the request builder.
|
|
73
|
+
*/
|
|
74
|
+
export declare const AgreementFileLocalizationItemRequestBuilderUriTemplate = "{+baseurl}/agreements/{agreement%2Did}/files/{agreementFileLocalization%2Did}{?%24select,%24expand}";
|
|
75
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA6F,KAAK,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAE3K,OAAO,EAAE,KAAK,sBAAsB,EAAuH,MAAM,aAAa,CAAC;AAC/K,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,2CAA4C,SAAQ,kBAAkB,CAAC,2CAA2C,CAAC;IAChI;;OAEG;IACH,IAAI,QAAQ,IAAI,sBAAsB,CAAC;IACvC;;;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,6DAA6D,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,yBAAyB,GAAG,SAAS,CAAC,CAAC;IAC9K;;;;;OAKG;IACF,KAAK,CAAC,IAAI,EAAE,yBAAyB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,yBAAyB,GAAG,SAAS,CAAC,CAAC;IAC1J;;;;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,6DAA6D,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACtK;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,yBAAyB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACrJ;AACD;;GAEG;AACH,MAAM,WAAW,6DAA6D;IAC1E;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,6DAA6D,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,2CAA2C,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAMpM,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,2DAA2D,EAAE,gBA+BzE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,sDAAsD,wGAAwG,CAAC"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AgreementFileLocalizationItemRequestBuilderUriTemplate = exports.AgreementFileLocalizationItemRequestBuilderRequestsMetadata = exports.AgreementFileLocalizationItemRequestBuilderNavigationMetadata = 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 versions_1 = require("./versions/");
|
|
10
|
+
/**
|
|
11
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
12
|
+
*/
|
|
13
|
+
const AgreementFileLocalizationItemRequestBuilderGetQueryParametersMapper = {
|
|
14
|
+
"expand": "%24expand",
|
|
15
|
+
"select": "%24select",
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Metadata for all the navigation properties in the request builder.
|
|
19
|
+
*/
|
|
20
|
+
exports.AgreementFileLocalizationItemRequestBuilderNavigationMetadata = {
|
|
21
|
+
versions: {
|
|
22
|
+
uriTemplate: versions_1.VersionsRequestBuilderUriTemplate,
|
|
23
|
+
requestsMetadata: versions_1.VersionsRequestBuilderRequestsMetadata,
|
|
24
|
+
navigationMetadata: versions_1.VersionsRequestBuilderNavigationMetadata,
|
|
25
|
+
},
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Metadata for all the requests in the request builder.
|
|
29
|
+
*/
|
|
30
|
+
exports.AgreementFileLocalizationItemRequestBuilderRequestsMetadata = {
|
|
31
|
+
delete: {
|
|
32
|
+
responseBodyContentType: "application/json",
|
|
33
|
+
errorMappings: {
|
|
34
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
35
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
36
|
+
},
|
|
37
|
+
adapterMethodName: "sendNoResponseContentAsync",
|
|
38
|
+
},
|
|
39
|
+
get: {
|
|
40
|
+
responseBodyContentType: "application/json",
|
|
41
|
+
errorMappings: {
|
|
42
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
43
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
44
|
+
},
|
|
45
|
+
adapterMethodName: "sendAsync",
|
|
46
|
+
responseBodyFactory: models_1.createAgreementFileLocalizationFromDiscriminatorValue,
|
|
47
|
+
queryParametersMapper: AgreementFileLocalizationItemRequestBuilderGetQueryParametersMapper,
|
|
48
|
+
},
|
|
49
|
+
patch: {
|
|
50
|
+
responseBodyContentType: "application/json",
|
|
51
|
+
errorMappings: {
|
|
52
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
53
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
54
|
+
},
|
|
55
|
+
adapterMethodName: "sendAsync",
|
|
56
|
+
responseBodyFactory: models_1.createAgreementFileLocalizationFromDiscriminatorValue,
|
|
57
|
+
requestBodyContentType: "application/json",
|
|
58
|
+
requestBodySerializer: models_1.serializeAgreementFileLocalization,
|
|
59
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
60
|
+
},
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* Uri template for the request builder.
|
|
64
|
+
*/
|
|
65
|
+
exports.AgreementFileLocalizationItemRequestBuilderUriTemplate = "{+baseurl}/agreements/{agreement%2Did}/files/{agreementFileLocalization%2Did}{?%24select,%24expand}";
|
|
66
|
+
/* tslint:enable */
|
|
67
|
+
/* 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}/agreements/{agreement%2Did}/files/{agreementFileLocalization%2Did}/versions/$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,wHAAwH,CAAC"}
|