@microsoft/msgraph-sdk-tenantrelationships 1.0.0-preview.13 → 1.0.0-preview.15

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/package.json +3 -3
  2. package/tenantRelationships/delegatedAdminCustomers/count/index.d.ts +7 -6
  3. package/tenantRelationships/delegatedAdminCustomers/count/index.d.ts.map +1 -1
  4. package/tenantRelationships/delegatedAdminCustomers/count/index.js +7 -7
  5. package/tenantRelationships/delegatedAdminCustomers/index.d.ts +11 -9
  6. package/tenantRelationships/delegatedAdminCustomers/index.d.ts.map +1 -1
  7. package/tenantRelationships/delegatedAdminCustomers/index.js +9 -11
  8. package/tenantRelationships/delegatedAdminCustomers/item/index.d.ts +12 -9
  9. package/tenantRelationships/delegatedAdminCustomers/item/index.d.ts.map +1 -1
  10. package/tenantRelationships/delegatedAdminCustomers/item/index.js +11 -12
  11. package/tenantRelationships/delegatedAdminCustomers/item/serviceManagementDetails/count/index.d.ts +7 -6
  12. package/tenantRelationships/delegatedAdminCustomers/item/serviceManagementDetails/count/index.d.ts.map +1 -1
  13. package/tenantRelationships/delegatedAdminCustomers/item/serviceManagementDetails/count/index.js +7 -7
  14. package/tenantRelationships/delegatedAdminCustomers/item/serviceManagementDetails/index.d.ts +11 -9
  15. package/tenantRelationships/delegatedAdminCustomers/item/serviceManagementDetails/index.d.ts.map +1 -1
  16. package/tenantRelationships/delegatedAdminCustomers/item/serviceManagementDetails/index.js +9 -11
  17. package/tenantRelationships/delegatedAdminCustomers/item/serviceManagementDetails/item/index.d.ts +12 -9
  18. package/tenantRelationships/delegatedAdminCustomers/item/serviceManagementDetails/item/index.d.ts.map +1 -1
  19. package/tenantRelationships/delegatedAdminCustomers/item/serviceManagementDetails/item/index.js +11 -11
  20. package/tenantRelationships/delegatedAdminRelationships/count/index.d.ts +7 -6
  21. package/tenantRelationships/delegatedAdminRelationships/count/index.d.ts.map +1 -1
  22. package/tenantRelationships/delegatedAdminRelationships/count/index.js +7 -7
  23. package/tenantRelationships/delegatedAdminRelationships/index.d.ts +11 -9
  24. package/tenantRelationships/delegatedAdminRelationships/index.d.ts.map +1 -1
  25. package/tenantRelationships/delegatedAdminRelationships/index.js +9 -11
  26. package/tenantRelationships/delegatedAdminRelationships/item/accessAssignments/count/index.d.ts +7 -6
  27. package/tenantRelationships/delegatedAdminRelationships/item/accessAssignments/count/index.d.ts.map +1 -1
  28. package/tenantRelationships/delegatedAdminRelationships/item/accessAssignments/count/index.js +7 -7
  29. package/tenantRelationships/delegatedAdminRelationships/item/accessAssignments/index.d.ts +11 -9
  30. package/tenantRelationships/delegatedAdminRelationships/item/accessAssignments/index.d.ts.map +1 -1
  31. package/tenantRelationships/delegatedAdminRelationships/item/accessAssignments/index.js +9 -11
  32. package/tenantRelationships/delegatedAdminRelationships/item/accessAssignments/item/index.d.ts +12 -9
  33. package/tenantRelationships/delegatedAdminRelationships/item/accessAssignments/item/index.d.ts.map +1 -1
  34. package/tenantRelationships/delegatedAdminRelationships/item/accessAssignments/item/index.js +11 -11
  35. package/tenantRelationships/delegatedAdminRelationships/item/index.d.ts +12 -9
  36. package/tenantRelationships/delegatedAdminRelationships/item/index.d.ts.map +1 -1
  37. package/tenantRelationships/delegatedAdminRelationships/item/index.js +11 -14
  38. package/tenantRelationships/delegatedAdminRelationships/item/operations/count/index.d.ts +7 -6
  39. package/tenantRelationships/delegatedAdminRelationships/item/operations/count/index.d.ts.map +1 -1
  40. package/tenantRelationships/delegatedAdminRelationships/item/operations/count/index.js +7 -7
  41. package/tenantRelationships/delegatedAdminRelationships/item/operations/index.d.ts +11 -9
  42. package/tenantRelationships/delegatedAdminRelationships/item/operations/index.d.ts.map +1 -1
  43. package/tenantRelationships/delegatedAdminRelationships/item/operations/index.js +9 -11
  44. package/tenantRelationships/delegatedAdminRelationships/item/operations/item/index.d.ts +12 -9
  45. package/tenantRelationships/delegatedAdminRelationships/item/operations/item/index.d.ts.map +1 -1
  46. package/tenantRelationships/delegatedAdminRelationships/item/operations/item/index.js +11 -11
  47. package/tenantRelationships/delegatedAdminRelationships/item/requests/count/index.d.ts +7 -6
  48. package/tenantRelationships/delegatedAdminRelationships/item/requests/count/index.d.ts.map +1 -1
  49. package/tenantRelationships/delegatedAdminRelationships/item/requests/count/index.js +7 -7
  50. package/tenantRelationships/delegatedAdminRelationships/item/requests/index.d.ts +11 -9
  51. package/tenantRelationships/delegatedAdminRelationships/item/requests/index.d.ts.map +1 -1
  52. package/tenantRelationships/delegatedAdminRelationships/item/requests/index.js +9 -11
  53. package/tenantRelationships/delegatedAdminRelationships/item/requests/item/index.d.ts +12 -9
  54. package/tenantRelationships/delegatedAdminRelationships/item/requests/item/index.d.ts.map +1 -1
  55. package/tenantRelationships/delegatedAdminRelationships/item/requests/item/index.js +11 -11
  56. package/tenantRelationships/findTenantInformationByDomainNameWithDomainName/index.d.ts +7 -6
  57. package/tenantRelationships/findTenantInformationByDomainNameWithDomainName/index.d.ts.map +1 -1
  58. package/tenantRelationships/findTenantInformationByDomainNameWithDomainName/index.js +7 -7
  59. package/tenantRelationships/findTenantInformationByTenantIdWithTenantId/index.d.ts +7 -6
  60. package/tenantRelationships/findTenantInformationByTenantIdWithTenantId/index.d.ts.map +1 -1
  61. package/tenantRelationships/findTenantInformationByTenantIdWithTenantId/index.js +7 -7
  62. package/tenantRelationships/index.d.ts +12 -10
  63. package/tenantRelationships/index.d.ts.map +1 -1
  64. package/tenantRelationships/index.js +9 -13
  65. package/tenantRelationshipsServiceClient.d.ts.map +1 -1
  66. package/tenantRelationshipsServiceClient.js +1 -2
  67. package/tsconfig.tsbuildinfo +1 -1
@@ -7,38 +7,41 @@ export interface DelegatedAdminServiceManagementDetailItemRequestBuilder extends
7
7
  /**
8
8
  * Delete navigation property serviceManagementDetails for tenantRelationships
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
  */
11
12
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
12
13
  /**
13
14
  * Contains the management details of a service in the customer tenant that's managed by delegated administration.
14
15
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
- * @returns a Promise of DelegatedAdminServiceManagementDetail
16
+ * @returns {Promise<DelegatedAdminServiceManagementDetail>}
17
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
16
18
  */
17
19
  get(requestConfiguration?: RequestConfiguration<DelegatedAdminServiceManagementDetailItemRequestBuilderGetQueryParameters> | undefined): Promise<DelegatedAdminServiceManagementDetail | undefined>;
18
20
  /**
19
21
  * Update the navigation property serviceManagementDetails in tenantRelationships
20
22
  * @param body The request body
21
23
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
- * @returns a Promise of DelegatedAdminServiceManagementDetail
24
+ * @returns {Promise<DelegatedAdminServiceManagementDetail>}
25
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
23
26
  */
24
27
  patch(body: DelegatedAdminServiceManagementDetail, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DelegatedAdminServiceManagementDetail | undefined>;
25
28
  /**
26
29
  * Delete navigation property serviceManagementDetails for tenantRelationships
27
30
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
28
- * @returns a RequestInformation
31
+ * @returns {RequestInformation}
29
32
  */
30
33
  toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
31
34
  /**
32
35
  * Contains the management details of a service in the customer tenant that's managed by delegated administration.
33
36
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
34
- * @returns a RequestInformation
37
+ * @returns {RequestInformation}
35
38
  */
36
39
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<DelegatedAdminServiceManagementDetailItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
37
40
  /**
38
41
  * Update the navigation property serviceManagementDetails in tenantRelationships
39
42
  * @param body The request body
40
43
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
41
- * @returns a RequestInformation
44
+ * @returns {RequestInformation}
42
45
  */
43
46
  toPatchRequestInformation(body: DelegatedAdminServiceManagementDetail, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
44
47
  }
@@ -55,12 +58,12 @@ export interface DelegatedAdminServiceManagementDetailItemRequestBuilderGetQuery
55
58
  */
56
59
  select?: string[];
57
60
  }
58
- /**
59
- * Metadata for all the requests in the request builder.
60
- */
61
- export declare const DelegatedAdminServiceManagementDetailItemRequestBuilderRequestsMetadata: RequestsMetadata;
62
61
  /**
63
62
  * Uri template for the request builder.
64
63
  */
65
64
  export declare const DelegatedAdminServiceManagementDetailItemRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminCustomers/{delegatedAdminCustomer%2Did}/serviceManagementDetails/{delegatedAdminServiceManagementDetail%2Did}{?%24expand,%24select}";
65
+ /**
66
+ * Metadata for all the requests in the request builder.
67
+ */
68
+ export declare const DelegatedAdminServiceManagementDetailItemRequestBuilderRequestsMetadata: RequestsMetadata;
66
69
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAqH,KAAK,qCAAqC,EAAE,MAAM,gCAAgC,CAAC;AAE/M,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,uDAAwD,SAAQ,kBAAkB,CAAC,uDAAuD,CAAC;IACxJ;;;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,yEAAyE,CAAC,G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AoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yEAAyE,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,qCAAqC,GAAG,SAAS,CAAC,CAAC;IACtM;;;;;;OAMG;IACF,KAAK,CAAC,IAAI,EAAE,qCAAqC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,qCAAqC,GAAG,SAAS,CAAC,CAAC;IAClL;;;;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,yEAAyE,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClL;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,qCAAqC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjK;AACD;;GAEG;AACH,MAAM,WAAW,yEAAyE;IACtF;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,kEAAkE,qLAAqL,CAAC;AAQrQ;;GAEG;AACH,eAAO,MAAM,uEAAuE,EAAE,gBA+BrF,CAAC"}
@@ -1,11 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DelegatedAdminServiceManagementDetailItemRequestBuilderUriTemplate = exports.DelegatedAdminServiceManagementDetailItemRequestBuilderRequestsMetadata = void 0;
3
+ exports.DelegatedAdminServiceManagementDetailItemRequestBuilderRequestsMetadata = exports.DelegatedAdminServiceManagementDetailItemRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
7
7
  const models_1 = require("@microsoft/msgraph-sdk/models/");
8
8
  const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ /**
10
+ * Uri template for the request builder.
11
+ */
12
+ exports.DelegatedAdminServiceManagementDetailItemRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminCustomers/{delegatedAdminCustomer%2Did}/serviceManagementDetails/{delegatedAdminServiceManagementDetail%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 DelegatedAdminServiceManagementDetailItemRequestBuilderGetQueryParametersM
18
22
  */
19
23
  exports.DelegatedAdminServiceManagementDetailItemRequestBuilderRequestsMetadata = {
20
24
  delete: {
25
+ uriTemplate: exports.DelegatedAdminServiceManagementDetailItemRequestBuilderUriTemplate,
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.DelegatedAdminServiceManagementDetailItemRequestBuilderUriTemplate,
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: models_1.createDelegatedAdminServiceManagementDetailFromDiscriminatorValue,
36
40
  queryParametersMapper: DelegatedAdminServiceManagementDetailItemRequestBuilderGetQueryParametersMapper,
37
41
  },
38
42
  patch: {
43
+ uriTemplate: exports.DelegatedAdminServiceManagementDetailItemRequestBuilderUriTemplate,
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: models_1.createDelegatedAdminServiceManagementDetailFromDiscriminatorValue,
@@ -48,9 +52,5 @@ exports.DelegatedAdminServiceManagementDetailItemRequestBuilderRequestsMetadata
48
52
  requestInformationContentSetMethod: "setContentFromParsable",
49
53
  },
50
54
  };
51
- /**
52
- * Uri template for the request builder.
53
- */
54
- exports.DelegatedAdminServiceManagementDetailItemRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminCustomers/{delegatedAdminCustomer%2Did}/serviceManagementDetails/{delegatedAdminServiceManagementDetail%2Did}{?%24expand,%24select}";
55
55
  /* tslint:enable */
56
56
  /* 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
  }
@@ -29,12 +30,12 @@ export interface CountRequestBuilderGetQueryParameters {
29
30
  */
30
31
  search?: string;
31
32
  }
32
- /**
33
- * Metadata for all the requests in the request builder.
34
- */
35
- export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
36
33
  /**
37
34
  * Uri template for the request builder.
38
35
  */
39
36
  export declare const CountRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminRelationships/$count{?%24filter,%24search}";
37
+ /**
38
+ * Metadata for all the requests in the request builder.
39
+ */
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,4FAA4F,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,4FAA4F,CAAC;AAQxI;;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}/tenantRelationships/delegatedAdminRelationships/$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}/tenantRelationships/delegatedAdminRelationships/$count{?%24filter,%24search}";
34
34
  /* tslint:enable */
35
35
  /* eslint-enable */
@@ -13,13 +13,14 @@ export interface DelegatedAdminRelationshipsRequestBuilder extends BaseRequestBu
13
13
  /**
14
14
  * Provides operations to manage the delegatedAdminRelationships property of the microsoft.graph.tenantRelationship entity.
15
15
  * @param delegatedAdminRelationshipId The unique identifier of delegatedAdminRelationship
16
- * @returns a DelegatedAdminRelationshipItemRequestBuilder
16
+ * @returns {DelegatedAdminRelationshipItemRequestBuilder}
17
17
  */
18
18
  byDelegatedAdminRelationshipId(delegatedAdminRelationshipId: string): DelegatedAdminRelationshipItemRequestBuilder;
19
19
  /**
20
20
  * Get a list of the delegatedAdminRelationship objects and their properties.
21
21
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
- * @returns a Promise of DelegatedAdminRelationshipCollectionResponse
22
+ * @returns {Promise<DelegatedAdminRelationshipCollectionResponse>}
23
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
23
24
  * @see {@link https://learn.microsoft.com/graph/api/tenantrelationship-list-delegatedadminrelationships?view=graph-rest-1.0|Find more info here}
24
25
  */
25
26
  get(requestConfiguration?: RequestConfiguration<DelegatedAdminRelationshipsRequestBuilderGetQueryParameters> | undefined): Promise<DelegatedAdminRelationshipCollectionResponse | undefined>;
@@ -27,21 +28,22 @@ export interface DelegatedAdminRelationshipsRequestBuilder extends BaseRequestBu
27
28
  * Create a new delegatedAdminRelationship object.
28
29
  * @param body The request body
29
30
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
30
- * @returns a Promise of DelegatedAdminRelationship
31
+ * @returns {Promise<DelegatedAdminRelationship>}
32
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
31
33
  * @see {@link https://learn.microsoft.com/graph/api/tenantrelationship-post-delegatedadminrelationships?view=graph-rest-1.0|Find more info here}
32
34
  */
33
35
  post(body: DelegatedAdminRelationship, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DelegatedAdminRelationship | undefined>;
34
36
  /**
35
37
  * Get a list of the delegatedAdminRelationship objects and their properties.
36
38
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
- * @returns a RequestInformation
39
+ * @returns {RequestInformation}
38
40
  */
39
41
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<DelegatedAdminRelationshipsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
40
42
  /**
41
43
  * Create a new delegatedAdminRelationship object.
42
44
  * @param body The request body
43
45
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
44
- * @returns a RequestInformation
46
+ * @returns {RequestInformation}
45
47
  */
46
48
  toPostRequestInformation(body: DelegatedAdminRelationship, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
49
  }
@@ -82,6 +84,10 @@ export interface DelegatedAdminRelationshipsRequestBuilderGetQueryParameters {
82
84
  */
83
85
  top?: number;
84
86
  }
87
+ /**
88
+ * Uri template for the request builder.
89
+ */
90
+ export declare const DelegatedAdminRelationshipsRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminRelationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
85
91
  /**
86
92
  * Metadata for all the navigation properties in the request builder.
87
93
  */
@@ -90,8 +96,4 @@ export declare const DelegatedAdminRelationshipsRequestBuilderNavigationMetadata
90
96
  * Metadata for all the requests in the request builder.
91
97
  */
92
98
  export declare const DelegatedAdminRelationshipsRequestBuilderRequestsMetadata: RequestsMetadata;
93
- /**
94
- * Uri template for the request builder.
95
- */
96
- export declare const DelegatedAdminRelationshipsRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminRelationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
97
99
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAyK,KAAK,0BAA0B,EAAE,KAAK,4CAA4C,EAAE,MAAM,gCAAgC,CAAC;AAE3S,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAAyL,KAAK,4CAA4C,EAAE,MAAM,SAAS,CAAC;AACnQ,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,yCAA0C,SAAQ,kBAAkB,CAAC,yCAAyC,CAAC;IAC5H;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,8BAA8B,CAAC,4BAA4B,EAAE,MAAM,GAAI,4CAA4C,CAAC;IACrH;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,2DAA2D,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,4CAA4C,GAAG,SAAS,CAAC,CAAC;IAC/L;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,0B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E,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,oDAAoD,4IAA4I,CAAC;AAc9M;;GAEG;AACH,eAAO,MAAM,2DAA2D,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,yCAAyC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAShM,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,yDAAyD,EAAE,gBAuBvE,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DelegatedAdminRelationshipsRequestBuilderUriTemplate = exports.DelegatedAdminRelationshipsRequestBuilderRequestsMetadata = exports.DelegatedAdminRelationshipsRequestBuilderNavigationMetadata = void 0;
3
+ exports.DelegatedAdminRelationshipsRequestBuilderRequestsMetadata = exports.DelegatedAdminRelationshipsRequestBuilderNavigationMetadata = exports.DelegatedAdminRelationshipsRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
@@ -8,6 +8,10 @@ const models_1 = require("@microsoft/msgraph-sdk/models/");
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.DelegatedAdminRelationshipsRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminRelationships{?%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,13 +30,11 @@ const DelegatedAdminRelationshipsRequestBuilderGetQueryParametersMapper = {
26
30
  */
27
31
  exports.DelegatedAdminRelationshipsRequestBuilderNavigationMetadata = {
28
32
  byDelegatedAdminRelationshipId: {
29
- uriTemplate: item_1.DelegatedAdminRelationshipItemRequestBuilderUriTemplate,
30
33
  requestsMetadata: item_1.DelegatedAdminRelationshipItemRequestBuilderRequestsMetadata,
31
34
  navigationMetadata: item_1.DelegatedAdminRelationshipItemRequestBuilderNavigationMetadata,
32
35
  pathParametersMappings: ["delegatedAdminRelationship%2Did"],
33
36
  },
34
37
  count: {
35
- uriTemplate: count_1.CountRequestBuilderUriTemplate,
36
38
  requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
37
39
  },
38
40
  };
@@ -41,20 +43,20 @@ exports.DelegatedAdminRelationshipsRequestBuilderNavigationMetadata = {
41
43
  */
42
44
  exports.DelegatedAdminRelationshipsRequestBuilderRequestsMetadata = {
43
45
  get: {
46
+ uriTemplate: exports.DelegatedAdminRelationshipsRequestBuilderUriTemplate,
44
47
  responseBodyContentType: "application/json",
45
48
  errorMappings: {
46
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
47
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
49
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
48
50
  },
49
51
  adapterMethodName: "sendAsync",
50
52
  responseBodyFactory: models_1.createDelegatedAdminRelationshipCollectionResponseFromDiscriminatorValue,
51
53
  queryParametersMapper: DelegatedAdminRelationshipsRequestBuilderGetQueryParametersMapper,
52
54
  },
53
55
  post: {
56
+ uriTemplate: exports.DelegatedAdminRelationshipsRequestBuilderUriTemplate,
54
57
  responseBodyContentType: "application/json",
55
58
  errorMappings: {
56
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
57
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
59
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
58
60
  },
59
61
  adapterMethodName: "sendAsync",
60
62
  responseBodyFactory: models_1.createDelegatedAdminRelationshipFromDiscriminatorValue,
@@ -63,9 +65,5 @@ exports.DelegatedAdminRelationshipsRequestBuilderRequestsMetadata = {
63
65
  requestInformationContentSetMethod: "setContentFromParsable",
64
66
  },
65
67
  };
66
- /**
67
- * Uri template for the request builder.
68
- */
69
- exports.DelegatedAdminRelationshipsRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminRelationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
70
68
  /* tslint:enable */
71
69
  /* 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
  }
@@ -29,12 +30,12 @@ export interface CountRequestBuilderGetQueryParameters {
29
30
  */
30
31
  search?: string;
31
32
  }
32
- /**
33
- * Metadata for all the requests in the request builder.
34
- */
35
- export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
36
33
  /**
37
34
  * Uri template for the request builder.
38
35
  */
39
36
  export declare const CountRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminRelationships/{delegatedAdminRelationship%2Did}/accessAssignments/$count{?%24filter,%24search}";
37
+ /**
38
+ * Metadata for all the requests in the request builder.
39
+ */
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,gJAAgJ,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,gJAAgJ,CAAC;AAQ5L;;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}/tenantRelationships/delegatedAdminRelationships/{delegatedAdminRelationship%2Did}/accessAssignments/$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}/tenantRelationships/delegatedAdminRelationships/{delegatedAdminRelationship%2Did}/accessAssignments/$count{?%24filter,%24search}";
34
34
  /* tslint:enable */
35
35
  /* eslint-enable */
@@ -13,13 +13,14 @@ export interface AccessAssignmentsRequestBuilder extends BaseRequestBuilder<Acce
13
13
  /**
14
14
  * Provides operations to manage the accessAssignments property of the microsoft.graph.delegatedAdminRelationship entity.
15
15
  * @param delegatedAdminAccessAssignmentId The unique identifier of delegatedAdminAccessAssignment
16
- * @returns a DelegatedAdminAccessAssignmentItemRequestBuilder
16
+ * @returns {DelegatedAdminAccessAssignmentItemRequestBuilder}
17
17
  */
18
18
  byDelegatedAdminAccessAssignmentId(delegatedAdminAccessAssignmentId: string): DelegatedAdminAccessAssignmentItemRequestBuilder;
19
19
  /**
20
20
  * Get a list of the delegatedAdminAccessAssignment objects and their properties.
21
21
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
- * @returns a Promise of DelegatedAdminAccessAssignmentCollectionResponse
22
+ * @returns {Promise<DelegatedAdminAccessAssignmentCollectionResponse>}
23
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
23
24
  * @see {@link https://learn.microsoft.com/graph/api/delegatedadminrelationship-list-accessassignments?view=graph-rest-1.0|Find more info here}
24
25
  */
25
26
  get(requestConfiguration?: RequestConfiguration<AccessAssignmentsRequestBuilderGetQueryParameters> | undefined): Promise<DelegatedAdminAccessAssignmentCollectionResponse | undefined>;
@@ -27,21 +28,22 @@ export interface AccessAssignmentsRequestBuilder extends BaseRequestBuilder<Acce
27
28
  * Create a new delegatedAdminAccessAssignment object.
28
29
  * @param body The request body
29
30
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
30
- * @returns a Promise of DelegatedAdminAccessAssignment
31
+ * @returns {Promise<DelegatedAdminAccessAssignment>}
32
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
31
33
  * @see {@link https://learn.microsoft.com/graph/api/delegatedadminrelationship-post-accessassignments?view=graph-rest-1.0|Find more info here}
32
34
  */
33
35
  post(body: DelegatedAdminAccessAssignment, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DelegatedAdminAccessAssignment | undefined>;
34
36
  /**
35
37
  * Get a list of the delegatedAdminAccessAssignment objects and their properties.
36
38
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
- * @returns a RequestInformation
39
+ * @returns {RequestInformation}
38
40
  */
39
41
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<AccessAssignmentsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
40
42
  /**
41
43
  * Create a new delegatedAdminAccessAssignment object.
42
44
  * @param body The request body
43
45
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
44
- * @returns a RequestInformation
46
+ * @returns {RequestInformation}
45
47
  */
46
48
  toPostRequestInformation(body: DelegatedAdminAccessAssignment, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
49
  }
@@ -82,6 +84,10 @@ export interface AccessAssignmentsRequestBuilderGetQueryParameters {
82
84
  */
83
85
  top?: number;
84
86
  }
87
+ /**
88
+ * Uri template for the request builder.
89
+ */
90
+ export declare const AccessAssignmentsRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminRelationships/{delegatedAdminRelationship%2Did}/accessAssignments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
85
91
  /**
86
92
  * Metadata for all the navigation properties in the request builder.
87
93
  */
@@ -90,8 +96,4 @@ export declare const AccessAssignmentsRequestBuilderNavigationMetadata: Record<E
90
96
  * Metadata for all the requests in the request builder.
91
97
  */
92
98
  export declare const AccessAssignmentsRequestBuilderRequestsMetadata: RequestsMetadata;
93
- /**
94
- * Uri template for the request builder.
95
- */
96
- export declare const AccessAssignmentsRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminRelationships/{delegatedAdminRelationship%2Did}/accessAssignments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
97
99
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAqL,KAAK,8BAA8B,EAAE,KAAK,gDAAgD,EAAE,MAAM,gCAAgC,CAAC;AAE/T,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAAiI,KAAK,gDAAgD,EAAE,MAAM,SAAS,CAAC;AAC/M,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,+BAAgC,SAAQ,kBAAkB,CAAC,+BAA+B,CAAC;IACxG;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,kCAAkC,CAAC,gCAAgC,EAAE,MAAM,GAAI,gDAAgD,CAAC;IACjI;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,iDAAiD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,gDAAgD,GAAG,SAAS,CAAC,CAAC;IACzL;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,8BAA8B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,8BAA8B,GAAG,SAAS,CAAC,CAAC;IACnK;;;;OAIG;IACF,uBAAuB,CAAC,oBAA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AE,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AACD;;GAEG;AACH,eAAO,MAAM,0CAA0C,gMAAgM,CAAC;AAcxP;;GAEG;AACH,eAAO,MAAM,iDAAiD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,+BAA+B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAQ5K,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,+CAA+C,EAAE,gBAuB7D,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AccessAssignmentsRequestBuilderUriTemplate = exports.AccessAssignmentsRequestBuilderRequestsMetadata = exports.AccessAssignmentsRequestBuilderNavigationMetadata = void 0;
3
+ exports.AccessAssignmentsRequestBuilderRequestsMetadata = exports.AccessAssignmentsRequestBuilderNavigationMetadata = exports.AccessAssignmentsRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
@@ -8,6 +8,10 @@ const models_1 = require("@microsoft/msgraph-sdk/models/");
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.AccessAssignmentsRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminRelationships/{delegatedAdminRelationship%2Did}/accessAssignments{?%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 AccessAssignmentsRequestBuilderGetQueryParametersMapper = {
26
30
  */
27
31
  exports.AccessAssignmentsRequestBuilderNavigationMetadata = {
28
32
  byDelegatedAdminAccessAssignmentId: {
29
- uriTemplate: item_1.DelegatedAdminAccessAssignmentItemRequestBuilderUriTemplate,
30
33
  requestsMetadata: item_1.DelegatedAdminAccessAssignmentItemRequestBuilderRequestsMetadata,
31
34
  pathParametersMappings: ["delegatedAdminAccessAssignment%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.AccessAssignmentsRequestBuilderNavigationMetadata = {
40
42
  */
41
43
  exports.AccessAssignmentsRequestBuilderRequestsMetadata = {
42
44
  get: {
45
+ uriTemplate: exports.AccessAssignmentsRequestBuilderUriTemplate,
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: models_1.createDelegatedAdminAccessAssignmentCollectionResponseFromDiscriminatorValue,
50
52
  queryParametersMapper: AccessAssignmentsRequestBuilderGetQueryParametersMapper,
51
53
  },
52
54
  post: {
55
+ uriTemplate: exports.AccessAssignmentsRequestBuilderUriTemplate,
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: models_1.createDelegatedAdminAccessAssignmentFromDiscriminatorValue,
@@ -62,9 +64,5 @@ exports.AccessAssignmentsRequestBuilderRequestsMetadata = {
62
64
  requestInformationContentSetMethod: "setContentFromParsable",
63
65
  },
64
66
  };
65
- /**
66
- * Uri template for the request builder.
67
- */
68
- exports.AccessAssignmentsRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminRelationships/{delegatedAdminRelationship%2Did}/accessAssignments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
69
67
  /* tslint:enable */
70
68
  /* eslint-enable */