@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
@@ -1,11 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DelegatedAdminRelationshipOperationItemRequestBuilderUriTemplate = exports.DelegatedAdminRelationshipOperationItemRequestBuilderRequestsMetadata = void 0;
3
+ exports.DelegatedAdminRelationshipOperationItemRequestBuilderRequestsMetadata = exports.DelegatedAdminRelationshipOperationItemRequestBuilderUriTemplate = 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.DelegatedAdminRelationshipOperationItemRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminRelationships/{delegatedAdminRelationship%2Did}/operations/{delegatedAdminRelationshipOperation%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 DelegatedAdminRelationshipOperationItemRequestBuilderGetQueryParametersMap
18
22
  */
19
23
  exports.DelegatedAdminRelationshipOperationItemRequestBuilderRequestsMetadata = {
20
24
  delete: {
25
+ uriTemplate: exports.DelegatedAdminRelationshipOperationItemRequestBuilderUriTemplate,
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.DelegatedAdminRelationshipOperationItemRequestBuilderUriTemplate,
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.createDelegatedAdminRelationshipOperationFromDiscriminatorValue,
36
40
  queryParametersMapper: DelegatedAdminRelationshipOperationItemRequestBuilderGetQueryParametersMapper,
37
41
  },
38
42
  patch: {
43
+ uriTemplate: exports.DelegatedAdminRelationshipOperationItemRequestBuilderUriTemplate,
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.createDelegatedAdminRelationshipOperationFromDiscriminatorValue,
@@ -48,9 +52,5 @@ exports.DelegatedAdminRelationshipOperationItemRequestBuilderRequestsMetadata =
48
52
  requestInformationContentSetMethod: "setContentFromParsable",
49
53
  },
50
54
  };
51
- /**
52
- * Uri template for the request builder.
53
- */
54
- exports.DelegatedAdminRelationshipOperationItemRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminRelationships/{delegatedAdminRelationship%2Did}/operations/{delegatedAdminRelationshipOperation%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/{delegatedAdminRelationship%2Did}/requests/$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,uIAAuI,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,uIAAuI,CAAC;AAQnL;;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}/requests/$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}/requests/$count{?%24filter,%24search}";
34
34
  /* tslint:enable */
35
35
  /* eslint-enable */
@@ -13,13 +13,14 @@ export interface RequestsRequestBuilder extends BaseRequestBuilder<RequestsReque
13
13
  /**
14
14
  * Provides operations to manage the requests property of the microsoft.graph.delegatedAdminRelationship entity.
15
15
  * @param delegatedAdminRelationshipRequestId The unique identifier of delegatedAdminRelationshipRequest
16
- * @returns a DelegatedAdminRelationshipRequestItemRequestBuilder
16
+ * @returns {DelegatedAdminRelationshipRequestItemRequestBuilder}
17
17
  */
18
18
  byDelegatedAdminRelationshipRequestId(delegatedAdminRelationshipRequestId: string): DelegatedAdminRelationshipRequestItemRequestBuilder;
19
19
  /**
20
20
  * Get a list of the delegatedAdminRelationshipRequest 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 DelegatedAdminRelationshipRequestCollectionResponse
22
+ * @returns {Promise<DelegatedAdminRelationshipRequestCollectionResponse>}
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-requests?view=graph-rest-1.0|Find more info here}
24
25
  */
25
26
  get(requestConfiguration?: RequestConfiguration<RequestsRequestBuilderGetQueryParameters> | undefined): Promise<DelegatedAdminRelationshipRequestCollectionResponse | undefined>;
@@ -27,21 +28,22 @@ export interface RequestsRequestBuilder extends BaseRequestBuilder<RequestsReque
27
28
  * Create a new delegatedAdminRelationshipRequest 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 DelegatedAdminRelationshipRequest
31
+ * @returns {Promise<DelegatedAdminRelationshipRequest>}
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-requests?view=graph-rest-1.0|Find more info here}
32
34
  */
33
35
  post(body: DelegatedAdminRelationshipRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DelegatedAdminRelationshipRequest | undefined>;
34
36
  /**
35
37
  * Get a list of the delegatedAdminRelationshipRequest 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<RequestsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
40
42
  /**
41
43
  * Create a new delegatedAdminRelationshipRequest 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: DelegatedAdminRelationshipRequest, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
49
  }
@@ -82,6 +84,10 @@ export interface RequestsRequestBuilderGetQueryParameters {
82
84
  */
83
85
  top?: number;
84
86
  }
87
+ /**
88
+ * Uri template for the request builder.
89
+ */
90
+ export declare const RequestsRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminRelationships/{delegatedAdminRelationship%2Did}/requests{?%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 RequestsRequestBuilderNavigationMetadata: Record<Exclude<ke
90
96
  * Metadata for all the requests in the request builder.
91
97
  */
92
98
  export declare const RequestsRequestBuilderRequestsMetadata: RequestsMetadata;
93
- /**
94
- * Uri template for the request builder.
95
- */
96
- export declare const RequestsRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminRelationships/{delegatedAdminRelationship%2Did}/requests{?%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,EAA8L,KAAK,iCAAiC,EAAE,KAAK,mDAAmD,EAAE,MAAM,gCAAgC,CAAC;AAE9U,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAAuI,KAAK,mDAAmD,EAAE,MAAM,SAAS,CAAC;AACxN,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,sBAAuB,SAAQ,kBAAkB,CAAC,sBAAsB,CAAC;IACtF;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,qCAAqC,CAAC,mCAAmC,EAAE,MAAM,GAAI,mDAAmD,CAAC;IAC1I;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,wCAAwC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,mDAAmD,GAAG,SAAS,CAAC,CAAC;IACn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AAE,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,iCAAiC,uLAAuL,CAAC;AActO;;GAEG;AACH,eAAO,MAAM,wCAAwC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,sBAAsB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAQ1J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,gBAuBpD,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RequestsRequestBuilderUriTemplate = exports.RequestsRequestBuilderRequestsMetadata = exports.RequestsRequestBuilderNavigationMetadata = void 0;
3
+ exports.RequestsRequestBuilderRequestsMetadata = exports.RequestsRequestBuilderNavigationMetadata = exports.RequestsRequestBuilderUriTemplate = 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.RequestsRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminRelationships/{delegatedAdminRelationship%2Did}/requests{?%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 RequestsRequestBuilderGetQueryParametersMapper = {
26
30
  */
27
31
  exports.RequestsRequestBuilderNavigationMetadata = {
28
32
  byDelegatedAdminRelationshipRequestId: {
29
- uriTemplate: item_1.DelegatedAdminRelationshipRequestItemRequestBuilderUriTemplate,
30
33
  requestsMetadata: item_1.DelegatedAdminRelationshipRequestItemRequestBuilderRequestsMetadata,
31
34
  pathParametersMappings: ["delegatedAdminRelationshipRequest%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.RequestsRequestBuilderNavigationMetadata = {
40
42
  */
41
43
  exports.RequestsRequestBuilderRequestsMetadata = {
42
44
  get: {
45
+ uriTemplate: exports.RequestsRequestBuilderUriTemplate,
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.createDelegatedAdminRelationshipRequestCollectionResponseFromDiscriminatorValue,
50
52
  queryParametersMapper: RequestsRequestBuilderGetQueryParametersMapper,
51
53
  },
52
54
  post: {
55
+ uriTemplate: exports.RequestsRequestBuilderUriTemplate,
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.createDelegatedAdminRelationshipRequestFromDiscriminatorValue,
@@ -62,9 +64,5 @@ exports.RequestsRequestBuilderRequestsMetadata = {
62
64
  requestInformationContentSetMethod: "setContentFromParsable",
63
65
  },
64
66
  };
65
- /**
66
- * Uri template for the request builder.
67
- */
68
- exports.RequestsRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminRelationships/{delegatedAdminRelationship%2Did}/requests{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
69
67
  /* tslint:enable */
70
68
  /* eslint-enable */
@@ -7,12 +7,14 @@ export interface DelegatedAdminRelationshipRequestItemRequestBuilder extends Bas
7
7
  /**
8
8
  * Delete navigation property requests 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
  * Read the properties and relationships of a delegatedAdminRelationshipRequest object.
14
15
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
- * @returns a Promise of DelegatedAdminRelationshipRequest
16
+ * @returns {Promise<DelegatedAdminRelationshipRequest>}
17
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
16
18
  * @see {@link https://learn.microsoft.com/graph/api/delegatedadminrelationshiprequest-get?view=graph-rest-1.0|Find more info here}
17
19
  */
18
20
  get(requestConfiguration?: RequestConfiguration<DelegatedAdminRelationshipRequestItemRequestBuilderGetQueryParameters> | undefined): Promise<DelegatedAdminRelationshipRequest | undefined>;
@@ -20,26 +22,27 @@ export interface DelegatedAdminRelationshipRequestItemRequestBuilder extends Bas
20
22
  * Update the navigation property requests in tenantRelationships
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 DelegatedAdminRelationshipRequest
25
+ * @returns {Promise<DelegatedAdminRelationshipRequest>}
26
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
24
27
  */
25
28
  patch(body: DelegatedAdminRelationshipRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DelegatedAdminRelationshipRequest | undefined>;
26
29
  /**
27
30
  * Delete navigation property requests for tenantRelationships
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
  * Read the properties and relationships of a delegatedAdminRelationshipRequest object.
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<DelegatedAdminRelationshipRequestItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
38
41
  /**
39
42
  * Update the navigation property requests in tenantRelationships
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: DelegatedAdminRelationshipRequest, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
45
48
  }
@@ -56,12 +59,12 @@ export interface DelegatedAdminRelationshipRequestItemRequestBuilderGetQueryPara
56
59
  */
57
60
  select?: string[];
58
61
  }
59
- /**
60
- * Metadata for all the requests in the request builder.
61
- */
62
- export declare const DelegatedAdminRelationshipRequestItemRequestBuilderRequestsMetadata: RequestsMetadata;
63
62
  /**
64
63
  * Uri template for the request builder.
65
64
  */
66
65
  export declare const DelegatedAdminRelationshipRequestItemRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminRelationships/{delegatedAdminRelationship%2Did}/requests/{delegatedAdminRelationshipRequest%2Did}{?%24expand,%24select}";
66
+ /**
67
+ * Metadata for all the requests in the request builder.
68
+ */
69
+ export declare const DelegatedAdminRelationshipRequestItemRequestBuilderRequestsMetadata: RequestsMetadata;
67
70
  //# sour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,yBAAyB,CAAC,IAAI,EAAE,iCAAiC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC7J;AACD;;GAEG;AACH,MAAM,WAAW,qEAAqE;IAClF;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,8DAA8D,yKAAyK,CAAC;AAQrP;;GAEG;AACH,eAAO,MAAM,mEAAmE,EAAE,gBA+BjF,CAAC"}
@@ -1,11 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DelegatedAdminRelationshipRequestItemRequestBuilderUriTemplate = exports.DelegatedAdminRelationshipRequestItemRequestBuilderRequestsMetadata = void 0;
3
+ exports.DelegatedAdminRelationshipRequestItemRequestBuilderRequestsMetadata = exports.DelegatedAdminRelationshipRequestItemRequestBuilderUriTemplate = 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.DelegatedAdminRelationshipRequestItemRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminRelationships/{delegatedAdminRelationship%2Did}/requests/{delegatedAdminRelationshipRequest%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 DelegatedAdminRelationshipRequestItemRequestBuilderGetQueryParametersMappe
18
22
  */
19
23
  exports.DelegatedAdminRelationshipRequestItemRequestBuilderRequestsMetadata = {
20
24
  delete: {
25
+ uriTemplate: exports.DelegatedAdminRelationshipRequestItemRequestBuilderUriTemplate,
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.DelegatedAdminRelationshipRequestItemRequestBuilderUriTemplate,
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.createDelegatedAdminRelationshipRequestFromDiscriminatorValue,
36
40
  queryParametersMapper: DelegatedAdminRelationshipRequestItemRequestBuilderGetQueryParametersMapper,
37
41
  },
38
42
  patch: {
43
+ uriTemplate: exports.DelegatedAdminRelationshipRequestItemRequestBuilderUriTemplate,
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.createDelegatedAdminRelationshipRequestFromDiscriminatorValue,
@@ -48,9 +52,5 @@ exports.DelegatedAdminRelationshipRequestItemRequestBuilderRequestsMetadata = {
48
52
  requestInformationContentSetMethod: "setContentFromParsable",
49
53
  },
50
54
  };
51
- /**
52
- * Uri template for the request builder.
53
- */
54
- exports.DelegatedAdminRelationshipRequestItemRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminRelationships/{delegatedAdminRelationship%2Did}/requests/{delegatedAdminRelationshipRequest%2Did}{?%24expand,%24select}";
55
55
  /* tslint:enable */
56
56
  /* eslint-enable */
@@ -7,22 +7,23 @@ export interface FindTenantInformationByDomainNameWithDomainNameRequestBuilder e
7
7
  /**
8
8
  * Invoke function findTenantInformationByDomainName
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
- * @returns a Promise of TenantInformation
10
+ * @returns {Promise<TenantInformation>}
11
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
11
12
  */
12
13
  get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<TenantInformation | undefined>;
13
14
  /**
14
15
  * Invoke function findTenantInformationByDomainName
15
16
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
16
- * @returns a RequestInformation
17
+ * @returns {RequestInformation}
17
18
  */
18
19
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
19
20
  }
20
- /**
21
- * Metadata for all the requests in the request builder.
22
- */
23
- export declare const FindTenantInformationByDomainNameWithDomainNameRequestBuilderRequestsMetadata: RequestsMetadata;
24
21
  /**
25
22
  * Uri template for the request builder.
26
23
  */
27
24
  export declare const FindTenantInformationByDomainNameWithDomainNameRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/findTenantInformationByDomainName(domainName='{domainName}')";
25
+ /**
26
+ * Metadata for all the requests in the request builder.
27
+ */
28
+ export declare const FindTenantInformationByDomainNameWithDomainNameRequestBuilderRequestsMetadata: RequestsMetadata;
28
29
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAiD,KAAK,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAEvH,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,6DAA8D,SAAQ,kBAAkB,CAAC,6DAA6D,CAAC;IACpK;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,iBAAiB,GAAG,SAAS,CAAC,CAAC;IAC/G;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClH;AACD;;GAEG;AACH,eAAO,MAAM,6EAA6E,EAAE,gBAU3F,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,wEAAwE,gGAAgG,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAiD,KAAK,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAEvH,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,6DAA8D,SAAQ,kBAAkB,CAAC,6DAA6D,CAAC;IACpK;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,iBAAiB,GAAG,SAAS,CAAC,CAAC;IAC/G;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClH;AACD;;GAEG;AACH,eAAO,MAAM,wEAAwE,gGAAgG,CAAC;AACtL;;GAEG;AACH,eAAO,MAAM,6EAA6E,EAAE,gBAU3F,CAAC"}
@@ -1,28 +1,28 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FindTenantInformationByDomainNameWithDomainNameRequestBuilderUriTemplate = exports.FindTenantInformationByDomainNameWithDomainNameRequestBuilderRequestsMetadata = void 0;
3
+ exports.FindTenantInformationByDomainNameWithDomainNameRequestBuilderRequestsMetadata = exports.FindTenantInformationByDomainNameWithDomainNameRequestBuilderUriTemplate = 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.FindTenantInformationByDomainNameWithDomainNameRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/findTenantInformationByDomainName(domainName='{domainName}')";
9
13
  /**
10
14
  * Metadata for all the requests in the request builder.
11
15
  */
12
16
  exports.FindTenantInformationByDomainNameWithDomainNameRequestBuilderRequestsMetadata = {
13
17
  get: {
18
+ uriTemplate: exports.FindTenantInformationByDomainNameWithDomainNameRequestBuilderUriTemplate,
14
19
  responseBodyContentType: "application/json",
15
20
  errorMappings: {
16
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
17
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
21
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
18
22
  },
19
23
  adapterMethodName: "sendAsync",
20
24
  responseBodyFactory: models_1.createTenantInformationFromDiscriminatorValue,
21
25
  },
22
26
  };
23
- /**
24
- * Uri template for the request builder.
25
- */
26
- exports.FindTenantInformationByDomainNameWithDomainNameRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/findTenantInformationByDomainName(domainName='{domainName}')";
27
27
  /* tslint:enable */
28
28
  /* eslint-enable */
@@ -7,22 +7,23 @@ export interface FindTenantInformationByTenantIdWithTenantIdRequestBuilder exten
7
7
  /**
8
8
  * Invoke function findTenantInformationByTenantId
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
- * @returns a Promise of TenantInformation
10
+ * @returns {Promise<TenantInformation>}
11
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
11
12
  */
12
13
  get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<TenantInformation | undefined>;
13
14
  /**
14
15
  * Invoke function findTenantInformationByTenantId
15
16
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
16
- * @returns a RequestInformation
17
+ * @returns {RequestInformation}
17
18
  */
18
19
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
19
20
  }
20
- /**
21
- * Metadata for all the requests in the request builder.
22
- */
23
- export declare const FindTenantInformationByTenantIdWithTenantIdRequestBuilderRequestsMetadata: RequestsMetadata;
24
21
  /**
25
22
  * Uri template for the request builder.
26
23
  */
27
24
  export declare const FindTenantInformationByTenantIdWithTenantIdRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/findTenantInformationByTenantId(tenantId='{tenantId}')";
25
+ /**
26
+ * Metadata for all the requests in the request builder.
27
+ */
28
+ export declare const FindTenantInformationByTenantIdWithTenantIdRequestBuilderRequestsMetadata: RequestsMetadata;
28
29
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAiD,KAAK,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAEvH,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,yDAA0D,SAAQ,kBAAkB,CAAC,yDAAyD,CAAC;IAC5J;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,iBAAiB,GAAG,SAAS,CAAC,CAAC;IAC/G;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClH;AACD;;GAEG;AACH,eAAO,MAAM,yEAAyE,EAAE,gBAUvF,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,oEAAoE,0FAA0F,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAiD,KAAK,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAEvH,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,yDAA0D,SAAQ,kBAAkB,CAAC,yDAAyD,CAAC;IAC5J;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,iBAAiB,GAAG,SAAS,CAAC,CAAC;IAC/G;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClH;AACD;;GAEG;AACH,eAAO,MAAM,oEAAoE,0FAA0F,CAAC;AAC5K;;GAEG;AACH,eAAO,MAAM,yEAAyE,EAAE,gBAUvF,CAAC"}
@@ -1,28 +1,28 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FindTenantInformationByTenantIdWithTenantIdRequestBuilderUriTemplate = exports.FindTenantInformationByTenantIdWithTenantIdRequestBuilderRequestsMetadata = void 0;
3
+ exports.FindTenantInformationByTenantIdWithTenantIdRequestBuilderRequestsMetadata = exports.FindTenantInformationByTenantIdWithTenantIdRequestBuilderUriTemplate = 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.FindTenantInformationByTenantIdWithTenantIdRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/findTenantInformationByTenantId(tenantId='{tenantId}')";
9
13
  /**
10
14
  * Metadata for all the requests in the request builder.
11
15
  */
12
16
  exports.FindTenantInformationByTenantIdWithTenantIdRequestBuilderRequestsMetadata = {
13
17
  get: {
18
+ uriTemplate: exports.FindTenantInformationByTenantIdWithTenantIdRequestBuilderUriTemplate,
14
19
  responseBodyContentType: "application/json",
15
20
  errorMappings: {
16
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
17
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
21
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
18
22
  },
19
23
  adapterMethodName: "sendAsync",
20
24
  responseBodyFactory: models_1.createTenantInformationFromDiscriminatorValue,
21
25
  },
22
26
  };
23
- /**
24
- * Uri template for the request builder.
25
- */
26
- exports.FindTenantInformationByTenantIdWithTenantIdRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/findTenantInformationByTenantId(tenantId='{tenantId}')";
27
27
  /* tslint:enable */
28
28
  /* eslint-enable */