@microsoft/msgraph-sdk-tenantrelationships 1.0.0-preview.10

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 (74) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +11 -0
  3. package/index.d.ts +11 -0
  4. package/index.d.ts.map +1 -0
  5. package/index.js +20 -0
  6. package/package.json +48 -0
  7. package/tenantRelationships/delegatedAdminCustomers/count/index.d.ts +40 -0
  8. package/tenantRelationships/delegatedAdminCustomers/count/index.d.ts.map +1 -0
  9. package/tenantRelationships/delegatedAdminCustomers/count/index.js +35 -0
  10. package/tenantRelationships/delegatedAdminCustomers/index.d.ts +96 -0
  11. package/tenantRelationships/delegatedAdminCustomers/index.d.ts.map +1 -0
  12. package/tenantRelationships/delegatedAdminCustomers/index.js +71 -0
  13. package/tenantRelationships/delegatedAdminCustomers/item/index.d.ts +76 -0
  14. package/tenantRelationships/delegatedAdminCustomers/item/index.d.ts.map +1 -0
  15. package/tenantRelationships/delegatedAdminCustomers/item/index.js +67 -0
  16. package/tenantRelationships/delegatedAdminCustomers/item/serviceManagementDetails/count/index.d.ts +40 -0
  17. package/tenantRelationships/delegatedAdminCustomers/item/serviceManagementDetails/count/index.d.ts.map +1 -0
  18. package/tenantRelationships/delegatedAdminCustomers/item/serviceManagementDetails/count/index.js +35 -0
  19. package/tenantRelationships/delegatedAdminCustomers/item/serviceManagementDetails/index.d.ts +96 -0
  20. package/tenantRelationships/delegatedAdminCustomers/item/serviceManagementDetails/index.d.ts.map +1 -0
  21. package/tenantRelationships/delegatedAdminCustomers/item/serviceManagementDetails/index.js +70 -0
  22. package/tenantRelationships/delegatedAdminCustomers/item/serviceManagementDetails/item/index.d.ts +66 -0
  23. package/tenantRelationships/delegatedAdminCustomers/item/serviceManagementDetails/item/index.d.ts.map +1 -0
  24. package/tenantRelationships/delegatedAdminCustomers/item/serviceManagementDetails/item/index.js +56 -0
  25. package/tenantRelationships/delegatedAdminRelationships/count/index.d.ts +40 -0
  26. package/tenantRelationships/delegatedAdminRelationships/count/index.d.ts.map +1 -0
  27. package/tenantRelationships/delegatedAdminRelationships/count/index.js +35 -0
  28. package/tenantRelationships/delegatedAdminRelationships/index.d.ts +97 -0
  29. package/tenantRelationships/delegatedAdminRelationships/index.d.ts.map +1 -0
  30. package/tenantRelationships/delegatedAdminRelationships/index.js +71 -0
  31. package/tenantRelationships/delegatedAdminRelationships/item/accessAssignments/count/index.d.ts +40 -0
  32. package/tenantRelationships/delegatedAdminRelationships/item/accessAssignments/count/index.d.ts.map +1 -0
  33. package/tenantRelationships/delegatedAdminRelationships/item/accessAssignments/count/index.js +35 -0
  34. package/tenantRelationships/delegatedAdminRelationships/item/accessAssignments/index.d.ts +97 -0
  35. package/tenantRelationships/delegatedAdminRelationships/item/accessAssignments/index.d.ts.map +1 -0
  36. package/tenantRelationships/delegatedAdminRelationships/item/accessAssignments/index.js +70 -0
  37. package/tenantRelationships/delegatedAdminRelationships/item/accessAssignments/item/index.d.ts +69 -0
  38. package/tenantRelationships/delegatedAdminRelationships/item/accessAssignments/item/index.d.ts.map +1 -0
  39. package/tenantRelationships/delegatedAdminRelationships/item/accessAssignments/item/index.js +56 -0
  40. package/tenantRelationships/delegatedAdminRelationships/item/index.d.ts +88 -0
  41. package/tenantRelationships/delegatedAdminRelationships/item/index.d.ts.map +1 -0
  42. package/tenantRelationships/delegatedAdminRelationships/item/index.js +79 -0
  43. package/tenantRelationships/delegatedAdminRelationships/item/operations/count/index.d.ts +40 -0
  44. package/tenantRelationships/delegatedAdminRelationships/item/operations/count/index.d.ts.map +1 -0
  45. package/tenantRelationships/delegatedAdminRelationships/item/operations/count/index.js +35 -0
  46. package/tenantRelationships/delegatedAdminRelationships/item/operations/index.d.ts +96 -0
  47. package/tenantRelationships/delegatedAdminRelationships/item/operations/index.d.ts.map +1 -0
  48. package/tenantRelationships/delegatedAdminRelationships/item/operations/index.js +70 -0
  49. package/tenantRelationships/delegatedAdminRelationships/item/operations/item/index.d.ts +67 -0
  50. package/tenantRelationships/delegatedAdminRelationships/item/operations/item/index.d.ts.map +1 -0
  51. package/tenantRelationships/delegatedAdminRelationships/item/operations/item/index.js +56 -0
  52. package/tenantRelationships/delegatedAdminRelationships/item/requests/count/index.d.ts +40 -0
  53. package/tenantRelationships/delegatedAdminRelationships/item/requests/count/index.d.ts.map +1 -0
  54. package/tenantRelationships/delegatedAdminRelationships/item/requests/count/index.js +35 -0
  55. package/tenantRelationships/delegatedAdminRelationships/item/requests/index.d.ts +97 -0
  56. package/tenantRelationships/delegatedAdminRelationships/item/requests/index.d.ts.map +1 -0
  57. package/tenantRelationships/delegatedAdminRelationships/item/requests/index.js +70 -0
  58. package/tenantRelationships/delegatedAdminRelationships/item/requests/item/index.d.ts +67 -0
  59. package/tenantRelationships/delegatedAdminRelationships/item/requests/item/index.d.ts.map +1 -0
  60. package/tenantRelationships/delegatedAdminRelationships/item/requests/item/index.js +56 -0
  61. package/tenantRelationships/findTenantInformationByDomainNameWithDomainName/index.d.ts +28 -0
  62. package/tenantRelationships/findTenantInformationByDomainNameWithDomainName/index.d.ts.map +1 -0
  63. package/tenantRelationships/findTenantInformationByDomainNameWithDomainName/index.js +28 -0
  64. package/tenantRelationships/findTenantInformationByTenantIdWithTenantId/index.d.ts +28 -0
  65. package/tenantRelationships/findTenantInformationByTenantIdWithTenantId/index.d.ts.map +1 -0
  66. package/tenantRelationships/findTenantInformationByTenantIdWithTenantId/index.js +28 -0
  67. package/tenantRelationships/index.d.ts +83 -0
  68. package/tenantRelationships/index.d.ts.map +1 -0
  69. package/tenantRelationships/index.js +75 -0
  70. package/tenantRelationshipsServiceClient.d.ts +25 -0
  71. package/tenantRelationshipsServiceClient.d.ts.map +1 -0
  72. package/tenantRelationshipsServiceClient.js +49 -0
  73. package/tsconfig.json +15 -0
  74. package/tsconfig.tsbuildinfo +1 -0
@@ -0,0 +1,96 @@
1
+ import { type DelegatedAdminServiceManagementDetail, type DelegatedAdminServiceManagementDetailCollectionResponse } from '@microsoft/msgraph-sdk/models/';
2
+ import { type CountRequestBuilder } from './count/';
3
+ import { type DelegatedAdminServiceManagementDetailItemRequestBuilder } from './item/';
4
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
5
+ /**
6
+ * Provides operations to manage the serviceManagementDetails property of the microsoft.graph.delegatedAdminCustomer entity.
7
+ */
8
+ export interface ServiceManagementDetailsRequestBuilder extends BaseRequestBuilder<ServiceManagementDetailsRequestBuilder> {
9
+ /**
10
+ * Provides operations to count the resources in the collection.
11
+ */
12
+ get count(): CountRequestBuilder;
13
+ /**
14
+ * Provides operations to manage the serviceManagementDetails property of the microsoft.graph.delegatedAdminCustomer entity.
15
+ * @param delegatedAdminServiceManagementDetailId The unique identifier of delegatedAdminServiceManagementDetail
16
+ * @returns a DelegatedAdminServiceManagementDetailItemRequestBuilder
17
+ */
18
+ byDelegatedAdminServiceManagementDetailId(delegatedAdminServiceManagementDetailId: string): DelegatedAdminServiceManagementDetailItemRequestBuilder;
19
+ /**
20
+ * Get a list of the delegatedAdminServiceManagementDetail objects and their properties.
21
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
+ * @returns a Promise of DelegatedAdminServiceManagementDetailCollectionResponse
23
+ * @see {@link https://learn.microsoft.com/graph/api/delegatedadmincustomer-list-servicemanagementdetails?view=graph-rest-1.0|Find more info here}
24
+ */
25
+ get(requestConfiguration?: RequestConfiguration<ServiceManagementDetailsRequestBuilderGetQueryParameters> | undefined): Promise<DelegatedAdminServiceManagementDetailCollectionResponse | undefined>;
26
+ /**
27
+ * Create new navigation property to serviceManagementDetails for tenantRelationships
28
+ * @param body The request body
29
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
30
+ * @returns a Promise of DelegatedAdminServiceManagementDetail
31
+ */
32
+ post(body: DelegatedAdminServiceManagementDetail, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DelegatedAdminServiceManagementDetail | undefined>;
33
+ /**
34
+ * Get a list of the delegatedAdminServiceManagementDetail objects and their properties.
35
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
36
+ * @returns a RequestInformation
37
+ */
38
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<ServiceManagementDetailsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
39
+ /**
40
+ * Create new navigation property to serviceManagementDetails for tenantRelationships
41
+ * @param body The request body
42
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
43
+ * @returns a RequestInformation
44
+ */
45
+ toPostRequestInformation(body: DelegatedAdminServiceManagementDetail, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
46
+ }
47
+ /**
48
+ * Get a list of the delegatedAdminServiceManagementDetail objects and their properties.
49
+ */
50
+ export interface ServiceManagementDetailsRequestBuilderGetQueryParameters {
51
+ /**
52
+ * Include count of items
53
+ */
54
+ count?: boolean;
55
+ /**
56
+ * Expand related entities
57
+ */
58
+ expand?: string[];
59
+ /**
60
+ * Filter items by property values
61
+ */
62
+ filter?: string;
63
+ /**
64
+ * Order items by property values
65
+ */
66
+ orderby?: string[];
67
+ /**
68
+ * Search items by search phrases
69
+ */
70
+ search?: string;
71
+ /**
72
+ * Select properties to be returned
73
+ */
74
+ select?: string[];
75
+ /**
76
+ * Skip the first n items
77
+ */
78
+ skip?: number;
79
+ /**
80
+ * Show only the first n items
81
+ */
82
+ top?: number;
83
+ }
84
+ /**
85
+ * Metadata for all the navigation properties in the request builder.
86
+ */
87
+ export declare const ServiceManagementDetailsRequestBuilderNavigationMetadata: Record<Exclude<keyof ServiceManagementDetailsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
88
+ /**
89
+ * Metadata for all the requests in the request builder.
90
+ */
91
+ 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{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
96
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +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,GAAG,SAAS,GAAI,OAAO,CAAC,uDAAuD,GAAG,SAAS,CAAC,CAAC;IACvM;;;;;OAKG;IACF,IAAI,CAAC,IAAI,EAAE,qCAAqC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,qCAAqC,GAAG,SAAS,CAAC,CAAC;IACjL;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,wDAAwD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACjK;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,qCAAqC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAChK;AACD;;GAEG;AACH,MAAM,WAAW,wDAAwD;IACrE;;OAEG;IACH,KAAK,CAAC,EAAE,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,wDAAwD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,sCAAsC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAU1L,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,sDAAsD,EAAE,gBAuBpE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,iDAAiD,+LAA+L,CAAC"}
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ServiceManagementDetailsRequestBuilderUriTemplate = exports.ServiceManagementDetailsRequestBuilderRequestsMetadata = exports.ServiceManagementDetailsRequestBuilderNavigationMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ const count_1 = require("./count/");
10
+ const item_1 = require("./item/");
11
+ /**
12
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
13
+ */
14
+ const ServiceManagementDetailsRequestBuilderGetQueryParametersMapper = {
15
+ "count": "%24count",
16
+ "expand": "%24expand",
17
+ "filter": "%24filter",
18
+ "orderby": "%24orderby",
19
+ "search": "%24search",
20
+ "select": "%24select",
21
+ "skip": "%24skip",
22
+ "top": "%24top",
23
+ };
24
+ /**
25
+ * Metadata for all the navigation properties in the request builder.
26
+ */
27
+ exports.ServiceManagementDetailsRequestBuilderNavigationMetadata = {
28
+ byDelegatedAdminServiceManagementDetailId: {
29
+ uriTemplate: item_1.DelegatedAdminServiceManagementDetailItemRequestBuilderUriTemplate,
30
+ requestsMetadata: item_1.DelegatedAdminServiceManagementDetailItemRequestBuilderRequestsMetadata,
31
+ pathParametersMappings: ["delegatedAdminServiceManagementDetail%2Did"],
32
+ },
33
+ count: {
34
+ uriTemplate: count_1.CountRequestBuilderUriTemplate,
35
+ requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
36
+ },
37
+ };
38
+ /**
39
+ * Metadata for all the requests in the request builder.
40
+ */
41
+ exports.ServiceManagementDetailsRequestBuilderRequestsMetadata = {
42
+ get: {
43
+ responseBodyContentType: "application/json",
44
+ errorMappings: {
45
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
46
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
47
+ },
48
+ adapterMethodName: "sendAsync",
49
+ responseBodyFactory: models_1.createDelegatedAdminServiceManagementDetailCollectionResponseFromDiscriminatorValue,
50
+ queryParametersMapper: ServiceManagementDetailsRequestBuilderGetQueryParametersMapper,
51
+ },
52
+ post: {
53
+ responseBodyContentType: "application/json",
54
+ errorMappings: {
55
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
56
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
57
+ },
58
+ adapterMethodName: "sendAsync",
59
+ responseBodyFactory: models_1.createDelegatedAdminServiceManagementDetailFromDiscriminatorValue,
60
+ requestBodyContentType: "application/json",
61
+ requestBodySerializer: models_1.serializeDelegatedAdminServiceManagementDetail,
62
+ requestInformationContentSetMethod: "setContentFromParsable",
63
+ },
64
+ };
65
+ /**
66
+ * Uri template for the request builder.
67
+ */
68
+ exports.ServiceManagementDetailsRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminCustomers/{delegatedAdminCustomer%2Did}/serviceManagementDetails{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
69
+ /* tslint:enable */
70
+ /* eslint-enable */
@@ -0,0 +1,66 @@
1
+ import { type DelegatedAdminServiceManagementDetail } from '@microsoft/msgraph-sdk/models/';
2
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Provides operations to manage the serviceManagementDetails property of the microsoft.graph.delegatedAdminCustomer entity.
5
+ */
6
+ export interface DelegatedAdminServiceManagementDetailItemRequestBuilder extends BaseRequestBuilder<DelegatedAdminServiceManagementDetailItemRequestBuilder> {
7
+ /**
8
+ * Delete navigation property serviceManagementDetails for tenantRelationships
9
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
+ */
11
+ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
12
+ /**
13
+ * Contains the management details of a service in the customer tenant that's managed by delegated administration.
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ * @returns a Promise of DelegatedAdminServiceManagementDetail
16
+ */
17
+ get(requestConfiguration?: RequestConfiguration<DelegatedAdminServiceManagementDetailItemRequestBuilderGetQueryParameters> | undefined): Promise<DelegatedAdminServiceManagementDetail | undefined>;
18
+ /**
19
+ * Update the navigation property serviceManagementDetails in tenantRelationships
20
+ * @param body The request body
21
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
+ * @returns a Promise of DelegatedAdminServiceManagementDetail
23
+ */
24
+ patch(body: DelegatedAdminServiceManagementDetail, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DelegatedAdminServiceManagementDetail | undefined>;
25
+ /**
26
+ * Delete navigation property serviceManagementDetails for tenantRelationships
27
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
28
+ * @returns a RequestInformation
29
+ */
30
+ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
31
+ /**
32
+ * Contains the management details of a service in the customer tenant that's managed by delegated administration.
33
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
34
+ * @returns a RequestInformation
35
+ */
36
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<DelegatedAdminServiceManagementDetailItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
37
+ /**
38
+ * Update the navigation property serviceManagementDetails in tenantRelationships
39
+ * @param body The request body
40
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
41
+ * @returns a RequestInformation
42
+ */
43
+ toPatchRequestInformation(body: DelegatedAdminServiceManagementDetail, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
44
+ }
45
+ /**
46
+ * Contains the management details of a service in the customer tenant that's managed by delegated administration.
47
+ */
48
+ export interface DelegatedAdminServiceManagementDetailItemRequestBuilderGetQueryParameters {
49
+ /**
50
+ * Expand related entities
51
+ */
52
+ expand?: string[];
53
+ /**
54
+ * Select properties to be returned
55
+ */
56
+ select?: string[];
57
+ }
58
+ /**
59
+ * Metadata for all the requests in the request builder.
60
+ */
61
+ export declare const DelegatedAdminServiceManagementDetailItemRequestBuilderRequestsMetadata: RequestsMetadata;
62
+ /**
63
+ * Uri template for the request builder.
64
+ */
65
+ export declare const DelegatedAdminServiceManagementDetailItemRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminCustomers/{delegatedAdminCustomer%2Did}/serviceManagementDetails/{delegatedAdminServiceManagementDetail%2Did}{?%24select,%24expand}";
66
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAqH,KAAK,qCAAqC,EAAE,MAAM,gCAAgC,CAAC;AAE/M,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,uDAAwD,SAAQ,kBAAkB,CAAC,uDAAuD,CAAC;IACxJ;;;OAGG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yEAAyE,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,qCAAqC,GAAG,SAAS,CAAC,CAAC;IACtM;;;;;OAKG;IACF,KAAK,CAAC,IAAI,EAAE,qCAAqC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,qCAAqC,GAAG,SAAS,CAAC,CAAC;IAClL;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yEAAyE,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClL;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,qCAAqC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjK;AACD;;GAEG;AACH,MAAM,WAAW,yEAAyE;IACtF;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,uEAAuE,EAAE,gBA+BrF,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,kEAAkE,qLAAqL,CAAC"}
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DelegatedAdminServiceManagementDetailItemRequestBuilderUriTemplate = exports.DelegatedAdminServiceManagementDetailItemRequestBuilderRequestsMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ /**
10
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
11
+ */
12
+ const DelegatedAdminServiceManagementDetailItemRequestBuilderGetQueryParametersMapper = {
13
+ "expand": "%24expand",
14
+ "select": "%24select",
15
+ };
16
+ /**
17
+ * Metadata for all the requests in the request builder.
18
+ */
19
+ exports.DelegatedAdminServiceManagementDetailItemRequestBuilderRequestsMetadata = {
20
+ delete: {
21
+ responseBodyContentType: "application/json",
22
+ errorMappings: {
23
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
25
+ },
26
+ adapterMethodName: "sendNoResponseContentAsync",
27
+ },
28
+ get: {
29
+ responseBodyContentType: "application/json",
30
+ errorMappings: {
31
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
32
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
33
+ },
34
+ adapterMethodName: "sendAsync",
35
+ responseBodyFactory: models_1.createDelegatedAdminServiceManagementDetailFromDiscriminatorValue,
36
+ queryParametersMapper: DelegatedAdminServiceManagementDetailItemRequestBuilderGetQueryParametersMapper,
37
+ },
38
+ patch: {
39
+ responseBodyContentType: "application/json",
40
+ errorMappings: {
41
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
42
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
43
+ },
44
+ adapterMethodName: "sendAsync",
45
+ responseBodyFactory: models_1.createDelegatedAdminServiceManagementDetailFromDiscriminatorValue,
46
+ requestBodyContentType: "application/json",
47
+ requestBodySerializer: models_1.serializeDelegatedAdminServiceManagementDetail,
48
+ requestInformationContentSetMethod: "setContentFromParsable",
49
+ },
50
+ };
51
+ /**
52
+ * Uri template for the request builder.
53
+ */
54
+ exports.DelegatedAdminServiceManagementDetailItemRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminCustomers/{delegatedAdminCustomer%2Did}/serviceManagementDetails/{delegatedAdminServiceManagementDetail%2Did}{?%24select,%24expand}";
55
+ /* tslint:enable */
56
+ /* eslint-enable */
@@ -0,0 +1,40 @@
1
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
2
+ /**
3
+ * Provides operations to count the resources in the collection.
4
+ */
5
+ export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuilder> {
6
+ /**
7
+ * Get the number of the resource
8
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
+ * @returns a Promise of Integer
10
+ */
11
+ get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
12
+ /**
13
+ * Get the number of the resource
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ * @returns a RequestInformation
16
+ */
17
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
18
+ }
19
+ /**
20
+ * Get the number of the resource
21
+ */
22
+ export interface CountRequestBuilderGetQueryParameters {
23
+ /**
24
+ * Filter items by property values
25
+ */
26
+ filter?: string;
27
+ /**
28
+ * Search items by search phrases
29
+ */
30
+ search?: string;
31
+ }
32
+ /**
33
+ * Metadata for all the requests in the request builder.
34
+ */
35
+ export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
36
+ /**
37
+ * Uri template for the request builder.
38
+ */
39
+ export declare const CountRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminRelationships/$count{?%24search,%24filter}";
40
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAQD;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8BAA8B,4FAA4F,CAAC"}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CountRequestBuilderUriTemplate = exports.CountRequestBuilderRequestsMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
8
+ /**
9
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
10
+ */
11
+ const CountRequestBuilderGetQueryParametersMapper = {
12
+ "filter": "%24filter",
13
+ "search": "%24search",
14
+ };
15
+ /**
16
+ * Metadata for all the requests in the request builder.
17
+ */
18
+ exports.CountRequestBuilderRequestsMetadata = {
19
+ get: {
20
+ responseBodyContentType: "text/plain;q=0.9",
21
+ errorMappings: {
22
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
23
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
+ },
25
+ adapterMethodName: "sendPrimitiveAsync",
26
+ responseBodyFactory: "number",
27
+ queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
28
+ },
29
+ };
30
+ /**
31
+ * Uri template for the request builder.
32
+ */
33
+ exports.CountRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminRelationships/$count{?%24search,%24filter}";
34
+ /* tslint:enable */
35
+ /* eslint-enable */
@@ -0,0 +1,97 @@
1
+ import { type DelegatedAdminRelationship, type DelegatedAdminRelationshipCollectionResponse } from '@microsoft/msgraph-sdk/models/';
2
+ import { type CountRequestBuilder } from './count/';
3
+ import { type DelegatedAdminRelationshipItemRequestBuilder } from './item/';
4
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
5
+ /**
6
+ * Provides operations to manage the delegatedAdminRelationships property of the microsoft.graph.tenantRelationship entity.
7
+ */
8
+ export interface DelegatedAdminRelationshipsRequestBuilder extends BaseRequestBuilder<DelegatedAdminRelationshipsRequestBuilder> {
9
+ /**
10
+ * Provides operations to count the resources in the collection.
11
+ */
12
+ get count(): CountRequestBuilder;
13
+ /**
14
+ * Provides operations to manage the delegatedAdminRelationships property of the microsoft.graph.tenantRelationship entity.
15
+ * @param delegatedAdminRelationshipId The unique identifier of delegatedAdminRelationship
16
+ * @returns a DelegatedAdminRelationshipItemRequestBuilder
17
+ */
18
+ byDelegatedAdminRelationshipId(delegatedAdminRelationshipId: string): DelegatedAdminRelationshipItemRequestBuilder;
19
+ /**
20
+ * Get a list of the delegatedAdminRelationship objects and their properties.
21
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
+ * @returns a Promise of DelegatedAdminRelationshipCollectionResponse
23
+ * @see {@link https://learn.microsoft.com/graph/api/tenantrelationship-list-delegatedadminrelationships?view=graph-rest-1.0|Find more info here}
24
+ */
25
+ get(requestConfiguration?: RequestConfiguration<DelegatedAdminRelationshipsRequestBuilderGetQueryParameters> | undefined): Promise<DelegatedAdminRelationshipCollectionResponse | undefined>;
26
+ /**
27
+ * Create a new delegatedAdminRelationship object.
28
+ * @param body The request body
29
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
30
+ * @returns a Promise of DelegatedAdminRelationship
31
+ * @see {@link https://learn.microsoft.com/graph/api/tenantrelationship-post-delegatedadminrelationships?view=graph-rest-1.0|Find more info here}
32
+ */
33
+ post(body: DelegatedAdminRelationship, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DelegatedAdminRelationship | undefined>;
34
+ /**
35
+ * Get a list of the delegatedAdminRelationship objects and their properties.
36
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
+ * @returns a RequestInformation
38
+ */
39
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<DelegatedAdminRelationshipsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
40
+ /**
41
+ * Create a new delegatedAdminRelationship object.
42
+ * @param body The request body
43
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
44
+ * @returns a RequestInformation
45
+ */
46
+ toPostRequestInformation(body: DelegatedAdminRelationship, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
+ }
48
+ /**
49
+ * Get a list of the delegatedAdminRelationship objects and their properties.
50
+ */
51
+ export interface DelegatedAdminRelationshipsRequestBuilderGetQueryParameters {
52
+ /**
53
+ * Include count of items
54
+ */
55
+ count?: boolean;
56
+ /**
57
+ * Expand related entities
58
+ */
59
+ expand?: string[];
60
+ /**
61
+ * Filter items by property values
62
+ */
63
+ filter?: string;
64
+ /**
65
+ * Order items by property values
66
+ */
67
+ orderby?: string[];
68
+ /**
69
+ * Search items by search phrases
70
+ */
71
+ search?: string;
72
+ /**
73
+ * Select properties to be returned
74
+ */
75
+ select?: string[];
76
+ /**
77
+ * Skip the first n items
78
+ */
79
+ skip?: number;
80
+ /**
81
+ * Show only the first n items
82
+ */
83
+ top?: number;
84
+ }
85
+ /**
86
+ * Metadata for all the navigation properties in the request builder.
87
+ */
88
+ export declare const DelegatedAdminRelationshipsRequestBuilderNavigationMetadata: Record<Exclude<keyof DelegatedAdminRelationshipsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
89
+ /**
90
+ * Metadata for all the requests in the request builder.
91
+ */
92
+ export declare const DelegatedAdminRelationshipsRequestBuilderRequestsMetadata: RequestsMetadata;
93
+ /**
94
+ * Uri template for the request builder.
95
+ */
96
+ export declare const DelegatedAdminRelationshipsRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminRelationships{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
97
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAyK,KAAK,0BAA0B,EAAE,KAAK,4CAA4C,EAAE,MAAM,gCAAgC,CAAC;AAE3S,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAAyL,KAAK,4CAA4C,EAAE,MAAM,SAAS,CAAC;AACnQ,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,yCAA0C,SAAQ,kBAAkB,CAAC,yCAAyC,CAAC;IAC5H;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,8BAA8B,CAAC,4BAA4B,EAAE,MAAM,GAAI,4CAA4C,CAAC;IACrH;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,2DAA2D,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,4CAA4C,GAAG,SAAS,CAAC,CAAC;IAC/L;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,0BAA0B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,0BAA0B,GAAG,SAAS,CAAC,CAAC;IAC3J;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,2DAA2D,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACpK;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,0BAA0B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACrJ;AACD;;GAEG;AACH,MAAM,WAAW,2DAA2D;IACxE;;OAEG;IACH,KAAK,CAAC,EAAE,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,2DAA2D,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,yCAAyC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAWhM,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,yDAAyD,EAAE,gBAuBvE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,oDAAoD,4IAA4I,CAAC"}
@@ -0,0 +1,71 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DelegatedAdminRelationshipsRequestBuilderUriTemplate = exports.DelegatedAdminRelationshipsRequestBuilderRequestsMetadata = exports.DelegatedAdminRelationshipsRequestBuilderNavigationMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ const count_1 = require("./count/");
10
+ const item_1 = require("./item/");
11
+ /**
12
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
13
+ */
14
+ const DelegatedAdminRelationshipsRequestBuilderGetQueryParametersMapper = {
15
+ "count": "%24count",
16
+ "expand": "%24expand",
17
+ "filter": "%24filter",
18
+ "orderby": "%24orderby",
19
+ "search": "%24search",
20
+ "select": "%24select",
21
+ "skip": "%24skip",
22
+ "top": "%24top",
23
+ };
24
+ /**
25
+ * Metadata for all the navigation properties in the request builder.
26
+ */
27
+ exports.DelegatedAdminRelationshipsRequestBuilderNavigationMetadata = {
28
+ byDelegatedAdminRelationshipId: {
29
+ uriTemplate: item_1.DelegatedAdminRelationshipItemRequestBuilderUriTemplate,
30
+ requestsMetadata: item_1.DelegatedAdminRelationshipItemRequestBuilderRequestsMetadata,
31
+ navigationMetadata: item_1.DelegatedAdminRelationshipItemRequestBuilderNavigationMetadata,
32
+ pathParametersMappings: ["delegatedAdminRelationship%2Did"],
33
+ },
34
+ count: {
35
+ uriTemplate: count_1.CountRequestBuilderUriTemplate,
36
+ requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
37
+ },
38
+ };
39
+ /**
40
+ * Metadata for all the requests in the request builder.
41
+ */
42
+ exports.DelegatedAdminRelationshipsRequestBuilderRequestsMetadata = {
43
+ get: {
44
+ responseBodyContentType: "application/json",
45
+ errorMappings: {
46
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
47
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
48
+ },
49
+ adapterMethodName: "sendAsync",
50
+ responseBodyFactory: models_1.createDelegatedAdminRelationshipCollectionResponseFromDiscriminatorValue,
51
+ queryParametersMapper: DelegatedAdminRelationshipsRequestBuilderGetQueryParametersMapper,
52
+ },
53
+ post: {
54
+ responseBodyContentType: "application/json",
55
+ errorMappings: {
56
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
57
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
58
+ },
59
+ adapterMethodName: "sendAsync",
60
+ responseBodyFactory: models_1.createDelegatedAdminRelationshipFromDiscriminatorValue,
61
+ requestBodyContentType: "application/json",
62
+ requestBodySerializer: models_1.serializeDelegatedAdminRelationship,
63
+ requestInformationContentSetMethod: "setContentFromParsable",
64
+ },
65
+ };
66
+ /**
67
+ * Uri template for the request builder.
68
+ */
69
+ exports.DelegatedAdminRelationshipsRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminRelationships{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
70
+ /* tslint:enable */
71
+ /* eslint-enable */
@@ -0,0 +1,40 @@
1
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
2
+ /**
3
+ * Provides operations to count the resources in the collection.
4
+ */
5
+ export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuilder> {
6
+ /**
7
+ * Get the number of the resource
8
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
+ * @returns a Promise of Integer
10
+ */
11
+ get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
12
+ /**
13
+ * Get the number of the resource
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ * @returns a RequestInformation
16
+ */
17
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
18
+ }
19
+ /**
20
+ * Get the number of the resource
21
+ */
22
+ export interface CountRequestBuilderGetQueryParameters {
23
+ /**
24
+ * Filter items by property values
25
+ */
26
+ filter?: string;
27
+ /**
28
+ * Search items by search phrases
29
+ */
30
+ search?: string;
31
+ }
32
+ /**
33
+ * Metadata for all the requests in the request builder.
34
+ */
35
+ export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
36
+ /**
37
+ * Uri template for the request builder.
38
+ */
39
+ export declare const CountRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminRelationships/{delegatedAdminRelationship%2Did}/accessAssignments/$count{?%24search,%24filter}";
40
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAQD;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8BAA8B,gJAAgJ,CAAC"}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CountRequestBuilderUriTemplate = exports.CountRequestBuilderRequestsMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
8
+ /**
9
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
10
+ */
11
+ const CountRequestBuilderGetQueryParametersMapper = {
12
+ "filter": "%24filter",
13
+ "search": "%24search",
14
+ };
15
+ /**
16
+ * Metadata for all the requests in the request builder.
17
+ */
18
+ exports.CountRequestBuilderRequestsMetadata = {
19
+ get: {
20
+ responseBodyContentType: "text/plain;q=0.9",
21
+ errorMappings: {
22
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
23
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
+ },
25
+ adapterMethodName: "sendPrimitiveAsync",
26
+ responseBodyFactory: "number",
27
+ queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
28
+ },
29
+ };
30
+ /**
31
+ * Uri template for the request builder.
32
+ */
33
+ exports.CountRequestBuilderUriTemplate = "{+baseurl}/tenantRelationships/delegatedAdminRelationships/{delegatedAdminRelationship%2Did}/accessAssignments/$count{?%24search,%24filter}";
34
+ /* tslint:enable */
35
+ /* eslint-enable */