@microsoft/msgraph-sdk-connections 1.0.0-preview.12 → 1.0.0-preview.14

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.
Files changed (67) hide show
  1. package/connections/count/index.d.ts +7 -6
  2. package/connections/count/index.d.ts.map +1 -1
  3. package/connections/count/index.js +7 -7
  4. package/connections/index.d.ts +11 -9
  5. package/connections/index.d.ts.map +1 -1
  6. package/connections/index.js +9 -11
  7. package/connections/item/groups/count/index.d.ts +7 -6
  8. package/connections/item/groups/count/index.d.ts.map +1 -1
  9. package/connections/item/groups/count/index.js +7 -7
  10. package/connections/item/groups/index.d.ts +11 -9
  11. package/connections/item/groups/index.d.ts.map +1 -1
  12. package/connections/item/groups/index.js +9 -11
  13. package/connections/item/groups/item/index.d.ts +12 -9
  14. package/connections/item/groups/item/index.d.ts.map +1 -1
  15. package/connections/item/groups/item/index.js +11 -12
  16. package/connections/item/groups/item/members/count/index.d.ts +7 -6
  17. package/connections/item/groups/item/members/count/index.d.ts.map +1 -1
  18. package/connections/item/groups/item/members/count/index.js +7 -7
  19. package/connections/item/groups/item/members/index.d.ts +11 -9
  20. package/connections/item/groups/item/members/index.d.ts.map +1 -1
  21. package/connections/item/groups/item/members/index.js +9 -11
  22. package/connections/item/groups/item/members/item/index.d.ts +12 -9
  23. package/connections/item/groups/item/members/item/index.d.ts.map +1 -1
  24. package/connections/item/groups/item/members/item/index.js +11 -11
  25. package/connections/item/index.d.ts +12 -9
  26. package/connections/item/index.d.ts.map +1 -1
  27. package/connections/item/index.js +11 -15
  28. package/connections/item/items/count/index.d.ts +7 -6
  29. package/connections/item/items/count/index.d.ts.map +1 -1
  30. package/connections/item/items/count/index.js +7 -7
  31. package/connections/item/items/index.d.ts +11 -9
  32. package/connections/item/items/index.d.ts.map +1 -1
  33. package/connections/item/items/index.js +9 -11
  34. package/connections/item/items/item/activities/count/index.d.ts +7 -6
  35. package/connections/item/items/item/activities/count/index.d.ts.map +1 -1
  36. package/connections/item/items/item/activities/count/index.js +7 -7
  37. package/connections/item/items/item/activities/index.d.ts +11 -9
  38. package/connections/item/items/item/activities/index.d.ts.map +1 -1
  39. package/connections/item/items/item/activities/index.js +9 -11
  40. package/connections/item/items/item/activities/item/index.d.ts +12 -9
  41. package/connections/item/items/item/activities/item/index.d.ts.map +1 -1
  42. package/connections/item/items/item/activities/item/index.js +11 -12
  43. package/connections/item/items/item/activities/item/performedBy/index.d.ts +7 -6
  44. package/connections/item/items/item/activities/item/performedBy/index.d.ts.map +1 -1
  45. package/connections/item/items/item/activities/item/performedBy/index.js +7 -7
  46. package/connections/item/items/item/index.d.ts +12 -9
  47. package/connections/item/items/item/index.d.ts.map +1 -1
  48. package/connections/item/items/item/index.js +11 -13
  49. package/connections/item/items/item/microsoftGraphExternalConnectorsAddActivities/index.d.ts +11 -10
  50. package/connections/item/items/item/microsoftGraphExternalConnectorsAddActivities/index.d.ts.map +1 -1
  51. package/connections/item/items/item/microsoftGraphExternalConnectorsAddActivities/index.js +11 -11
  52. package/connections/item/operations/count/index.d.ts +7 -6
  53. package/connections/item/operations/count/index.d.ts.map +1 -1
  54. package/connections/item/operations/count/index.js +7 -7
  55. package/connections/item/operations/index.d.ts +11 -9
  56. package/connections/item/operations/index.d.ts.map +1 -1
  57. package/connections/item/operations/index.js +9 -11
  58. package/connections/item/operations/item/index.d.ts +12 -9
  59. package/connections/item/operations/item/index.d.ts.map +1 -1
  60. package/connections/item/operations/item/index.js +11 -11
  61. package/connections/item/schema/index.d.ts +10 -8
  62. package/connections/item/schema/index.d.ts.map +1 -1
  63. package/connections/item/schema/index.js +9 -9
  64. package/connectionsServiceClient.d.ts.map +1 -1
  65. package/connectionsServiceClient.js +1 -2
  66. package/package.json +3 -3
  67. package/tsconfig.tsbuildinfo +1 -1
@@ -1,10 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CountRequestBuilderUriTemplate = exports.CountRequestBuilderRequestsMetadata = void 0;
3
+ exports.CountRequestBuilderRequestsMetadata = exports.CountRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
7
7
  const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
8
+ /**
9
+ * Uri template for the request builder.
10
+ */
11
+ exports.CountRequestBuilderUriTemplate = "{+baseurl}/connections/{externalConnection%2Did}/groups/{externalGroup%2Did}/members/$count{?%24filter,%24search}";
8
12
  /**
9
13
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
10
14
  */
@@ -17,19 +21,15 @@ const CountRequestBuilderGetQueryParametersMapper = {
17
21
  */
18
22
  exports.CountRequestBuilderRequestsMetadata = {
19
23
  get: {
24
+ uriTemplate: exports.CountRequestBuilderUriTemplate,
20
25
  responseBodyContentType: "text/plain;q=0.9",
21
26
  errorMappings: {
22
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
23
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
27
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
28
  },
25
29
  adapterMethodName: "sendPrimitiveAsync",
26
30
  responseBodyFactory: "number",
27
31
  queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
28
32
  },
29
33
  };
30
- /**
31
- * Uri template for the request builder.
32
- */
33
- exports.CountRequestBuilderUriTemplate = "{+baseurl}/connections/{externalConnection%2Did}/groups/{externalGroup%2Did}/members/$count{?%24search,%24filter}";
34
34
  /* tslint:enable */
35
35
  /* eslint-enable */
@@ -13,34 +13,36 @@ export interface MembersRequestBuilder extends BaseRequestBuilder<MembersRequest
13
13
  /**
14
14
  * Provides operations to manage the members property of the microsoft.graph.externalConnectors.externalGroup entity.
15
15
  * @param identityId The unique identifier of identity
16
- * @returns a IdentityItemRequestBuilder
16
+ * @returns {IdentityItemRequestBuilder}
17
17
  */
18
18
  byIdentityId(identityId: string): IdentityItemRequestBuilder;
19
19
  /**
20
20
  * A member added to an externalGroup. You can add Microsoft Entra users, Microsoft Entra groups, or an externalGroup as members.
21
21
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
- * @returns a Promise of IdentityCollectionResponse
22
+ * @returns {Promise<IdentityCollectionResponse>}
23
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
23
24
  */
24
25
  get(requestConfiguration?: RequestConfiguration<MembersRequestBuilderGetQueryParameters> | undefined): Promise<IdentityCollectionResponse | undefined>;
25
26
  /**
26
27
  * Create an identity resource for a new member in an externalGroup.
27
28
  * @param body The request body
28
29
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
29
- * @returns a Promise of Identity
30
+ * @returns {Promise<Identity>}
31
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
30
32
  * @see {@link https://learn.microsoft.com/graph/api/externalconnectors-externalgroup-post-members?view=graph-rest-1.0|Find more info here}
31
33
  */
32
34
  post(body: Identity, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Identity | undefined>;
33
35
  /**
34
36
  * A member added to an externalGroup. You can add Microsoft Entra users, Microsoft Entra groups, or an externalGroup as members.
35
37
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
36
- * @returns a RequestInformation
38
+ * @returns {RequestInformation}
37
39
  */
38
40
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<MembersRequestBuilderGetQueryParameters> | undefined): RequestInformation;
39
41
  /**
40
42
  * Create an identity resource for a new member in an externalGroup.
41
43
  * @param body The request body
42
44
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
43
- * @returns a RequestInformation
45
+ * @returns {RequestInformation}
44
46
  */
45
47
  toPostRequestInformation(body: Identity, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
46
48
  }
@@ -81,6 +83,10 @@ export interface MembersRequestBuilderGetQueryParameters {
81
83
  */
82
84
  top?: number;
83
85
  }
86
+ /**
87
+ * Uri template for the request builder.
88
+ */
89
+ export declare const MembersRequestBuilderUriTemplate = "{+baseurl}/connections/{externalConnection%2Did}/groups/{externalGroup%2Did}/members{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
84
90
  /**
85
91
  * Metadata for all the navigation properties in the request builder.
86
92
  */
@@ -89,8 +95,4 @@ export declare const MembersRequestBuilderNavigationMetadata: Record<Exclude<key
89
95
  * Metadata for all the requests in the request builder.
90
96
  */
91
97
  export declare const MembersRequestBuilderRequestsMetadata: RequestsMetadata;
92
- /**
93
- * Uri template for the request builder.
94
- */
95
- export declare const MembersRequestBuilderUriTemplate = "{+baseurl}/connections/{externalConnection%2Did}/groups/{externalGroup%2Did}/members{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
96
98
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAmH,KAAK,QAAQ,EAAE,KAAK,0BAA0B,EAAE,MAAM,mDAAmD,CAAC;AAEpO,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAAqF,KAAK,0BAA0B,EAAE,MAAM,SAAS,CAAC;AAC7I,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,qBAAsB,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC;IACpF;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,YAAY,CAAC,UAAU,EAAE,MAAM,GAAI,0BAA0B,CAAC;IAC/D;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,uCAAuC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,0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,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,gCAAgC,sKAAsK,CAAC;AAcpN;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,qBAAqB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAQxJ,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAuBnD,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MembersRequestBuilderUriTemplate = exports.MembersRequestBuilderRequestsMetadata = exports.MembersRequestBuilderNavigationMetadata = void 0;
3
+ exports.MembersRequestBuilderRequestsMetadata = exports.MembersRequestBuilderNavigationMetadata = exports.MembersRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
@@ -8,6 +8,10 @@ const externalConnectors_1 = require("@microsoft/msgraph-sdk/models/externalConn
8
8
  const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
9
  const count_1 = require("./count/");
10
10
  const item_1 = require("./item/");
11
+ /**
12
+ * Uri template for the request builder.
13
+ */
14
+ exports.MembersRequestBuilderUriTemplate = "{+baseurl}/connections/{externalConnection%2Did}/groups/{externalGroup%2Did}/members{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
11
15
  /**
12
16
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
13
17
  */
@@ -26,12 +30,10 @@ const MembersRequestBuilderGetQueryParametersMapper = {
26
30
  */
27
31
  exports.MembersRequestBuilderNavigationMetadata = {
28
32
  byIdentityId: {
29
- uriTemplate: item_1.IdentityItemRequestBuilderUriTemplate,
30
33
  requestsMetadata: item_1.IdentityItemRequestBuilderRequestsMetadata,
31
34
  pathParametersMappings: ["identity%2Did"],
32
35
  },
33
36
  count: {
34
- uriTemplate: count_1.CountRequestBuilderUriTemplate,
35
37
  requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
36
38
  },
37
39
  };
@@ -40,20 +42,20 @@ exports.MembersRequestBuilderNavigationMetadata = {
40
42
  */
41
43
  exports.MembersRequestBuilderRequestsMetadata = {
42
44
  get: {
45
+ uriTemplate: exports.MembersRequestBuilderUriTemplate,
43
46
  responseBodyContentType: "application/json",
44
47
  errorMappings: {
45
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
46
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
48
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
47
49
  },
48
50
  adapterMethodName: "sendAsync",
49
51
  responseBodyFactory: externalConnectors_1.createIdentityCollectionResponseFromDiscriminatorValue,
50
52
  queryParametersMapper: MembersRequestBuilderGetQueryParametersMapper,
51
53
  },
52
54
  post: {
55
+ uriTemplate: exports.MembersRequestBuilderUriTemplate,
53
56
  responseBodyContentType: "application/json",
54
57
  errorMappings: {
55
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
56
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
58
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
57
59
  },
58
60
  adapterMethodName: "sendAsync",
59
61
  responseBodyFactory: externalConnectors_1.createIdentityFromDiscriminatorValue,
@@ -62,9 +64,5 @@ exports.MembersRequestBuilderRequestsMetadata = {
62
64
  requestInformationContentSetMethod: "setContentFromParsable",
63
65
  },
64
66
  };
65
- /**
66
- * Uri template for the request builder.
67
- */
68
- exports.MembersRequestBuilderUriTemplate = "{+baseurl}/connections/{externalConnection%2Did}/groups/{externalGroup%2Did}/members{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
69
67
  /* tslint:enable */
70
68
  /* eslint-enable */
@@ -7,39 +7,42 @@ export interface IdentityItemRequestBuilder extends BaseRequestBuilder<IdentityI
7
7
  /**
8
8
  * Delete an identity resource to remove the corresponding member from an externalGroup.
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
10
11
  * @see {@link https://learn.microsoft.com/graph/api/externalconnectors-externalgroupmember-delete?view=graph-rest-1.0|Find more info here}
11
12
  */
12
13
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
13
14
  /**
14
15
  * A member added to an externalGroup. You can add Microsoft Entra users, Microsoft Entra groups, or an externalGroup as members.
15
16
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
16
- * @returns a Promise of Identity
17
+ * @returns {Promise<Identity>}
18
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
17
19
  */
18
20
  get(requestConfiguration?: RequestConfiguration<IdentityItemRequestBuilderGetQueryParameters> | undefined): Promise<Identity | undefined>;
19
21
  /**
20
22
  * Update the navigation property members in connections
21
23
  * @param body The request body
22
24
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
23
- * @returns a Promise of Identity
25
+ * @returns {Promise<Identity>}
26
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
24
27
  */
25
28
  patch(body: Identity, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Identity | undefined>;
26
29
  /**
27
30
  * Delete an identity resource to remove the corresponding member from an externalGroup.
28
31
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
29
- * @returns a RequestInformation
32
+ * @returns {RequestInformation}
30
33
  */
31
34
  toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
32
35
  /**
33
36
  * A member added to an externalGroup. You can add Microsoft Entra users, Microsoft Entra groups, or an externalGroup as members.
34
37
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
35
- * @returns a RequestInformation
38
+ * @returns {RequestInformation}
36
39
  */
37
40
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<IdentityItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
38
41
  /**
39
42
  * Update the navigation property members in connections
40
43
  * @param body The request body
41
44
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
42
- * @returns a RequestInformation
45
+ * @returns {RequestInformation}
43
46
  */
44
47
  toPatchRequestInformation(body: Identity, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
45
48
  }
@@ -57,11 +60,11 @@ export interface IdentityItemRequestBuilderGetQueryParameters {
57
60
  select?: string[];
58
61
  }
59
62
  /**
60
- * Metadata for all the requests in the request builder.
63
+ * Uri template for the request builder.
61
64
  */
62
- export declare const IdentityItemRequestBuilderRequestsMetadata: RequestsMetadata;
65
+ export declare const IdentityItemRequestBuilderUriTemplate = "{+baseurl}/connections/{externalConnection%2Did}/groups/{externalGroup%2Did}/members/{identity%2Did}{?%24expand,%24select}";
63
66
  /**
64
- * Uri template for the request builder.
67
+ * Metadata for all the requests in the request builder.
65
68
  */
66
- export declare const IdentityItemRequestBuilderUriTemplate = "{+baseurl}/connections/{externalConnection%2Did}/groups/{externalGroup%2Did}/members/{identity%2Did}{?%24select,%24expand}";
69
+ export declare const IdentityItemRequestBuilderRequestsMetadata: RequestsMetadata;
67
70
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA2D,KAAK,QAAQ,EAAE,MAAM,mDAAmD,CAAC;AAE3I,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK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H,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,qCAAqC,+HAA+H,CAAC;AAQlL;;GAEG;AACH,eAAO,MAAM,0CAA0C,EAAE,gBA+BxD,CAAC"}
@@ -1,11 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.IdentityItemRequestBuilderUriTemplate = exports.IdentityItemRequestBuilderRequestsMetadata = void 0;
3
+ exports.IdentityItemRequestBuilderRequestsMetadata = exports.IdentityItemRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
7
7
  const externalConnectors_1 = require("@microsoft/msgraph-sdk/models/externalConnectors/");
8
8
  const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ /**
10
+ * Uri template for the request builder.
11
+ */
12
+ exports.IdentityItemRequestBuilderUriTemplate = "{+baseurl}/connections/{externalConnection%2Did}/groups/{externalGroup%2Did}/members/{identity%2Did}{?%24expand,%24select}";
9
13
  /**
10
14
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
11
15
  */
@@ -18,28 +22,28 @@ const IdentityItemRequestBuilderGetQueryParametersMapper = {
18
22
  */
19
23
  exports.IdentityItemRequestBuilderRequestsMetadata = {
20
24
  delete: {
25
+ uriTemplate: exports.IdentityItemRequestBuilderUriTemplate,
21
26
  responseBodyContentType: "application/json",
22
27
  errorMappings: {
23
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
28
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
25
29
  },
26
30
  adapterMethodName: "sendNoResponseContentAsync",
27
31
  },
28
32
  get: {
33
+ uriTemplate: exports.IdentityItemRequestBuilderUriTemplate,
29
34
  responseBodyContentType: "application/json",
30
35
  errorMappings: {
31
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
32
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
36
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
33
37
  },
34
38
  adapterMethodName: "sendAsync",
35
39
  responseBodyFactory: externalConnectors_1.createIdentityFromDiscriminatorValue,
36
40
  queryParametersMapper: IdentityItemRequestBuilderGetQueryParametersMapper,
37
41
  },
38
42
  patch: {
43
+ uriTemplate: exports.IdentityItemRequestBuilderUriTemplate,
39
44
  responseBodyContentType: "application/json",
40
45
  errorMappings: {
41
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
42
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
46
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
43
47
  },
44
48
  adapterMethodName: "sendAsync",
45
49
  responseBodyFactory: externalConnectors_1.createIdentityFromDiscriminatorValue,
@@ -48,9 +52,5 @@ exports.IdentityItemRequestBuilderRequestsMetadata = {
48
52
  requestInformationContentSetMethod: "setContentFromParsable",
49
53
  },
50
54
  };
51
- /**
52
- * Uri template for the request builder.
53
- */
54
- exports.IdentityItemRequestBuilderUriTemplate = "{+baseurl}/connections/{externalConnection%2Did}/groups/{externalGroup%2Did}/members/{identity%2Did}{?%24select,%24expand}";
55
55
  /* tslint:enable */
56
56
  /* eslint-enable */
@@ -27,38 +27,41 @@ export interface ExternalConnectionItemRequestBuilder extends BaseRequestBuilder
27
27
  /**
28
28
  * Delete entity from connections
29
29
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
30
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
30
31
  */
31
32
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
32
33
  /**
33
34
  * Get entity from connections by key
34
35
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
35
- * @returns a Promise of ExternalConnection
36
+ * @returns {Promise<ExternalConnection>}
37
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
36
38
  */
37
39
  get(requestConfiguration?: RequestConfiguration<ExternalConnectionItemRequestBuilderGetQueryParameters> | undefined): Promise<ExternalConnection | undefined>;
38
40
  /**
39
41
  * Update entity in connections
40
42
  * @param body The request body
41
43
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
42
- * @returns a Promise of ExternalConnection
44
+ * @returns {Promise<ExternalConnection>}
45
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
43
46
  */
44
47
  patch(body: ExternalConnection, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ExternalConnection | undefined>;
45
48
  /**
46
49
  * Delete entity from connections
47
50
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
48
- * @returns a RequestInformation
51
+ * @returns {RequestInformation}
49
52
  */
50
53
  toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
51
54
  /**
52
55
  * Get entity from connections by key
53
56
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
54
- * @returns a RequestInformation
57
+ * @returns {RequestInformation}
55
58
  */
56
59
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<ExternalConnectionItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
57
60
  /**
58
61
  * Update entity in connections
59
62
  * @param body The request body
60
63
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
61
- * @returns a RequestInformation
64
+ * @returns {RequestInformation}
62
65
  */
63
66
  toPatchRequestInformation(body: ExternalConnection, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
64
67
  }
@@ -75,6 +78,10 @@ export interface ExternalConnectionItemRequestBuilderGetQueryParameters {
75
78
  */
76
79
  select?: string[];
77
80
  }
81
+ /**
82
+ * Uri template for the request builder.
83
+ */
84
+ export declare const ExternalConnectionItemRequestBuilderUriTemplate = "{+baseurl}/connections/{externalConnection%2Did}{?%24expand,%24select}";
78
85
  /**
79
86
  * Metadata for all the navigation properties in the request builder.
80
87
  */
@@ -83,8 +90,4 @@ export declare const ExternalConnectionItemRequestBuilderNavigationMetadata: Rec
83
90
  * Metadata for all the requests in the request builder.
84
91
  */
85
92
  export declare const ExternalConnectionItemRequestBuilderRequestsMetadata: RequestsMetadata;
86
- /**
87
- * Uri template for the request builder.
88
- */
89
- export declare const ExternalConnectionItemRequestBuilderUriTemplate = "{+baseurl}/connections/{externalConnection%2Did}{?%24select,%24expand}";
90
93
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA+E,KAAK,kBAAkB,EAAE,MAAM,mDAAmD,CAAC;AAEzK,OAAO,EAAiH,KAAK,oBAAoB,EAAE,MAAM,WAAW,CAAC;AACrK,OAAO,EAA8G,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAChK,OAAO,EAA6H,KAAK,wBAAwB,EAAE,MAAM,eAAe,CAAC;AACzL,OAAO,EAAyE,KAAK,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAC7H,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,oCAAqC,SAAQ,kBAAkB,CAAC,oCAAoC,CAAC;IAClH;;OAEG;IACH,IAAI,MAAM,IAAI,oBAAoB,CAAC;IACnC;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;OAEG;IACH,IAAI,UAAU,IAAI,wBAAwB,CAAC;IAC3C;;OAEG;IACH,IAAI,MAAM,IAAI,oBAAoB,CAAC;IACnC;;;OAGG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;OAIG;IACF,GAAG,CAAC,oBA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EAAE,oBAAoB,CAAC,sDAAsD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC/J;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC9I;AACD;;GAEG;AACH,MAAM,WAAW,sDAAsD;IACnE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,+CAA+C,2EAA2E,CAAC;AAQxI;;GAEG;AACH,eAAO,MAAM,sDAAsD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,oCAAoC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAgBtL,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,oDAAoD,EAAE,gBA+BlE,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ExternalConnectionItemRequestBuilderUriTemplate = exports.ExternalConnectionItemRequestBuilderRequestsMetadata = exports.ExternalConnectionItemRequestBuilderNavigationMetadata = void 0;
3
+ exports.ExternalConnectionItemRequestBuilderRequestsMetadata = exports.ExternalConnectionItemRequestBuilderNavigationMetadata = exports.ExternalConnectionItemRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
@@ -10,6 +10,10 @@ const groups_1 = require("./groups/");
10
10
  const items_1 = require("./items/");
11
11
  const operations_1 = require("./operations/");
12
12
  const schema_1 = require("./schema/");
13
+ /**
14
+ * Uri template for the request builder.
15
+ */
16
+ exports.ExternalConnectionItemRequestBuilderUriTemplate = "{+baseurl}/connections/{externalConnection%2Did}{?%24expand,%24select}";
13
17
  /**
14
18
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
15
19
  */
@@ -22,22 +26,18 @@ const ExternalConnectionItemRequestBuilderGetQueryParametersMapper = {
22
26
  */
23
27
  exports.ExternalConnectionItemRequestBuilderNavigationMetadata = {
24
28
  groups: {
25
- uriTemplate: groups_1.GroupsRequestBuilderUriTemplate,
26
29
  requestsMetadata: groups_1.GroupsRequestBuilderRequestsMetadata,
27
30
  navigationMetadata: groups_1.GroupsRequestBuilderNavigationMetadata,
28
31
  },
29
32
  items: {
30
- uriTemplate: items_1.ItemsRequestBuilderUriTemplate,
31
33
  requestsMetadata: items_1.ItemsRequestBuilderRequestsMetadata,
32
34
  navigationMetadata: items_1.ItemsRequestBuilderNavigationMetadata,
33
35
  },
34
36
  operations: {
35
- uriTemplate: operations_1.OperationsRequestBuilderUriTemplate,
36
37
  requestsMetadata: operations_1.OperationsRequestBuilderRequestsMetadata,
37
38
  navigationMetadata: operations_1.OperationsRequestBuilderNavigationMetadata,
38
39
  },
39
40
  schema: {
40
- uriTemplate: schema_1.SchemaRequestBuilderUriTemplate,
41
41
  requestsMetadata: schema_1.SchemaRequestBuilderRequestsMetadata,
42
42
  },
43
43
  };
@@ -46,28 +46,28 @@ exports.ExternalConnectionItemRequestBuilderNavigationMetadata = {
46
46
  */
47
47
  exports.ExternalConnectionItemRequestBuilderRequestsMetadata = {
48
48
  delete: {
49
+ uriTemplate: exports.ExternalConnectionItemRequestBuilderUriTemplate,
49
50
  responseBodyContentType: "application/json",
50
51
  errorMappings: {
51
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
52
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
52
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
53
53
  },
54
54
  adapterMethodName: "sendNoResponseContentAsync",
55
55
  },
56
56
  get: {
57
+ uriTemplate: exports.ExternalConnectionItemRequestBuilderUriTemplate,
57
58
  responseBodyContentType: "application/json",
58
59
  errorMappings: {
59
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
60
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
60
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
61
61
  },
62
62
  adapterMethodName: "sendAsync",
63
63
  responseBodyFactory: externalConnectors_1.createExternalConnectionFromDiscriminatorValue,
64
64
  queryParametersMapper: ExternalConnectionItemRequestBuilderGetQueryParametersMapper,
65
65
  },
66
66
  patch: {
67
+ uriTemplate: exports.ExternalConnectionItemRequestBuilderUriTemplate,
67
68
  responseBodyContentType: "application/json",
68
69
  errorMappings: {
69
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
70
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
70
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
71
71
  },
72
72
  adapterMethodName: "sendAsync",
73
73
  responseBodyFactory: externalConnectors_1.createExternalConnectionFromDiscriminatorValue,
@@ -76,9 +76,5 @@ exports.ExternalConnectionItemRequestBuilderRequestsMetadata = {
76
76
  requestInformationContentSetMethod: "setContentFromParsable",
77
77
  },
78
78
  };
79
- /**
80
- * Uri template for the request builder.
81
- */
82
- exports.ExternalConnectionItemRequestBuilderUriTemplate = "{+baseurl}/connections/{externalConnection%2Did}{?%24select,%24expand}";
83
79
  /* tslint:enable */
84
80
  /* eslint-enable */
@@ -6,13 +6,14 @@ export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuil
6
6
  /**
7
7
  * Get the number of the resource
8
8
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
- * @returns a Promise of Integer
9
+ * @returns {Promise<number>}
10
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
10
11
  */
11
12
  get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
12
13
  /**
13
14
  * Get the number of the resource
14
15
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
- * @returns a RequestInformation
16
+ * @returns {RequestInformation}
16
17
  */
17
18
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
18
19
  }
@@ -30,11 +31,11 @@ export interface CountRequestBuilderGetQueryParameters {
30
31
  search?: string;
31
32
  }
32
33
  /**
33
- * Metadata for all the requests in the request builder.
34
+ * Uri template for the request builder.
34
35
  */
35
- export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
36
+ export declare const CountRequestBuilderUriTemplate = "{+baseurl}/connections/{externalConnection%2Did}/items/$count{?%24filter,%24search}";
36
37
  /**
37
- * Uri template for the request builder.
38
+ * Metadata for all the requests in the request builder.
38
39
  */
39
- export declare const CountRequestBuilderUriTemplate = "{+baseurl}/connections/{externalConnection%2Did}/items/$count{?%24search,%24filter}";
40
+ export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
40
41
  //# sourceMappingURL=index.d.ts.map
@@ -1 +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,wFAAwF,CAAC"}
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;;;;;OAKG;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;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,wFAAwF,CAAC;AAQpI;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC"}
@@ -1,10 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CountRequestBuilderUriTemplate = exports.CountRequestBuilderRequestsMetadata = void 0;
3
+ exports.CountRequestBuilderRequestsMetadata = exports.CountRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
7
7
  const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
8
+ /**
9
+ * Uri template for the request builder.
10
+ */
11
+ exports.CountRequestBuilderUriTemplate = "{+baseurl}/connections/{externalConnection%2Did}/items/$count{?%24filter,%24search}";
8
12
  /**
9
13
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
10
14
  */
@@ -17,19 +21,15 @@ const CountRequestBuilderGetQueryParametersMapper = {
17
21
  */
18
22
  exports.CountRequestBuilderRequestsMetadata = {
19
23
  get: {
24
+ uriTemplate: exports.CountRequestBuilderUriTemplate,
20
25
  responseBodyContentType: "text/plain;q=0.9",
21
26
  errorMappings: {
22
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
23
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
27
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
28
  },
25
29
  adapterMethodName: "sendPrimitiveAsync",
26
30
  responseBodyFactory: "number",
27
31
  queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
28
32
  },
29
33
  };
30
- /**
31
- * Uri template for the request builder.
32
- */
33
- exports.CountRequestBuilderUriTemplate = "{+baseurl}/connections/{externalConnection%2Did}/items/$count{?%24search,%24filter}";
34
34
  /* tslint:enable */
35
35
  /* eslint-enable */
@@ -13,33 +13,35 @@ export interface ItemsRequestBuilder extends BaseRequestBuilder<ItemsRequestBuil
13
13
  /**
14
14
  * Provides operations to manage the items property of the microsoft.graph.externalConnectors.externalConnection entity.
15
15
  * @param externalItemId The unique identifier of externalItem
16
- * @returns a ExternalItemItemRequestBuilder
16
+ * @returns {ExternalItemItemRequestBuilder}
17
17
  */
18
18
  byExternalItemId(externalItemId: string): ExternalItemItemRequestBuilder;
19
19
  /**
20
20
  * Read the properties and relationships of an externalItem object.
21
21
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
- * @returns a Promise of ExternalItemCollectionResponse
22
+ * @returns {Promise<ExternalItemCollectionResponse>}
23
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
23
24
  */
24
25
  get(requestConfiguration?: RequestConfiguration<ItemsRequestBuilderGetQueryParameters> | undefined): Promise<ExternalItemCollectionResponse | undefined>;
25
26
  /**
26
27
  * Create new navigation property to items for connections
27
28
  * @param body The request body
28
29
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
29
- * @returns a Promise of ExternalItem
30
+ * @returns {Promise<ExternalItem>}
31
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
30
32
  */
31
33
  post(body: ExternalItem, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ExternalItem | undefined>;
32
34
  /**
33
35
  * Read the properties and relationships of an externalItem object.
34
36
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
35
- * @returns a RequestInformation
37
+ * @returns {RequestInformation}
36
38
  */
37
39
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<ItemsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
38
40
  /**
39
41
  * Create new navigation property to items for connections
40
42
  * @param body The request body
41
43
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
42
- * @returns a RequestInformation
44
+ * @returns {RequestInformation}
43
45
  */
44
46
  toPostRequestInformation(body: ExternalItem, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
45
47
  }
@@ -80,6 +82,10 @@ export interface ItemsRequestBuilderGetQueryParameters {
80
82
  */
81
83
  top?: number;
82
84
  }
85
+ /**
86
+ * Uri template for the request builder.
87
+ */
88
+ export declare const ItemsRequestBuilderUriTemplate = "{+baseurl}/connections/{externalConnection%2Did}/items{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
83
89
  /**
84
90
  * Metadata for all the navigation properties in the request builder.
85
91
  */
@@ -88,8 +94,4 @@ export declare const ItemsRequestBuilderNavigationMetadata: Record<Exclude<keyof
88
94
  * Metadata for all the requests in the request builder.
89
95
  */
90
96
  export declare const ItemsRequestBuilderRequestsMetadata: RequestsMetadata;
91
- /**
92
- * Uri template for the request builder.
93
- */
94
- export declare const ItemsRequestBuilderUriTemplate = "{+baseurl}/connections/{externalConnection%2Did}/items{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
95
97
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA+H,KAAK,YAAY,EAAE,KAAK,8BAA8B,EAAE,MAAM,mDAAmD,CAAC;AAExP,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAA+I,KAAK,8BAA8B,EAAE,MAAM,SAAS,CAAC;AAC3M,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,gBAAgB,CAAC,cAAc,EAAE,MAAM,GAAI,8BAA8B,CAAC;IAC3E;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,8BAA8B,GAAG,SAAS,CAAC,CAAC;IAC3J;;;;;OAKG;IACF,IAAI,CAAC,IAAI,EAAE,YAAY,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,YAAY,GAAG,SAAS,CAAC,CAAC;IAC/H;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC9I;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,YAAY,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC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