@microsoft/msgraph-sdk-connections 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/connections/count/index.d.ts +40 -0
- package/connections/count/index.d.ts.map +1 -0
- package/connections/count/index.js +35 -0
- package/connections/index.d.ts +95 -0
- package/connections/index.d.ts.map +1 -0
- package/connections/index.js +71 -0
- package/connections/item/groups/count/index.d.ts +40 -0
- package/connections/item/groups/count/index.d.ts.map +1 -0
- package/connections/item/groups/count/index.js +35 -0
- package/connections/item/groups/index.d.ts +96 -0
- package/connections/item/groups/index.d.ts.map +1 -0
- package/connections/item/groups/index.js +71 -0
- package/connections/item/groups/item/index.d.ts +78 -0
- package/connections/item/groups/item/index.d.ts.map +1 -0
- package/connections/item/groups/item/index.js +67 -0
- package/connections/item/groups/item/members/count/index.d.ts +40 -0
- package/connections/item/groups/item/members/count/index.d.ts.map +1 -0
- package/connections/item/groups/item/members/count/index.js +35 -0
- package/connections/item/groups/item/members/index.d.ts +96 -0
- package/connections/item/groups/item/members/index.d.ts.map +1 -0
- package/connections/item/groups/item/members/index.js +70 -0
- package/connections/item/groups/item/members/item/index.d.ts +67 -0
- package/connections/item/groups/item/members/item/index.d.ts.map +1 -0
- package/connections/item/groups/item/members/item/index.js +56 -0
- package/connections/item/index.d.ts +90 -0
- package/connections/item/index.d.ts.map +1 -0
- package/connections/item/index.js +84 -0
- package/connections/item/items/count/index.d.ts +40 -0
- package/connections/item/items/count/index.d.ts.map +1 -0
- package/connections/item/items/count/index.js +35 -0
- package/connections/item/items/index.d.ts +95 -0
- package/connections/item/items/index.d.ts.map +1 -0
- package/connections/item/items/index.js +71 -0
- package/connections/item/items/item/activities/count/index.d.ts +40 -0
- package/connections/item/items/item/activities/count/index.d.ts.map +1 -0
- package/connections/item/items/item/activities/count/index.js +35 -0
- package/connections/item/items/item/activities/index.d.ts +95 -0
- package/connections/item/items/item/activities/index.d.ts.map +1 -0
- package/connections/item/items/item/activities/index.js +71 -0
- package/connections/item/items/item/activities/item/index.d.ts +75 -0
- package/connections/item/items/item/activities/item/index.d.ts.map +1 -0
- package/connections/item/items/item/activities/item/index.js +66 -0
- package/connections/item/items/item/activities/item/performedBy/index.d.ts +41 -0
- package/connections/item/items/item/activities/item/performedBy/index.d.ts.map +1 -0
- package/connections/item/items/item/activities/item/performedBy/index.js +36 -0
- package/connections/item/items/item/index.d.ts +82 -0
- package/connections/item/items/item/index.d.ts.map +1 -0
- package/connections/item/items/item/index.js +72 -0
- package/connections/item/items/item/microsoftGraphExternalConnectorsAddActivities/index.d.ts +83 -0
- package/connections/item/items/item/microsoftGraphExternalConnectorsAddActivities/index.d.ts.map +1 -0
- package/connections/item/items/item/microsoftGraphExternalConnectorsAddActivities/index.js +87 -0
- package/connections/item/operations/count/index.d.ts +40 -0
- package/connections/item/operations/count/index.d.ts.map +1 -0
- package/connections/item/operations/count/index.js +35 -0
- package/connections/item/operations/index.d.ts +95 -0
- package/connections/item/operations/index.d.ts.map +1 -0
- package/connections/item/operations/index.js +70 -0
- package/connections/item/operations/item/index.d.ts +67 -0
- package/connections/item/operations/item/index.d.ts.map +1 -0
- package/connections/item/operations/item/index.js +56 -0
- package/connections/item/schema/index.d.ts +57 -0
- package/connections/item/schema/index.d.ts.map +1 -0
- package/connections/item/schema/index.js +48 -0
- package/connectionsServiceClient.d.ts +25 -0
- package/connectionsServiceClient.d.ts.map +1 -0
- package/connectionsServiceClient.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.OperationsRequestBuilderUriTemplate = exports.OperationsRequestBuilderRequestsMetadata = exports.OperationsRequestBuilderNavigationMetadata = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const externalConnectors_1 = require("@microsoft/msgraph-sdk/models/externalConnectors/");
|
|
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 OperationsRequestBuilderGetQueryParametersMapper = {
|
|
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.OperationsRequestBuilderNavigationMetadata = {
|
|
28
|
+
byConnectionOperationId: {
|
|
29
|
+
uriTemplate: item_1.ConnectionOperationItemRequestBuilderUriTemplate,
|
|
30
|
+
requestsMetadata: item_1.ConnectionOperationItemRequestBuilderRequestsMetadata,
|
|
31
|
+
pathParametersMappings: ["connectionOperation%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.OperationsRequestBuilderRequestsMetadata = {
|
|
42
|
+
get: {
|
|
43
|
+
responseBodyContentType: "application/json",
|
|
44
|
+
errorMappings: {
|
|
45
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
46
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
47
|
+
},
|
|
48
|
+
adapterMethodName: "sendAsync",
|
|
49
|
+
responseBodyFactory: externalConnectors_1.createConnectionOperationCollectionResponseFromDiscriminatorValue,
|
|
50
|
+
queryParametersMapper: OperationsRequestBuilderGetQueryParametersMapper,
|
|
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: externalConnectors_1.createConnectionOperationFromDiscriminatorValue,
|
|
60
|
+
requestBodyContentType: "application/json",
|
|
61
|
+
requestBodySerializer: externalConnectors_1.serializeConnectionOperation,
|
|
62
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* Uri template for the request builder.
|
|
67
|
+
*/
|
|
68
|
+
exports.OperationsRequestBuilderUriTemplate = "{+baseurl}/connections/{externalConnection%2Did}/operations{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
69
|
+
/* tslint:enable */
|
|
70
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { type ConnectionOperation } from '@microsoft/msgraph-sdk/models/externalConnectors/';
|
|
2
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Provides operations to manage the operations property of the microsoft.graph.externalConnectors.externalConnection entity.
|
|
5
|
+
*/
|
|
6
|
+
export interface ConnectionOperationItemRequestBuilder extends BaseRequestBuilder<ConnectionOperationItemRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Delete navigation property operations for connections
|
|
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 the properties and relationships of a connectionOperation object.
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @returns a Promise of ConnectionOperation
|
|
16
|
+
* @see {@link https://learn.microsoft.com/graph/api/externalconnectors-connectionoperation-get?view=graph-rest-1.0|Find more info here}
|
|
17
|
+
*/
|
|
18
|
+
get(requestConfiguration?: RequestConfiguration<ConnectionOperationItemRequestBuilderGetQueryParameters> | undefined): Promise<ConnectionOperation | undefined>;
|
|
19
|
+
/**
|
|
20
|
+
* Update the navigation property operations in connections
|
|
21
|
+
* @param body The request body
|
|
22
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
23
|
+
* @returns a Promise of ConnectionOperation
|
|
24
|
+
*/
|
|
25
|
+
patch(body: ConnectionOperation, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ConnectionOperation | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* Delete navigation property operations for connections
|
|
28
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
29
|
+
* @returns a RequestInformation
|
|
30
|
+
*/
|
|
31
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
32
|
+
/**
|
|
33
|
+
* Read the properties and relationships of a connectionOperation object.
|
|
34
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
35
|
+
* @returns a RequestInformation
|
|
36
|
+
*/
|
|
37
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ConnectionOperationItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
38
|
+
/**
|
|
39
|
+
* Update the navigation property operations in connections
|
|
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
|
+
toPatchRequestInformation(body: ConnectionOperation, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Read the properties and relationships of a connectionOperation object.
|
|
48
|
+
*/
|
|
49
|
+
export interface ConnectionOperationItemRequestBuilderGetQueryParameters {
|
|
50
|
+
/**
|
|
51
|
+
* Expand related entities
|
|
52
|
+
*/
|
|
53
|
+
expand?: string[];
|
|
54
|
+
/**
|
|
55
|
+
* Select properties to be returned
|
|
56
|
+
*/
|
|
57
|
+
select?: string[];
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Metadata for all the requests in the request builder.
|
|
61
|
+
*/
|
|
62
|
+
export declare const ConnectionOperationItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
63
|
+
/**
|
|
64
|
+
* Uri template for the request builder.
|
|
65
|
+
*/
|
|
66
|
+
export declare const ConnectionOperationItemRequestBuilderUriTemplate = "{+baseurl}/connections/{externalConnection%2Did}/operations/{connectionOperation%2Did}{?%24select,%24expand}";
|
|
67
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAiF,KAAK,mBAAmB,EAAE,MAAM,mDAAmD,CAAC;AAE5K,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;;;OAGG;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;;;;;OAKG;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;AAQD;;GAEG;AACH,eAAO,MAAM,qDAAqD,EAAE,gBA+BnE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,gDAAgD,iHAAiH,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ConnectionOperationItemRequestBuilderUriTemplate = exports.ConnectionOperationItemRequestBuilderRequestsMetadata = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const externalConnectors_1 = require("@microsoft/msgraph-sdk/models/externalConnectors/");
|
|
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 ConnectionOperationItemRequestBuilderGetQueryParametersMapper = {
|
|
13
|
+
"expand": "%24expand",
|
|
14
|
+
"select": "%24select",
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Metadata for all the requests in the request builder.
|
|
18
|
+
*/
|
|
19
|
+
exports.ConnectionOperationItemRequestBuilderRequestsMetadata = {
|
|
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: externalConnectors_1.createConnectionOperationFromDiscriminatorValue,
|
|
36
|
+
queryParametersMapper: ConnectionOperationItemRequestBuilderGetQueryParametersMapper,
|
|
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: externalConnectors_1.createConnectionOperationFromDiscriminatorValue,
|
|
46
|
+
requestBodyContentType: "application/json",
|
|
47
|
+
requestBodySerializer: externalConnectors_1.serializeConnectionOperation,
|
|
48
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
49
|
+
},
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Uri template for the request builder.
|
|
53
|
+
*/
|
|
54
|
+
exports.ConnectionOperationItemRequestBuilderUriTemplate = "{+baseurl}/connections/{externalConnection%2Did}/operations/{connectionOperation%2Did}{?%24select,%24expand}";
|
|
55
|
+
/* tslint:enable */
|
|
56
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { type Schema } from '@microsoft/msgraph-sdk/models/externalConnectors/';
|
|
2
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Provides operations to manage the schema property of the microsoft.graph.externalConnectors.externalConnection entity.
|
|
5
|
+
*/
|
|
6
|
+
export interface SchemaRequestBuilder extends BaseRequestBuilder<SchemaRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Read the properties and relationships of a schema object.
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @returns a Promise of Schema
|
|
11
|
+
* @see {@link https://learn.microsoft.com/graph/api/externalconnectors-schema-get?view=graph-rest-1.0|Find more info here}
|
|
12
|
+
*/
|
|
13
|
+
get(requestConfiguration?: RequestConfiguration<SchemaRequestBuilderGetQueryParameters> | undefined): Promise<Schema | undefined>;
|
|
14
|
+
/**
|
|
15
|
+
* Create a new schema object.
|
|
16
|
+
* @param body The request body
|
|
17
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
18
|
+
* @returns a Promise of Schema
|
|
19
|
+
* @see {@link https://learn.microsoft.com/graph/api/externalconnectors-externalconnection-patch-schema?view=graph-rest-1.0|Find more info here}
|
|
20
|
+
*/
|
|
21
|
+
patch(body: Schema, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Schema | undefined>;
|
|
22
|
+
/**
|
|
23
|
+
* Read the properties and relationships of a schema object.
|
|
24
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
25
|
+
* @returns a RequestInformation
|
|
26
|
+
*/
|
|
27
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<SchemaRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
28
|
+
/**
|
|
29
|
+
* Create a new schema object.
|
|
30
|
+
* @param body The request body
|
|
31
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
32
|
+
* @returns a RequestInformation
|
|
33
|
+
*/
|
|
34
|
+
toPatchRequestInformation(body: Schema, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Read the properties and relationships of a schema object.
|
|
38
|
+
*/
|
|
39
|
+
export interface SchemaRequestBuilderGetQueryParameters {
|
|
40
|
+
/**
|
|
41
|
+
* Expand related entities
|
|
42
|
+
*/
|
|
43
|
+
expand?: string[];
|
|
44
|
+
/**
|
|
45
|
+
* Select properties to be returned
|
|
46
|
+
*/
|
|
47
|
+
select?: string[];
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Metadata for all the requests in the request builder.
|
|
51
|
+
*/
|
|
52
|
+
export declare const SchemaRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
53
|
+
/**
|
|
54
|
+
* Uri template for the request builder.
|
|
55
|
+
*/
|
|
56
|
+
export declare const SchemaRequestBuilderUriTemplate = "{+baseurl}/connections/{externalConnection%2Did}/schema{?%24select,%24expand}";
|
|
57
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAuD,KAAK,MAAM,EAAE,MAAM,mDAAmD,CAAC;AAErI,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,kBAAkB,CAAC,oBAAoB,CAAC;IAClF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,sCAAsC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACpI;;;;;;OAMG;IACF,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACpH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,sCAAsC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC/I;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,MAAM,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClI;AACD;;GAEG;AACH,MAAM,WAAW,sCAAsC;IACnD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,gBAuBlD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,+BAA+B,kFAAkF,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SchemaRequestBuilderUriTemplate = exports.SchemaRequestBuilderRequestsMetadata = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const externalConnectors_1 = require("@microsoft/msgraph-sdk/models/externalConnectors/");
|
|
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 SchemaRequestBuilderGetQueryParametersMapper = {
|
|
13
|
+
"expand": "%24expand",
|
|
14
|
+
"select": "%24select",
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Metadata for all the requests in the request builder.
|
|
18
|
+
*/
|
|
19
|
+
exports.SchemaRequestBuilderRequestsMetadata = {
|
|
20
|
+
get: {
|
|
21
|
+
responseBodyContentType: "application/json",
|
|
22
|
+
errorMappings: {
|
|
23
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
24
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
25
|
+
},
|
|
26
|
+
adapterMethodName: "sendAsync",
|
|
27
|
+
responseBodyFactory: externalConnectors_1.createSchemaFromDiscriminatorValue,
|
|
28
|
+
queryParametersMapper: SchemaRequestBuilderGetQueryParametersMapper,
|
|
29
|
+
},
|
|
30
|
+
patch: {
|
|
31
|
+
responseBodyContentType: "application/json",
|
|
32
|
+
errorMappings: {
|
|
33
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
34
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
35
|
+
},
|
|
36
|
+
adapterMethodName: "sendAsync",
|
|
37
|
+
responseBodyFactory: externalConnectors_1.createSchemaFromDiscriminatorValue,
|
|
38
|
+
requestBodyContentType: "application/json",
|
|
39
|
+
requestBodySerializer: externalConnectors_1.serializeSchema,
|
|
40
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
41
|
+
},
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* Uri template for the request builder.
|
|
45
|
+
*/
|
|
46
|
+
exports.SchemaRequestBuilderUriTemplate = "{+baseurl}/connections/{externalConnection%2Did}/schema{?%24select,%24expand}";
|
|
47
|
+
/* tslint:enable */
|
|
48
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { type ConnectionsRequestBuilder } from './connections/';
|
|
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 ConnectionsServiceClient extends BaseRequestBuilder<ConnectionsServiceClient> {
|
|
7
|
+
/**
|
|
8
|
+
* Provides operations to manage the collection of externalConnection entities.
|
|
9
|
+
*/
|
|
10
|
+
get connections(): ConnectionsRequestBuilder;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Instantiates a new ConnectionsServiceClient and sets the default values.
|
|
14
|
+
* @param requestAdapter The request adapter to use to execute the requests.
|
|
15
|
+
*/
|
|
16
|
+
export declare function createConnectionsServiceClient(requestAdapter: RequestAdapter): ConnectionsServiceClient;
|
|
17
|
+
/**
|
|
18
|
+
* Metadata for all the navigation properties in the request builder.
|
|
19
|
+
*/
|
|
20
|
+
export declare const ConnectionsServiceClientNavigationMetadata: Record<Exclude<keyof ConnectionsServiceClient, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
21
|
+
/**
|
|
22
|
+
* Uri template for the request builder.
|
|
23
|
+
*/
|
|
24
|
+
export declare const ConnectionsServiceClientUriTemplate = "{+baseurl}";
|
|
25
|
+
//# sourceMappingURL=connectionsServiceClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connectionsServiceClient.d.ts","sourceRoot":"","sources":["connectionsServiceClient.ts"],"names":[],"mappings":"AAGA,OAAO,EAAgI,KAAK,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAC9L,OAAO,EAA8E,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,KAAK,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAM3O;;GAEG;AACH,MAAM,WAAW,wBAAyB,SAAQ,kBAAkB,CAAC,wBAAwB,CAAC;IAC1F;;OAEG;IACH,IAAI,WAAW,IAAI,yBAAyB,CAAC;CAChD;AACD;;;GAGG;AACH,wBAAgB,8BAA8B,CAAC,cAAc,EAAE,cAAc,4BAe5E;AACD;;GAEG;AACH,eAAO,MAAM,0CAA0C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,wBAAwB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAM9J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,mCAAmC,eAAe,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ConnectionsServiceClientUriTemplate = exports.ConnectionsServiceClientNavigationMetadata = exports.createConnectionsServiceClient = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const connections_1 = require("./connections/");
|
|
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 ConnectionsServiceClient and sets the default values.
|
|
15
|
+
* @param requestAdapter The request adapter to use to execute the requests.
|
|
16
|
+
*/
|
|
17
|
+
function createConnectionsServiceClient(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.ConnectionsServiceClientUriTemplate, exports.ConnectionsServiceClientNavigationMetadata, undefined);
|
|
32
|
+
}
|
|
33
|
+
exports.createConnectionsServiceClient = createConnectionsServiceClient;
|
|
34
|
+
/**
|
|
35
|
+
* Metadata for all the navigation properties in the request builder.
|
|
36
|
+
*/
|
|
37
|
+
exports.ConnectionsServiceClientNavigationMetadata = {
|
|
38
|
+
connections: {
|
|
39
|
+
uriTemplate: connections_1.ConnectionsRequestBuilderUriTemplate,
|
|
40
|
+
requestsMetadata: connections_1.ConnectionsRequestBuilderRequestsMetadata,
|
|
41
|
+
navigationMetadata: connections_1.ConnectionsRequestBuilderNavigationMetadata,
|
|
42
|
+
},
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* Uri template for the request builder.
|
|
46
|
+
*/
|
|
47
|
+
exports.ConnectionsServiceClientUriTemplate = "{+baseurl}";
|
|
48
|
+
/* tslint:enable */
|
|
49
|
+
/* eslint-enable */
|
package/index.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ConnectionsRequestBuilder } from "./connections";
|
|
2
|
+
declare module "@microsoft/msgraph-sdk" {
|
|
3
|
+
interface GraphServiceClient {
|
|
4
|
+
/**
|
|
5
|
+
* Provides operations to manage the connections singleton.
|
|
6
|
+
*/
|
|
7
|
+
get connections(): ConnectionsRequestBuilder;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export * from "./connectionsServiceClient";
|
|
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,yBAAyB,EAAE,MAAM,eAAe,CAAC;AAG/D,OAAO,QAAQ,wBAAwB,CAAC;IACtC,UAAU,kBAAkB;QAC1B;;WAEG;QACH,IAAI,WAAW,IAAI,yBAAyB,CAAC;KAC9C;CACF;AAED,cAAc,4BAA4B,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 connectionsServiceClient_1 = require("./connectionsServiceClient");
|
|
19
|
+
(0, msgraph_sdk_1.extendGraphServiceClient)(connectionsServiceClient_1.ConnectionsServiceClientNavigationMetadata);
|
|
20
|
+
__exportStar(require("./connectionsServiceClient"), exports);
|
package/package.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@microsoft/msgraph-sdk-connections",
|
|
3
|
+
"version": "1.0.0-preview.10",
|
|
4
|
+
"description": "Connections fluent API for Microsoft Graph",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"Microsoft",
|
|
7
|
+
"Graph",
|
|
8
|
+
"msgraph",
|
|
9
|
+
"API",
|
|
10
|
+
"SDK",
|
|
11
|
+
"connections"
|
|
12
|
+
],
|
|
13
|
+
"author": "Microsoft <graphsdkpub+javascript@microsoft.com>",
|
|
14
|
+
"license": "MIT",
|
|
15
|
+
"main": "index.js",
|
|
16
|
+
"publishConfig": {
|
|
17
|
+
"access": "public"
|
|
18
|
+
},
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "git+https://github.com/microsoftgraph/msgraph-sdk-typescript.git"
|
|
22
|
+
},
|
|
23
|
+
"scripts": {
|
|
24
|
+
"build": "tsc -p tsconfig.json",
|
|
25
|
+
"lint": "eslint . --ext .ts",
|
|
26
|
+
"lint:fix": "eslint . --ext .ts --fix",
|
|
27
|
+
"clean": "rimraf -g **/*.d.ts && rimraf -g **/*.d.ts.map && rimraf -g **/*.js.map && rimraf -g **/*.js && rimraf tsconfig.tsbuildinfo"
|
|
28
|
+
},
|
|
29
|
+
"bugs": {
|
|
30
|
+
"url": "https://github.com/microsoftgraph/msgraph-sdk-typescript/issues"
|
|
31
|
+
},
|
|
32
|
+
"homepage": "https://github.com/microsoftgraph/msgraph-sdk-typescript#readme",
|
|
33
|
+
"types": "index.d.ts",
|
|
34
|
+
"dependencies": {
|
|
35
|
+
"@microsoft/kiota-abstractions": "^1.0.0-preview.38",
|
|
36
|
+
"@microsoft/kiota-serialization-form": "^1.0.0-preview.27",
|
|
37
|
+
"@microsoft/kiota-serialization-json": "^1.0.0-preview.38",
|
|
38
|
+
"@microsoft/kiota-serialization-multipart": "^1.0.0-preview.17",
|
|
39
|
+
"@microsoft/kiota-serialization-text": "^1.0.0-preview.35",
|
|
40
|
+
"@microsoft/msgraph-sdk": "^1.0.0-preview.10",
|
|
41
|
+
"guid-typescript": "^1.0.9",
|
|
42
|
+
"tslib": "^2.6.2"
|
|
43
|
+
},
|
|
44
|
+
"devDependencies": {
|
|
45
|
+
"typescript": "^5.3.3"
|
|
46
|
+
},
|
|
47
|
+
"gitHead": "15d9675ebafd32092472a638aa8d5d9276e283b1"
|
|
48
|
+
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
|
+
"extends": "../tsconfig.base.json",
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"resolveJsonModule": true,
|
|
6
|
+
"esModuleInterop": true,
|
|
7
|
+
"baseUrl": "./",
|
|
8
|
+
"paths": {
|
|
9
|
+
"@microsoft/msgraph-sdk": ["../msgraph-sdk"]
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"include": ["**/*.ts"],
|
|
13
|
+
"exclude": ["node_modules", "**/__tests__/*", "**/__e2e__/*"],
|
|
14
|
+
"references": [{ "path": "../msgraph-sdk" }]
|
|
15
|
+
}
|