@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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/msgraph-sdk-tenantrelationships",
3
- "version": "1.0.0-preview.13",
3
+ "version": "1.0.0-preview.15",
4
4
  "description": "TenantRelationships fluent API for Microsoft Graph",
5
5
  "keywords": [
6
6
  "Microsoft",
@@ -37,12 +37,12 @@
37
37
  "@microsoft/kiota-serialization-json": "^1.0.0-preview.39",
38
38
  "@microsoft/kiota-serialization-multipart": "^1.0.0-preview.18",
39
39
  "@microsoft/kiota-serialization-text": "^1.0.0-preview.36",
40
- "@microsoft/msgraph-sdk": "^1.0.0-preview.13",
40
+ "@microsoft/msgraph-sdk": "^1.0.0-preview.15",
41
41
  "guid-typescript": "^1.0.9",
42
42
  "tslib": "^2.6.2"
43
43
  },
44
44
  "devDependencies": {
45
45
  "typescript": "^5.3.3"
46
46
  },
47
- "gitHead": "906523af8adf701b2d621c1a44f91c8039b77418"
47
+ "gitHead": "1dcf0e9093a5645283fea0e91cc30247bc3a76c4"
48
48
  }
@@ -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/delegatedAdminCustomers/$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,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}/tenantRelationships/delegatedAdminCustomers/$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/delegatedAdminCustomers/$count{?%24filter,%24search}";
34
34
  /* tslint:enable */
35
35
  /* eslint-enable */
@@ -13,13 +13,14 @@ export interface DelegatedAdminCustomersRequestBuilder extends BaseRequestBuilde
13
13
  /**
14
14
  * Provides operations to manage the delegatedAdminCustomers property of the microsoft.graph.tenantRelationship entity.
15
15
  * @param delegatedAdminCustomerId The unique identifier of delegatedAdminCustomer
16
- * @returns a DelegatedAdminCustomerItemRequestBuilder
16
+ * @returns {DelegatedAdminCustomerItemRequestBuilder}
17
17
  */
18
18
  byDelegatedAdminCustomerId(delegatedAdminCustomerId: string): DelegatedAdminCustomerItemRequestBuilder;
19
19
  /**
20
20
  * Get a list of the delegatedAdminCustomer 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 DelegatedAdminCustomerCollectionResponse
22
+ * @returns {Promise<DelegatedAdminCustomerCollectionResponse>}
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-delegatedadmincustomers?view=graph-rest-1.0|Find more info here}
24
25
  */
25
26
  get(requestConfiguration?: RequestConfiguration<DelegatedAdminCustomersRequestBuilderGetQueryParameters> | undefined): Promise<DelegatedAdminCustomerCollectionResponse | undefined>;
@@ -27,20 +28,21 @@ export interface DelegatedAdminCustomersRequestBuilder extends BaseRequestBuilde
27
28
  * Create new navigation property to delegatedAdminCustomers for tenantRelationships
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 DelegatedAdminCustomer
31
+ * @returns {Promise<DelegatedAdminCustomer>}
32
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
31
33
  */
32
34
  post(body: DelegatedAdminCustomer, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DelegatedAdminCustomer | undefined>;
33
35
  /**
34
36
  * Get a list of the delegatedAdminCustomer objects and their properties.
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<DelegatedAdminCustomersRequestBuilderGetQueryParameters> | undefined): RequestInformation;
39
41
  /**
40
42
  * Create new navigation property to delegatedAdminCustomers for tenantRelationships
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: DelegatedAdminCustomer, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
46
48
  }
@@ -81,6 +83,10 @@ export interface DelegatedAdminCustomersRequestBuilderGetQueryParameters {
81
83
  */
82
84
  top?: number;
83
85
  }
86
+ /**
87
+ * Uri template for the request builder.
88
+ */
89
+ export declare const DelegatedAdminCustomersRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminCustomers{?%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 DelegatedAdminCustomersRequestBuilderNavigationMetadata: Re
89
95
  * Metadata for all the requests in the request builder.
90
96
  */
91
97
  export declare const DelegatedAdminCustomersRequestBuilderRequestsMetadata: RequestsMetadata;
92
- /**
93
- * Uri template for the request builder.
94
- */
95
- export declare const DelegatedAdminCustomersRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminCustomers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
96
98
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
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CAAC,EAAE,kBAAkB,CASxL,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,qDAAqD,EAAE,gBAuBnE,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DelegatedAdminCustomersRequestBuilderUriTemplate = exports.DelegatedAdminCustomersRequestBuilderRequestsMetadata = exports.DelegatedAdminCustomersRequestBuilderNavigationMetadata = void 0;
3
+ exports.DelegatedAdminCustomersRequestBuilderRequestsMetadata = exports.DelegatedAdminCustomersRequestBuilderNavigationMetadata = exports.DelegatedAdminCustomersRequestBuilderUriTemplate = 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.DelegatedAdminCustomersRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminCustomers{?%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 DelegatedAdminCustomersRequestBuilderGetQueryParametersMapper = {
26
30
  */
27
31
  exports.DelegatedAdminCustomersRequestBuilderNavigationMetadata = {
28
32
  byDelegatedAdminCustomerId: {
29
- uriTemplate: item_1.DelegatedAdminCustomerItemRequestBuilderUriTemplate,
30
33
  requestsMetadata: item_1.DelegatedAdminCustomerItemRequestBuilderRequestsMetadata,
31
34
  navigationMetadata: item_1.DelegatedAdminCustomerItemRequestBuilderNavigationMetadata,
32
35
  pathParametersMappings: ["delegatedAdminCustomer%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.DelegatedAdminCustomersRequestBuilderNavigationMetadata = {
41
43
  */
42
44
  exports.DelegatedAdminCustomersRequestBuilderRequestsMetadata = {
43
45
  get: {
46
+ uriTemplate: exports.DelegatedAdminCustomersRequestBuilderUriTemplate,
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.createDelegatedAdminCustomerCollectionResponseFromDiscriminatorValue,
51
53
  queryParametersMapper: DelegatedAdminCustomersRequestBuilderGetQueryParametersMapper,
52
54
  },
53
55
  post: {
56
+ uriTemplate: exports.DelegatedAdminCustomersRequestBuilderUriTemplate,
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.createDelegatedAdminCustomerFromDiscriminatorValue,
@@ -63,9 +65,5 @@ exports.DelegatedAdminCustomersRequestBuilderRequestsMetadata = {
63
65
  requestInformationContentSetMethod: "setContentFromParsable",
64
66
  },
65
67
  };
66
- /**
67
- * Uri template for the request builder.
68
- */
69
- exports.DelegatedAdminCustomersRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminCustomers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
70
68
  /* tslint:enable */
71
69
  /* eslint-enable */
@@ -12,12 +12,14 @@ export interface DelegatedAdminCustomerItemRequestBuilder extends BaseRequestBui
12
12
  /**
13
13
  * Delete navigation property delegatedAdminCustomers for tenantRelationships
14
14
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
15
16
  */
16
17
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
17
18
  /**
18
19
  * Read the properties of a delegatedAdminCustomer object.
19
20
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
20
- * @returns a Promise of DelegatedAdminCustomer
21
+ * @returns {Promise<DelegatedAdminCustomer>}
22
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
21
23
  * @see {@link https://learn.microsoft.com/graph/api/delegatedadmincustomer-get?view=graph-rest-1.0|Find more info here}
22
24
  */
23
25
  get(requestConfiguration?: RequestConfiguration<DelegatedAdminCustomerItemRequestBuilderGetQueryParameters> | undefined): Promise<DelegatedAdminCustomer | undefined>;
@@ -25,26 +27,27 @@ export interface DelegatedAdminCustomerItemRequestBuilder extends BaseRequestBui
25
27
  * Update the navigation property delegatedAdminCustomers in tenantRelationships
26
28
  * @param body The request body
27
29
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
28
- * @returns a Promise of DelegatedAdminCustomer
30
+ * @returns {Promise<DelegatedAdminCustomer>}
31
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
29
32
  */
30
33
  patch(body: DelegatedAdminCustomer, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DelegatedAdminCustomer | undefined>;
31
34
  /**
32
35
  * Delete navigation property delegatedAdminCustomers for tenantRelationships
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
  toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
37
40
  /**
38
41
  * Read the properties of a delegatedAdminCustomer object.
39
42
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
40
- * @returns a RequestInformation
43
+ * @returns {RequestInformation}
41
44
  */
42
45
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<DelegatedAdminCustomerItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
43
46
  /**
44
47
  * Update the navigation property delegatedAdminCustomers in tenantRelationships
45
48
  * @param body The request body
46
49
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
47
- * @returns a RequestInformation
50
+ * @returns {RequestInformation}
48
51
  */
49
52
  toPatchRequestInformation(body: DelegatedAdminCustomer, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
50
53
  }
@@ -61,6 +64,10 @@ export interface DelegatedAdminCustomerItemRequestBuilderGetQueryParameters {
61
64
  */
62
65
  select?: string[];
63
66
  }
67
+ /**
68
+ * Uri template for the request builder.
69
+ */
70
+ export declare const DelegatedAdminCustomerItemRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminCustomers/{delegatedAdminCustomer%2Did}{?%24expand,%24select}";
64
71
  /**
65
72
  * Metadata for all the navigation properties in the request builder.
66
73
  */
@@ -69,8 +76,4 @@ export declare const DelegatedAdminCustomerItemRequestBuilderNavigationMetadata:
69
76
  * Metadata for all the requests in the request builder.
70
77
  */
71
78
  export declare const DelegatedAdminCustomerItemRequestBuilderRequestsMetadata: RequestsMetadata;
72
- /**
73
- * Uri template for the request builder.
74
- */
75
- export declare const DelegatedAdminCustomerItemRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminCustomers/{delegatedAdminCustomer%2Did}{?%24expand,%24select}";
76
79
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAuF,KAAK,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAElK,OAAO,EAAuK,KAAK,sCAAsC,EAAE,MAAM,6BAA6B,CAAC;AAC/P,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAA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M,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,0DAA0D,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACnK;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,sBAAsB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClJ;AACD;;GAEG;AACH,MAAM,WAAW,0DAA0D;IACvE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,mDAAmD,+GAA+G,CAAC;AAQhL;;GAEG;AACH,eAAO,MAAM,0DAA0D,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,wCAAwC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAK9L,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,wDAAwD,EAAE,gBA+BtE,CAAC"}
@@ -1,12 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DelegatedAdminCustomerItemRequestBuilderUriTemplate = exports.DelegatedAdminCustomerItemRequestBuilderRequestsMetadata = exports.DelegatedAdminCustomerItemRequestBuilderNavigationMetadata = void 0;
3
+ exports.DelegatedAdminCustomerItemRequestBuilderRequestsMetadata = exports.DelegatedAdminCustomerItemRequestBuilderNavigationMetadata = exports.DelegatedAdminCustomerItemRequestBuilderUriTemplate = 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
9
  const serviceManagementDetails_1 = require("./serviceManagementDetails/");
10
+ /**
11
+ * Uri template for the request builder.
12
+ */
13
+ exports.DelegatedAdminCustomerItemRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminCustomers/{delegatedAdminCustomer%2Did}{?%24expand,%24select}";
10
14
  /**
11
15
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
12
16
  */
@@ -19,7 +23,6 @@ const DelegatedAdminCustomerItemRequestBuilderGetQueryParametersMapper = {
19
23
  */
20
24
  exports.DelegatedAdminCustomerItemRequestBuilderNavigationMetadata = {
21
25
  serviceManagementDetails: {
22
- uriTemplate: serviceManagementDetails_1.ServiceManagementDetailsRequestBuilderUriTemplate,
23
26
  requestsMetadata: serviceManagementDetails_1.ServiceManagementDetailsRequestBuilderRequestsMetadata,
24
27
  navigationMetadata: serviceManagementDetails_1.ServiceManagementDetailsRequestBuilderNavigationMetadata,
25
28
  },
@@ -29,28 +32,28 @@ exports.DelegatedAdminCustomerItemRequestBuilderNavigationMetadata = {
29
32
  */
30
33
  exports.DelegatedAdminCustomerItemRequestBuilderRequestsMetadata = {
31
34
  delete: {
35
+ uriTemplate: exports.DelegatedAdminCustomerItemRequestBuilderUriTemplate,
32
36
  responseBodyContentType: "application/json",
33
37
  errorMappings: {
34
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
35
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
38
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
36
39
  },
37
40
  adapterMethodName: "sendNoResponseContentAsync",
38
41
  },
39
42
  get: {
43
+ uriTemplate: exports.DelegatedAdminCustomerItemRequestBuilderUriTemplate,
40
44
  responseBodyContentType: "application/json",
41
45
  errorMappings: {
42
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
43
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
46
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
44
47
  },
45
48
  adapterMethodName: "sendAsync",
46
49
  responseBodyFactory: models_1.createDelegatedAdminCustomerFromDiscriminatorValue,
47
50
  queryParametersMapper: DelegatedAdminCustomerItemRequestBuilderGetQueryParametersMapper,
48
51
  },
49
52
  patch: {
53
+ uriTemplate: exports.DelegatedAdminCustomerItemRequestBuilderUriTemplate,
50
54
  responseBodyContentType: "application/json",
51
55
  errorMappings: {
52
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
53
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
56
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
54
57
  },
55
58
  adapterMethodName: "sendAsync",
56
59
  responseBodyFactory: models_1.createDelegatedAdminCustomerFromDiscriminatorValue,
@@ -59,9 +62,5 @@ exports.DelegatedAdminCustomerItemRequestBuilderRequestsMetadata = {
59
62
  requestInformationContentSetMethod: "setContentFromParsable",
60
63
  },
61
64
  };
62
- /**
63
- * Uri template for the request builder.
64
- */
65
- exports.DelegatedAdminCustomerItemRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminCustomers/{delegatedAdminCustomer%2Did}{?%24expand,%24select}";
66
65
  /* tslint:enable */
67
66
  /* 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/delegatedAdminCustomers/{delegatedAdminCustomer%2Did}/serviceManagementDetails/$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,+IAA+I,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,+IAA+I,CAAC;AAQ3L;;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/delegatedAdminCustomers/{delegatedAdminCustomer%2Did}/serviceManagementDetails/$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/delegatedAdminCustomers/{delegatedAdminCustomer%2Did}/serviceManagementDetails/$count{?%24filter,%24search}";
34
34
  /* tslint:enable */
35
35
  /* eslint-enable */
@@ -13,13 +13,14 @@ export interface ServiceManagementDetailsRequestBuilder extends BaseRequestBuild
13
13
  /**
14
14
  * Provides operations to manage the serviceManagementDetails property of the microsoft.graph.delegatedAdminCustomer entity.
15
15
  * @param delegatedAdminServiceManagementDetailId The unique identifier of delegatedAdminServiceManagementDetail
16
- * @returns a DelegatedAdminServiceManagementDetailItemRequestBuilder
16
+ * @returns {DelegatedAdminServiceManagementDetailItemRequestBuilder}
17
17
  */
18
18
  byDelegatedAdminServiceManagementDetailId(delegatedAdminServiceManagementDetailId: string): DelegatedAdminServiceManagementDetailItemRequestBuilder;
19
19
  /**
20
20
  * Get a list of the delegatedAdminServiceManagementDetail 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 DelegatedAdminServiceManagementDetailCollectionResponse
22
+ * @returns {Promise<DelegatedAdminServiceManagementDetailCollectionResponse>}
23
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
23
24
  * @see {@link https://learn.microsoft.com/graph/api/delegatedadmincustomer-list-servicemanagementdetails?view=graph-rest-1.0|Find more info here}
24
25
  */
25
26
  get(requestConfiguration?: RequestConfiguration<ServiceManagementDetailsRequestBuilderGetQueryParameters> | undefined): Promise<DelegatedAdminServiceManagementDetailCollectionResponse | undefined>;
@@ -27,20 +28,21 @@ export interface ServiceManagementDetailsRequestBuilder extends BaseRequestBuild
27
28
  * Create new navigation property to serviceManagementDetails for tenantRelationships
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 DelegatedAdminServiceManagementDetail
31
+ * @returns {Promise<DelegatedAdminServiceManagementDetail>}
32
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
31
33
  */
32
34
  post(body: DelegatedAdminServiceManagementDetail, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DelegatedAdminServiceManagementDetail | undefined>;
33
35
  /**
34
36
  * Get a list of the delegatedAdminServiceManagementDetail objects and their properties.
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<ServiceManagementDetailsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
39
41
  /**
40
42
  * Create new navigation property to serviceManagementDetails for tenantRelationships
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: DelegatedAdminServiceManagementDetail, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
46
48
  }
@@ -81,6 +83,10 @@ export interface ServiceManagementDetailsRequestBuilderGetQueryParameters {
81
83
  */
82
84
  top?: number;
83
85
  }
86
+ /**
87
+ * Uri template for the request builder.
88
+ */
89
+ export declare const ServiceManagementDetailsRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminCustomers/{delegatedAdminCustomer%2Did}/serviceManagementDetails{?%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 ServiceManagementDetailsRequestBuilderNavigationMetadata: R
89
95
  * Metadata for all the requests in the request builder.
90
96
  */
91
97
  export declare const ServiceManagementDetailsRequestBuilderRequestsMetadata: RequestsMetadata;
92
- /**
93
- * Uri template for the request builder.
94
- */
95
- export declare const ServiceManagementDetailsRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminCustomers/{delegatedAdminCustomer%2Did}/serviceManagementDetails{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
96
98
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA0M,KAAK,qCAAqC,EAAE,KAAK,uDAAuD,EAAE,MAAM,gCAAgC,CAAC;AAElW,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAA+I,KAAK,uDAAuD,EAAE,MAAM,SAAS,CAAC;AACpO,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,sCAAuC,SAAQ,kBAAkB,CAAC,sCAAsC,CAAC;IACtH;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,yCAAyC,CAAC,uCAAuC,EAAE,MAAM,GAAI,uDAAuD,CAAC;IACtJ;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,wDAAwD,CAAC,G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OAAO,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AACD;;GAEG;AACH,eAAO,MAAM,iDAAiD,+LAA+L,CAAC;AAc9P;;GAEG;AACH,eAAO,MAAM,wDAAwD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,sCAAsC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAQ1L,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,sDAAsD,EAAE,gBAuBpE,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ServiceManagementDetailsRequestBuilderUriTemplate = exports.ServiceManagementDetailsRequestBuilderRequestsMetadata = exports.ServiceManagementDetailsRequestBuilderNavigationMetadata = void 0;
3
+ exports.ServiceManagementDetailsRequestBuilderRequestsMetadata = exports.ServiceManagementDetailsRequestBuilderNavigationMetadata = exports.ServiceManagementDetailsRequestBuilderUriTemplate = 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.ServiceManagementDetailsRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminCustomers/{delegatedAdminCustomer%2Did}/serviceManagementDetails{?%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 ServiceManagementDetailsRequestBuilderGetQueryParametersMapper = {
26
30
  */
27
31
  exports.ServiceManagementDetailsRequestBuilderNavigationMetadata = {
28
32
  byDelegatedAdminServiceManagementDetailId: {
29
- uriTemplate: item_1.DelegatedAdminServiceManagementDetailItemRequestBuilderUriTemplate,
30
33
  requestsMetadata: item_1.DelegatedAdminServiceManagementDetailItemRequestBuilderRequestsMetadata,
31
34
  pathParametersMappings: ["delegatedAdminServiceManagementDetail%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.ServiceManagementDetailsRequestBuilderNavigationMetadata = {
40
42
  */
41
43
  exports.ServiceManagementDetailsRequestBuilderRequestsMetadata = {
42
44
  get: {
45
+ uriTemplate: exports.ServiceManagementDetailsRequestBuilderUriTemplate,
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.createDelegatedAdminServiceManagementDetailCollectionResponseFromDiscriminatorValue,
50
52
  queryParametersMapper: ServiceManagementDetailsRequestBuilderGetQueryParametersMapper,
51
53
  },
52
54
  post: {
55
+ uriTemplate: exports.ServiceManagementDetailsRequestBuilderUriTemplate,
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.createDelegatedAdminServiceManagementDetailFromDiscriminatorValue,
@@ -62,9 +64,5 @@ exports.ServiceManagementDetailsRequestBuilderRequestsMetadata = {
62
64
  requestInformationContentSetMethod: "setContentFromParsable",
63
65
  },
64
66
  };
65
- /**
66
- * Uri template for the request builder.
67
- */
68
- exports.ServiceManagementDetailsRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminCustomers/{delegatedAdminCustomer%2Did}/serviceManagementDetails{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
69
67
  /* tslint:enable */
70
68
  /* eslint-enable */