@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,13 +7,15 @@ export interface DelegatedAdminAccessAssignmentItemRequestBuilder extends BaseRe
7
7
  /**
8
8
  * Delete a delegatedAdminAccessAssignment object.
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
10
11
  * @see {@link https://learn.microsoft.com/graph/api/delegatedadminaccessassignment-delete?view=graph-rest-1.0|Find more info here}
11
12
  */
12
13
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
13
14
  /**
14
15
  * Read the properties of a delegatedAdminAccessAssignment object.
15
16
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
16
- * @returns a Promise of DelegatedAdminAccessAssignment
17
+ * @returns {Promise<DelegatedAdminAccessAssignment>}
18
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
17
19
  * @see {@link https://learn.microsoft.com/graph/api/delegatedadminaccessassignment-get?view=graph-rest-1.0|Find more info here}
18
20
  */
19
21
  get(requestConfiguration?: RequestConfiguration<DelegatedAdminAccessAssignmentItemRequestBuilderGetQueryParameters> | undefined): Promise<DelegatedAdminAccessAssignment | undefined>;
@@ -21,27 +23,28 @@ export interface DelegatedAdminAccessAssignmentItemRequestBuilder extends BaseRe
21
23
  * Update the properties of a delegatedAdminAccessAssignment object.
22
24
  * @param body The request body
23
25
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
24
- * @returns a Promise of DelegatedAdminAccessAssignment
26
+ * @returns {Promise<DelegatedAdminAccessAssignment>}
27
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
25
28
  * @see {@link https://learn.microsoft.com/graph/api/delegatedadminaccessassignment-update?view=graph-rest-1.0|Find more info here}
26
29
  */
27
30
  patch(body: DelegatedAdminAccessAssignment, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DelegatedAdminAccessAssignment | undefined>;
28
31
  /**
29
32
  * Delete a delegatedAdminAccessAssignment object.
30
33
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
31
- * @returns a RequestInformation
34
+ * @returns {RequestInformation}
32
35
  */
33
36
  toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
34
37
  /**
35
38
  * Read the properties of a delegatedAdminAccessAssignment object.
36
39
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
- * @returns a RequestInformation
40
+ * @returns {RequestInformation}
38
41
  */
39
42
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<DelegatedAdminAccessAssignmentItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
40
43
  /**
41
44
  * Update the properties of a delegatedAdminAccessAssignment object.
42
45
  * @param body The request body
43
46
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
44
- * @returns a RequestInformation
47
+ * @returns {RequestInformation}
45
48
  */
46
49
  toPatchRequestInformation(body: DelegatedAdminAccessAssignment, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
50
  }
@@ -58,12 +61,12 @@ export interface DelegatedAdminAccessAssignmentItemRequestBuilderGetQueryParamet
58
61
  */
59
62
  select?: string[];
60
63
  }
61
- /**
62
- * Metadata for all the requests in the request builder.
63
- */
64
- export declare const DelegatedAdminAccessAssignmentItemRequestBuilderRequestsMetadata: RequestsMetadata;
65
64
  /**
66
65
  * Uri template for the request builder.
67
66
  */
68
67
  export declare const DelegatedAdminAccessAssignmentItemRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminRelationships/{delegatedAdminRelationship%2Did}/accessAssignments/{delegatedAdminAccessAssignment%2Did}{?%24expand,%24select}";
68
+ /**
69
+ * Metadata for all the requests in the request builder.
70
+ */
71
+ export declare const DelegatedAdminAccessAssignmentItemRequestBuilderRequestsMetadata: RequestsMetadata;
69
72
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAuG,KAAK,8BAA8B,EAAE,MAAM,gCAAgC,CAAC;AAE1L,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,gDAAiD,SAAQ,kBAAkB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AAC;AAQxP;;GAEG;AACH,eAAO,MAAM,gEAAgE,EAAE,gBA+B9E,CAAC"}
@@ -1,11 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DelegatedAdminAccessAssignmentItemRequestBuilderUriTemplate = exports.DelegatedAdminAccessAssignmentItemRequestBuilderRequestsMetadata = void 0;
3
+ exports.DelegatedAdminAccessAssignmentItemRequestBuilderRequestsMetadata = exports.DelegatedAdminAccessAssignmentItemRequestBuilderUriTemplate = 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.DelegatedAdminAccessAssignmentItemRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminRelationships/{delegatedAdminRelationship%2Did}/accessAssignments/{delegatedAdminAccessAssignment%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 DelegatedAdminAccessAssignmentItemRequestBuilderGetQueryParametersMapper =
18
22
  */
19
23
  exports.DelegatedAdminAccessAssignmentItemRequestBuilderRequestsMetadata = {
20
24
  delete: {
25
+ uriTemplate: exports.DelegatedAdminAccessAssignmentItemRequestBuilderUriTemplate,
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.DelegatedAdminAccessAssignmentItemRequestBuilderUriTemplate,
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.createDelegatedAdminAccessAssignmentFromDiscriminatorValue,
36
40
  queryParametersMapper: DelegatedAdminAccessAssignmentItemRequestBuilderGetQueryParametersMapper,
37
41
  },
38
42
  patch: {
43
+ uriTemplate: exports.DelegatedAdminAccessAssignmentItemRequestBuilderUriTemplate,
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.createDelegatedAdminAccessAssignmentFromDiscriminatorValue,
@@ -48,9 +52,5 @@ exports.DelegatedAdminAccessAssignmentItemRequestBuilderRequestsMetadata = {
48
52
  requestInformationContentSetMethod: "setContentFromParsable",
49
53
  },
50
54
  };
51
- /**
52
- * Uri template for the request builder.
53
- */
54
- exports.DelegatedAdminAccessAssignmentItemRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminRelationships/{delegatedAdminRelationship%2Did}/accessAssignments/{delegatedAdminAccessAssignment%2Did}{?%24expand,%24select}";
55
55
  /* tslint:enable */
56
56
  /* eslint-enable */
@@ -22,13 +22,15 @@ export interface DelegatedAdminRelationshipItemRequestBuilder extends BaseReques
22
22
  /**
23
23
  * Delete a delegatedAdminRelationship object. A relationship can only be deleted if it's in the 'created' status.
24
24
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
25
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
25
26
  * @see {@link https://learn.microsoft.com/graph/api/delegatedadminrelationship-delete?view=graph-rest-1.0|Find more info here}
26
27
  */
27
28
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
28
29
  /**
29
30
  * Read the properties of a delegatedAdminRelationship object.
30
31
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
31
- * @returns a Promise of DelegatedAdminRelationship
32
+ * @returns {Promise<DelegatedAdminRelationship>}
33
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
32
34
  * @see {@link https://learn.microsoft.com/graph/api/delegatedadminrelationship-get?view=graph-rest-1.0|Find more info here}
33
35
  */
34
36
  get(requestConfiguration?: RequestConfiguration<DelegatedAdminRelationshipItemRequestBuilderGetQueryParameters> | undefined): Promise<DelegatedAdminRelationship | undefined>;
@@ -36,27 +38,28 @@ export interface DelegatedAdminRelationshipItemRequestBuilder extends BaseReques
36
38
  * Update the properties of a delegatedAdminRelationship object. You can only update a relationship when it's in the created status. However, you can update the autoExtendDuration property when the relationship is in either the created or active status.
37
39
  * @param body The request body
38
40
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
39
- * @returns a Promise of DelegatedAdminRelationship
41
+ * @returns {Promise<DelegatedAdminRelationship>}
42
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
40
43
  * @see {@link https://learn.microsoft.com/graph/api/delegatedadminrelationship-update?view=graph-rest-1.0|Find more info here}
41
44
  */
42
45
  patch(body: DelegatedAdminRelationship, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DelegatedAdminRelationship | undefined>;
43
46
  /**
44
47
  * Delete a delegatedAdminRelationship object. A relationship can only be deleted if it's in the 'created' status.
45
48
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
46
- * @returns a RequestInformation
49
+ * @returns {RequestInformation}
47
50
  */
48
51
  toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
49
52
  /**
50
53
  * Read the properties of a delegatedAdminRelationship object.
51
54
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
52
- * @returns a RequestInformation
55
+ * @returns {RequestInformation}
53
56
  */
54
57
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<DelegatedAdminRelationshipItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
55
58
  /**
56
59
  * Update the properties of a delegatedAdminRelationship object. You can only update a relationship when it's in the created status. However, you can update the autoExtendDuration property when the relationship is in either the created or active status.
57
60
  * @param body The request body
58
61
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
59
- * @returns a RequestInformation
62
+ * @returns {RequestInformation}
60
63
  */
61
64
  toPatchRequestInformation(body: DelegatedAdminRelationship, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
62
65
  }
@@ -73,6 +76,10 @@ export interface DelegatedAdminRelationshipItemRequestBuilderGetQueryParameters
73
76
  */
74
77
  select?: string[];
75
78
  }
79
+ /**
80
+ * Uri template for the request builder.
81
+ */
82
+ export declare const DelegatedAdminRelationshipItemRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminRelationships/{delegatedAdminRelationship%2Did}{?%24expand,%24select}";
76
83
  /**
77
84
  * Metadata for all the navigation properties in the request builder.
78
85
  */
@@ -81,8 +88,4 @@ export declare const DelegatedAdminRelationshipItemRequestBuilderNavigationMetad
81
88
  * Metadata for all the requests in the request builder.
82
89
  */
83
90
  export declare const DelegatedAdminRelationshipItemRequestBuilderRequestsMetadata: RequestsMetadata;
84
- /**
85
- * Uri template for the request builder.
86
- */
87
- export declare const DelegatedAdminRelationshipItemRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminRelationships/{delegatedAdminRelationship%2Did}{?%24expand,%24select}";
88
91
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA+F,KAAK,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AAE9K,OAAO,EAAkJ,KAAK,+BAA+B,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1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DelegatedAdminRelationshipItemRequestBuilderUriTemplate = exports.DelegatedAdminRelationshipItemRequestBuilderRequestsMetadata = exports.DelegatedAdminRelationshipItemRequestBuilderNavigationMetadata = void 0;
3
+ exports.DelegatedAdminRelationshipItemRequestBuilderRequestsMetadata = exports.DelegatedAdminRelationshipItemRequestBuilderNavigationMetadata = exports.DelegatedAdminRelationshipItemRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
@@ -9,6 +9,10 @@ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
9
  const accessAssignments_1 = require("./accessAssignments/");
10
10
  const operations_1 = require("./operations/");
11
11
  const requests_1 = require("./requests/");
12
+ /**
13
+ * Uri template for the request builder.
14
+ */
15
+ exports.DelegatedAdminRelationshipItemRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminRelationships/{delegatedAdminRelationship%2Did}{?%24expand,%24select}";
12
16
  /**
13
17
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
14
18
  */
@@ -21,17 +25,14 @@ const DelegatedAdminRelationshipItemRequestBuilderGetQueryParametersMapper = {
21
25
  */
22
26
  exports.DelegatedAdminRelationshipItemRequestBuilderNavigationMetadata = {
23
27
  accessAssignments: {
24
- uriTemplate: accessAssignments_1.AccessAssignmentsRequestBuilderUriTemplate,
25
28
  requestsMetadata: accessAssignments_1.AccessAssignmentsRequestBuilderRequestsMetadata,
26
29
  navigationMetadata: accessAssignments_1.AccessAssignmentsRequestBuilderNavigationMetadata,
27
30
  },
28
31
  operations: {
29
- uriTemplate: operations_1.OperationsRequestBuilderUriTemplate,
30
32
  requestsMetadata: operations_1.OperationsRequestBuilderRequestsMetadata,
31
33
  navigationMetadata: operations_1.OperationsRequestBuilderNavigationMetadata,
32
34
  },
33
35
  requests: {
34
- uriTemplate: requests_1.RequestsRequestBuilderUriTemplate,
35
36
  requestsMetadata: requests_1.RequestsRequestBuilderRequestsMetadata,
36
37
  navigationMetadata: requests_1.RequestsRequestBuilderNavigationMetadata,
37
38
  },
@@ -41,28 +42,28 @@ exports.DelegatedAdminRelationshipItemRequestBuilderNavigationMetadata = {
41
42
  */
42
43
  exports.DelegatedAdminRelationshipItemRequestBuilderRequestsMetadata = {
43
44
  delete: {
45
+ uriTemplate: exports.DelegatedAdminRelationshipItemRequestBuilderUriTemplate,
44
46
  responseBodyContentType: "application/json",
45
47
  errorMappings: {
46
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
47
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
48
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
48
49
  },
49
50
  adapterMethodName: "sendNoResponseContentAsync",
50
51
  },
51
52
  get: {
53
+ uriTemplate: exports.DelegatedAdminRelationshipItemRequestBuilderUriTemplate,
52
54
  responseBodyContentType: "application/json",
53
55
  errorMappings: {
54
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
55
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
56
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
56
57
  },
57
58
  adapterMethodName: "sendAsync",
58
59
  responseBodyFactory: models_1.createDelegatedAdminRelationshipFromDiscriminatorValue,
59
60
  queryParametersMapper: DelegatedAdminRelationshipItemRequestBuilderGetQueryParametersMapper,
60
61
  },
61
62
  patch: {
63
+ uriTemplate: exports.DelegatedAdminRelationshipItemRequestBuilderUriTemplate,
62
64
  responseBodyContentType: "application/json",
63
65
  errorMappings: {
64
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
65
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
66
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
66
67
  },
67
68
  adapterMethodName: "sendAsync",
68
69
  responseBodyFactory: models_1.createDelegatedAdminRelationshipFromDiscriminatorValue,
@@ -71,9 +72,5 @@ exports.DelegatedAdminRelationshipItemRequestBuilderRequestsMetadata = {
71
72
  requestInformationContentSetMethod: "setContentFromParsable",
72
73
  },
73
74
  };
74
- /**
75
- * Uri template for the request builder.
76
- */
77
- exports.DelegatedAdminRelationshipItemRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminRelationships/{delegatedAdminRelationship%2Did}{?%24expand,%24select}";
78
75
  /* tslint:enable */
79
76
  /* 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}/operations/$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,yIAAyI,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,yIAAyI,CAAC;AAQrL;;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}/operations/$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}/operations/$count{?%24filter,%24search}";
34
34
  /* tslint:enable */
35
35
  /* eslint-enable */
@@ -13,13 +13,14 @@ export interface OperationsRequestBuilder extends BaseRequestBuilder<OperationsR
13
13
  /**
14
14
  * Provides operations to manage the operations property of the microsoft.graph.delegatedAdminRelationship entity.
15
15
  * @param delegatedAdminRelationshipOperationId The unique identifier of delegatedAdminRelationshipOperation
16
- * @returns a DelegatedAdminRelationshipOperationItemRequestBuilder
16
+ * @returns {DelegatedAdminRelationshipOperationItemRequestBuilder}
17
17
  */
18
18
  byDelegatedAdminRelationshipOperationId(delegatedAdminRelationshipOperationId: string): DelegatedAdminRelationshipOperationItemRequestBuilder;
19
19
  /**
20
20
  * Get a list of the delegatedAdminRelationshipOperation 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 DelegatedAdminRelationshipOperationCollectionResponse
22
+ * @returns {Promise<DelegatedAdminRelationshipOperationCollectionResponse>}
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-operations?view=graph-rest-1.0|Find more info here}
24
25
  */
25
26
  get(requestConfiguration?: RequestConfiguration<OperationsRequestBuilderGetQueryParameters> | undefined): Promise<DelegatedAdminRelationshipOperationCollectionResponse | undefined>;
@@ -27,20 +28,21 @@ export interface OperationsRequestBuilder extends BaseRequestBuilder<OperationsR
27
28
  * Create new navigation property to operations 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 DelegatedAdminRelationshipOperation
31
+ * @returns {Promise<DelegatedAdminRelationshipOperation>}
32
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
31
33
  */
32
34
  post(body: DelegatedAdminRelationshipOperation, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DelegatedAdminRelationshipOperation | undefined>;
33
35
  /**
34
36
  * Get a list of the delegatedAdminRelationshipOperation 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<OperationsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
39
41
  /**
40
42
  * Create new navigation property to operations 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: DelegatedAdminRelationshipOperation, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
46
48
  }
@@ -81,6 +83,10 @@ export interface OperationsRequestBuilderGetQueryParameters {
81
83
  */
82
84
  top?: number;
83
85
  }
86
+ /**
87
+ * Uri template for the request builder.
88
+ */
89
+ export declare const OperationsRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminRelationships/{delegatedAdminRelationship%2Did}/operations{?%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 OperationsRequestBuilderNavigationMetadata: Record<Exclude<
89
95
  * Metadata for all the requests in the request builder.
90
96
  */
91
97
  export declare const OperationsRequestBuilderRequestsMetadata: RequestsMetadata;
92
- /**
93
- * Uri template for the request builder.
94
- */
95
- export declare const OperationsRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminRelationships/{delegatedAdminRelationship%2Did}/operations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
96
98
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3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AAC,EAAE,kBAAkB,CAQ9J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,wCAAwC,EAAE,gBAuBtD,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.OperationsRequestBuilderUriTemplate = exports.OperationsRequestBuilderRequestsMetadata = exports.OperationsRequestBuilderNavigationMetadata = void 0;
3
+ exports.OperationsRequestBuilderRequestsMetadata = exports.OperationsRequestBuilderNavigationMetadata = exports.OperationsRequestBuilderUriTemplate = 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.OperationsRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminRelationships/{delegatedAdminRelationship%2Did}/operations{?%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 OperationsRequestBuilderGetQueryParametersMapper = {
26
30
  */
27
31
  exports.OperationsRequestBuilderNavigationMetadata = {
28
32
  byDelegatedAdminRelationshipOperationId: {
29
- uriTemplate: item_1.DelegatedAdminRelationshipOperationItemRequestBuilderUriTemplate,
30
33
  requestsMetadata: item_1.DelegatedAdminRelationshipOperationItemRequestBuilderRequestsMetadata,
31
34
  pathParametersMappings: ["delegatedAdminRelationshipOperation%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.OperationsRequestBuilderNavigationMetadata = {
40
42
  */
41
43
  exports.OperationsRequestBuilderRequestsMetadata = {
42
44
  get: {
45
+ uriTemplate: exports.OperationsRequestBuilderUriTemplate,
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.createDelegatedAdminRelationshipOperationCollectionResponseFromDiscriminatorValue,
50
52
  queryParametersMapper: OperationsRequestBuilderGetQueryParametersMapper,
51
53
  },
52
54
  post: {
55
+ uriTemplate: exports.OperationsRequestBuilderUriTemplate,
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.createDelegatedAdminRelationshipOperationFromDiscriminatorValue,
@@ -62,9 +64,5 @@ exports.OperationsRequestBuilderRequestsMetadata = {
62
64
  requestInformationContentSetMethod: "setContentFromParsable",
63
65
  },
64
66
  };
65
- /**
66
- * Uri template for the request builder.
67
- */
68
- exports.OperationsRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminRelationships/{delegatedAdminRelationship%2Did}/operations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
69
67
  /* tslint:enable */
70
68
  /* eslint-enable */
@@ -7,12 +7,14 @@ export interface DelegatedAdminRelationshipOperationItemRequestBuilder extends B
7
7
  /**
8
8
  * Delete navigation property operations 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 of a delegatedAdminRelationshipOperation object.
14
15
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
- * @returns a Promise of DelegatedAdminRelationshipOperation
16
+ * @returns {Promise<DelegatedAdminRelationshipOperation>}
17
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
16
18
  * @see {@link https://learn.microsoft.com/graph/api/delegatedadminrelationshipoperation-get?view=graph-rest-1.0|Find more info here}
17
19
  */
18
20
  get(requestConfiguration?: RequestConfiguration<DelegatedAdminRelationshipOperationItemRequestBuilderGetQueryParameters> | undefined): Promise<DelegatedAdminRelationshipOperation | undefined>;
@@ -20,26 +22,27 @@ export interface DelegatedAdminRelationshipOperationItemRequestBuilder extends B
20
22
  * Update the navigation property operations 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 DelegatedAdminRelationshipOperation
25
+ * @returns {Promise<DelegatedAdminRelationshipOperation>}
26
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
24
27
  */
25
28
  patch(body: DelegatedAdminRelationshipOperation, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DelegatedAdminRelationshipOperation | undefined>;
26
29
  /**
27
30
  * Delete navigation property operations 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 of a delegatedAdminRelationshipOperation 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<DelegatedAdminRelationshipOperationItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
38
41
  /**
39
42
  * Update the navigation property operations 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: DelegatedAdminRelationshipOperation, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
45
48
  }
@@ -56,12 +59,12 @@ export interface DelegatedAdminRelationshipOperationItemRequestBuilderGetQueryPa
56
59
  */
57
60
  select?: string[];
58
61
  }
59
- /**
60
- * Metadata for all the requests in the request builder.
61
- */
62
- export declare const DelegatedAdminRelationshipOperationItemRequestBuilderRequestsMetadata: RequestsMetadata;
63
62
  /**
64
63
  * Uri template for the request builder.
65
64
  */
66
65
  export declare const DelegatedAdminRelationshipOperationItemRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminRelationships/{delegatedAdminRelationship%2Did}/operations/{delegatedAdminRelationshipOperation%2Did}{?%24expand,%24select}";
66
+ /**
67
+ * Metadata for all the requests in the request builder.
68
+ */
69
+ export declare const DelegatedAdminRelationshipOperationItemRequestBuilderRequestsMetadata: RequestsMetadata;
67
70
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAiH,KAAK,mCAAmC,EAAE,MAAM,gCAAgC,CAAC;AAEzM,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,qDAAsD,SAAQ,kBAAkB,CAAC,qDAAqD,CAAC;IACpJ;;;OAGG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;I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