@microsoft/msgraph-sdk-users 1.0.0-preview.63 → 1.0.0-preview.65

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 (56) hide show
  1. package/package.json +2 -2
  2. package/tsconfig.tsbuildinfo +1 -1
  3. package/users/index.d.ts +4 -4
  4. package/users/item/dataSecurityAndGovernance/index.d.ts +5 -0
  5. package/users/item/dataSecurityAndGovernance/index.d.ts.map +1 -1
  6. package/users/item/dataSecurityAndGovernance/index.js +6 -0
  7. package/users/item/dataSecurityAndGovernance/index.js.map +1 -1
  8. package/users/item/dataSecurityAndGovernance/sensitivityLabels/computeInheritanceWithLabelIdsWithLocaleWithContentFormats/index.d.ts +30 -0
  9. package/users/item/dataSecurityAndGovernance/sensitivityLabels/computeInheritanceWithLabelIdsWithLocaleWithContentFormats/index.d.ts.map +1 -0
  10. package/users/item/dataSecurityAndGovernance/sensitivityLabels/computeInheritanceWithLabelIdsWithLocaleWithContentFormats/index.js +28 -0
  11. package/users/item/dataSecurityAndGovernance/sensitivityLabels/computeInheritanceWithLabelIdsWithLocaleWithContentFormats/index.js.map +1 -0
  12. package/users/item/dataSecurityAndGovernance/sensitivityLabels/computeRightsAndInheritance/index.d.ts +73 -0
  13. package/users/item/dataSecurityAndGovernance/sensitivityLabels/computeRightsAndInheritance/index.d.ts.map +1 -0
  14. package/users/item/dataSecurityAndGovernance/sensitivityLabels/computeRightsAndInheritance/index.js +72 -0
  15. package/users/item/dataSecurityAndGovernance/sensitivityLabels/computeRightsAndInheritance/index.js.map +1 -0
  16. package/users/item/dataSecurityAndGovernance/sensitivityLabels/count/index.d.ts +41 -0
  17. package/users/item/dataSecurityAndGovernance/sensitivityLabels/count/index.d.ts.map +1 -0
  18. package/users/item/dataSecurityAndGovernance/sensitivityLabels/count/index.js +34 -0
  19. package/users/item/dataSecurityAndGovernance/sensitivityLabels/count/index.js.map +1 -0
  20. package/users/item/dataSecurityAndGovernance/sensitivityLabels/index.d.ts +111 -0
  21. package/users/item/dataSecurityAndGovernance/sensitivityLabels/index.d.ts.map +1 -0
  22. package/users/item/dataSecurityAndGovernance/sensitivityLabels/index.js +82 -0
  23. package/users/item/dataSecurityAndGovernance/sensitivityLabels/index.js.map +1 -0
  24. package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/index.d.ts +83 -0
  25. package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/index.d.ts.map +1 -0
  26. package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/index.js +72 -0
  27. package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/index.js.map +1 -0
  28. package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/rights/index.d.ts +42 -0
  29. package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/rights/index.d.ts.map +1 -0
  30. package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/rights/index.js +36 -0
  31. package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/rights/index.js.map +1 -0
  32. package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/computeInheritanceWithLabelIdsWithLocaleWithContentFormats/index.d.ts +30 -0
  33. package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/computeInheritanceWithLabelIdsWithLocaleWithContentFormats/index.d.ts.map +1 -0
  34. package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/computeInheritanceWithLabelIdsWithLocaleWithContentFormats/index.js +28 -0
  35. package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/computeInheritanceWithLabelIdsWithLocaleWithContentFormats/index.js.map +1 -0
  36. package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/computeRightsAndInheritance/index.d.ts +73 -0
  37. package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/computeRightsAndInheritance/index.d.ts.map +1 -0
  38. package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/computeRightsAndInheritance/index.js +72 -0
  39. package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/computeRightsAndInheritance/index.js.map +1 -0
  40. package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/count/index.d.ts +41 -0
  41. package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/count/index.d.ts.map +1 -0
  42. package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/count/index.js +34 -0
  43. package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/count/index.js.map +1 -0
  44. package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/index.d.ts +111 -0
  45. package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/index.d.ts.map +1 -0
  46. package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/index.js +82 -0
  47. package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/index.js.map +1 -0
  48. package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/item/index.d.ts +78 -0
  49. package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/item/index.d.ts.map +1 -0
  50. package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/item/index.js +66 -0
  51. package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/item/index.js.map +1 -0
  52. package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/item/rights/index.d.ts +42 -0
  53. package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/item/rights/index.d.ts.map +1 -0
  54. package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/item/rights/index.js +36 -0
  55. package/users/item/dataSecurityAndGovernance/sensitivityLabels/item/sublabels/item/rights/index.js.map +1 -0
  56. package/users/item/index.d.ts +6 -6
@@ -0,0 +1,83 @@
1
+ import { type SensitivityLabel } from '@microsoft/msgraph-sdk/models/index.js';
2
+ import { type RightsRequestBuilder } from './rights/index.js';
3
+ import { type SublabelsRequestBuilder } from './sublabels/index.js';
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 sensitivityLabels property of the microsoft.graph.dataSecurityAndGovernance entity.
7
+ */
8
+ export interface SensitivityLabelItemRequestBuilder extends BaseRequestBuilder<SensitivityLabelItemRequestBuilder> {
9
+ /**
10
+ * Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity.
11
+ */
12
+ get rights(): RightsRequestBuilder;
13
+ /**
14
+ * Provides operations to manage the sublabels property of the microsoft.graph.sensitivityLabel entity.
15
+ */
16
+ get sublabels(): SublabelsRequestBuilder;
17
+ /**
18
+ * Delete navigation property sensitivityLabels for users
19
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
20
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
21
+ */
22
+ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
23
+ /**
24
+ * Get sensitivityLabels from users
25
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
26
+ * @returns {Promise<SensitivityLabel>}
27
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
28
+ */
29
+ get(requestConfiguration?: RequestConfiguration<SensitivityLabelItemRequestBuilderGetQueryParameters> | undefined): Promise<SensitivityLabel | undefined>;
30
+ /**
31
+ * Update the navigation property sensitivityLabels in users
32
+ * @param body The request body
33
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
34
+ * @returns {Promise<SensitivityLabel>}
35
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
36
+ */
37
+ patch(body: SensitivityLabel, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SensitivityLabel | undefined>;
38
+ /**
39
+ * Delete navigation property sensitivityLabels for users
40
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
41
+ * @returns {RequestInformation}
42
+ */
43
+ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
44
+ /**
45
+ * Get sensitivityLabels from users
46
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
47
+ * @returns {RequestInformation}
48
+ */
49
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<SensitivityLabelItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
50
+ /**
51
+ * Update the navigation property sensitivityLabels in users
52
+ * @param body The request body
53
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
54
+ * @returns {RequestInformation}
55
+ */
56
+ toPatchRequestInformation(body: SensitivityLabel, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
57
+ }
58
+ /**
59
+ * Get sensitivityLabels from users
60
+ */
61
+ export interface SensitivityLabelItemRequestBuilderGetQueryParameters {
62
+ /**
63
+ * Expand related entities
64
+ */
65
+ expand?: string[];
66
+ /**
67
+ * Select properties to be returned
68
+ */
69
+ select?: string[];
70
+ }
71
+ /**
72
+ * Uri template for the request builder.
73
+ */
74
+ export declare const SensitivityLabelItemRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}{?%24expand,%24select}";
75
+ /**
76
+ * Metadata for all the navigation properties in the request builder.
77
+ */
78
+ export declare const SensitivityLabelItemRequestBuilderNavigationMetadata: Record<Exclude<keyof SensitivityLabelItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
79
+ /**
80
+ * Metadata for all the requests in the request builder.
81
+ */
82
+ export declare const SensitivityLabelItemRequestBuilderRequestsMetadata: RequestsMetadata;
83
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA2E,KAAK,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAIxJ,OAAO,EAAwC,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAEpG,O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;AACH,MAAM,WAAW,oDAAoD;IACjE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,6CAA6C,2HAA2H,CAAC;AAQtL;;GAEG;AACH,eAAO,MAAM,oDAAoD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,kCAAkC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAQlL,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,kDAAkD,EAAE,gBA+BhE,CAAC"}
@@ -0,0 +1,72 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createSensitivityLabelFromDiscriminatorValue, serializeSensitivityLabel } from '@microsoft/msgraph-sdk/models/index.js';
6
+ // @ts-ignore
7
+ import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
8
+ // @ts-ignore
9
+ import { RightsRequestBuilderRequestsMetadata } from './rights/index.js';
10
+ // @ts-ignore
11
+ import { SublabelsRequestBuilderNavigationMetadata, SublabelsRequestBuilderRequestsMetadata } from './sublabels/index.js';
12
+ /**
13
+ * Uri template for the request builder.
14
+ */
15
+ export const SensitivityLabelItemRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}{?%24expand,%24select}";
16
+ /**
17
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
18
+ */
19
+ const SensitivityLabelItemRequestBuilderGetQueryParametersMapper = {
20
+ "expand": "%24expand",
21
+ "select": "%24select",
22
+ };
23
+ /**
24
+ * Metadata for all the navigation properties in the request builder.
25
+ */
26
+ export const SensitivityLabelItemRequestBuilderNavigationMetadata = {
27
+ rights: {
28
+ requestsMetadata: RightsRequestBuilderRequestsMetadata,
29
+ },
30
+ sublabels: {
31
+ requestsMetadata: SublabelsRequestBuilderRequestsMetadata,
32
+ navigationMetadata: SublabelsRequestBuilderNavigationMetadata,
33
+ },
34
+ };
35
+ /**
36
+ * Metadata for all the requests in the request builder.
37
+ */
38
+ export const SensitivityLabelItemRequestBuilderRequestsMetadata = {
39
+ delete: {
40
+ uriTemplate: SensitivityLabelItemRequestBuilderUriTemplate,
41
+ responseBodyContentType: "application/json",
42
+ errorMappings: {
43
+ XXX: createODataErrorFromDiscriminatorValue,
44
+ },
45
+ adapterMethodName: "sendNoResponseContent",
46
+ },
47
+ get: {
48
+ uriTemplate: SensitivityLabelItemRequestBuilderUriTemplate,
49
+ responseBodyContentType: "application/json",
50
+ errorMappings: {
51
+ XXX: createODataErrorFromDiscriminatorValue,
52
+ },
53
+ adapterMethodName: "send",
54
+ responseBodyFactory: createSensitivityLabelFromDiscriminatorValue,
55
+ queryParametersMapper: SensitivityLabelItemRequestBuilderGetQueryParametersMapper,
56
+ },
57
+ patch: {
58
+ uriTemplate: SensitivityLabelItemRequestBuilderUriTemplate,
59
+ responseBodyContentType: "application/json",
60
+ errorMappings: {
61
+ XXX: createODataErrorFromDiscriminatorValue,
62
+ },
63
+ adapterMethodName: "send",
64
+ responseBodyFactory: createSensitivityLabelFromDiscriminatorValue,
65
+ requestBodyContentType: "application/json",
66
+ requestBodySerializer: serializeSensitivityLabel,
67
+ requestInformationContentSetMethod: "setContentFromParsable",
68
+ },
69
+ };
70
+ /* tslint:enable */
71
+ /* eslint-enable */
72
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,4CAA4C,EAAE,yBAAyB,EAAyB,MAAM,wCAAwC,CAAC;AACxJ,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO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0,0 +1,42 @@
1
+ import { type UsageRightsIncluded } from '@microsoft/msgraph-sdk/models/index.js';
2
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity.
5
+ */
6
+ export interface RightsRequestBuilder extends BaseRequestBuilder<RightsRequestBuilder> {
7
+ /**
8
+ * Get rights from users
9
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
+ * @returns {Promise<UsageRightsIncluded>}
11
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
12
+ */
13
+ get(requestConfiguration?: RequestConfiguration<RightsRequestBuilderGetQueryParameters> | undefined): Promise<UsageRightsIncluded | undefined>;
14
+ /**
15
+ * Get rights from users
16
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
17
+ * @returns {RequestInformation}
18
+ */
19
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<RightsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
20
+ }
21
+ /**
22
+ * Get rights from users
23
+ */
24
+ export interface RightsRequestBuilderGetQueryParameters {
25
+ /**
26
+ * Expand related entities
27
+ */
28
+ expand?: string[];
29
+ /**
30
+ * Select properties to be returned
31
+ */
32
+ select?: string[];
33
+ }
34
+ /**
35
+ * Uri template for the request builder.
36
+ */
37
+ export declare const RightsRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/rights{?%24expand,%24select}";
38
+ /**
39
+ * Metadata for all the requests in the request builder.
40
+ */
41
+ export declare const RightsRequestBuilderRequestsMetadata: RequestsMetadata;
42
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAmD,KAAK,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAInI,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,kBAAkB,CAAC,oBAAoB,CAAC;IAClF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,sCAAsC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,mBAAmB,GAAG,SAAS,CAAC,CAAC;IACjJ;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,sCAAsC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClJ;AACD;;GAEG;AACH,MAAM,WAAW,sCAAsC;IACnD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,+BAA+B,kIAAkI,CAAC;AAQ/K;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,gBAWlD,CAAC"}
@@ -0,0 +1,36 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createUsageRightsIncludedFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/index.js';
6
+ // @ts-ignore
7
+ import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
8
+ /**
9
+ * Uri template for the request builder.
10
+ */
11
+ export const RightsRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/rights{?%24expand,%24select}";
12
+ /**
13
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
14
+ */
15
+ const RightsRequestBuilderGetQueryParametersMapper = {
16
+ "expand": "%24expand",
17
+ "select": "%24select",
18
+ };
19
+ /**
20
+ * Metadata for all the requests in the request builder.
21
+ */
22
+ export const RightsRequestBuilderRequestsMetadata = {
23
+ get: {
24
+ uriTemplate: RightsRequestBuilderUriTemplate,
25
+ responseBodyContentType: "application/json",
26
+ errorMappings: {
27
+ XXX: createODataErrorFromDiscriminatorValue,
28
+ },
29
+ adapterMethodName: "send",
30
+ responseBodyFactory: createUsageRightsIncludedFromDiscriminatorValue,
31
+ queryParametersMapper: RightsRequestBuilderGetQueryParametersMapper,
32
+ },
33
+ };
34
+ /* tslint:enable */
35
+ /* eslint-enable */
36
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,+CAA+C,EAA4B,MAAM,wCAAwC,CAAC;AACnI,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAmC7H;;GAEG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG,+HAA+H,CAAC;AAC/K;;GAEG;AACH,MAAM,4CAA4C,GAA2B;IACzE,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAqB;IAClE,GAAG,EAAE;QACD,WAAW,EAAE,+BAA+B;QAC5C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,+CAA+C;QACrE,qBAAqB,EAAE,4CAA4C;KACtE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,30 @@
1
+ import { type SensitivityLabel } from '@microsoft/msgraph-sdk/models/index.js';
2
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Provides operations to call the computeInheritance method.
5
+ */
6
+ export interface ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder extends BaseRequestBuilder<ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder> {
7
+ /**
8
+ * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts.
9
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
+ * @returns {Promise<SensitivityLabel>}
11
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
12
+ * @see {@link https://learn.microsoft.com/graph/api/sensitivitylabel-computeinheritance?view=graph-rest-1.0|Find more info here}
13
+ */
14
+ get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SensitivityLabel | undefined>;
15
+ /**
16
+ * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts.
17
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
18
+ * @returns {RequestInformation}
19
+ */
20
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
21
+ }
22
+ /**
23
+ * Uri template for the request builder.
24
+ */
25
+ export declare const ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})";
26
+ /**
27
+ * Metadata for all the requests in the request builder.
28
+ */
29
+ export declare const ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderRequestsMetadata: RequestsMetadata;
30
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAgD,KAAK,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAI7H,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,wEAAyE,SAAQ,kBAAkB,CAAC,wEAAwE,CAAC;IAC1L;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,gBAAgB,GAAG,SAAS,CAAC,CAAC;IAC9G;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClH;AACD;;GAEG;AACH,eAAO,MAAM,mFAAmF,yMAAyM,CAAC;AAC1S;;GAEG;AACH,eAAO,MAAM,wFAAwF,EAAE,gBAUtG,CAAC"}
@@ -0,0 +1,28 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createSensitivityLabelFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/index.js';
6
+ // @ts-ignore
7
+ import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
8
+ /**
9
+ * Uri template for the request builder.
10
+ */
11
+ export const ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeInheritance(labelIds={labelIds},locale='{locale}',contentFormats={contentFormats})";
12
+ /**
13
+ * Metadata for all the requests in the request builder.
14
+ */
15
+ export const ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderRequestsMetadata = {
16
+ get: {
17
+ uriTemplate: ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderUriTemplate,
18
+ responseBodyContentType: "application/json",
19
+ errorMappings: {
20
+ XXX: createODataErrorFromDiscriminatorValue,
21
+ },
22
+ adapterMethodName: "send",
23
+ responseBodyFactory: createSensitivityLabelFromDiscriminatorValue,
24
+ },
25
+ };
26
+ /* tslint:enable */
27
+ /* eslint-enable */
28
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,4CAA4C,EAAyB,MAAM,wCAAwC,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAuB7H;;GAEG;AACH,MAAM,CAAC,MAAM,mFAAmF,GAAG,sMAAsM,CAAC;AAC1S;;GAEG;AACH,MAAM,CAAC,MAAM,wFAAwF,GAAqB;IACtH,GAAG,EAAE;QACD,WAAW,EAAE,mFAAmF;QAChG,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,4CAA4C;KACrE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,73 @@
1
+ import { type ComputeRightsAndInheritanceResult, type ProtectedContent } from '@microsoft/msgraph-sdk/models/index.js';
2
+ import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
3
+ export interface ComputeRightsAndInheritancePostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
4
+ /**
5
+ * Stores model information.
6
+ */
7
+ backingStoreEnabled?: boolean | null;
8
+ /**
9
+ * The delegatedUserEmail property
10
+ */
11
+ delegatedUserEmail?: string | null;
12
+ /**
13
+ * The locale property
14
+ */
15
+ locale?: string | null;
16
+ /**
17
+ * The protectedContents property
18
+ */
19
+ protectedContents?: ProtectedContent[] | null;
20
+ /**
21
+ * The supportedContentFormats property
22
+ */
23
+ supportedContentFormats?: string[] | null;
24
+ }
25
+ /**
26
+ * Provides operations to call the computeRightsAndInheritance method.
27
+ */
28
+ export interface ComputeRightsAndInheritanceRequestBuilder extends BaseRequestBuilder<ComputeRightsAndInheritanceRequestBuilder> {
29
+ /**
30
+ * Computes the rights and inheritance for sensitivity labels based on the input content and labels.
31
+ * @param body The request body
32
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
33
+ * @returns {Promise<ComputeRightsAndInheritanceResult>}
34
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
35
+ * @see {@link https://learn.microsoft.com/graph/api/sensitivitylabel-computerightsandinheritance?view=graph-rest-1.0|Find more info here}
36
+ */
37
+ post(body: ComputeRightsAndInheritancePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ComputeRightsAndInheritanceResult | undefined>;
38
+ /**
39
+ * Computes the rights and inheritance for sensitivity labels based on the input content and labels.
40
+ * @param body The request body
41
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
42
+ * @returns {RequestInformation}
43
+ */
44
+ toPostRequestInformation(body: ComputeRightsAndInheritancePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
45
+ }
46
+ /**
47
+ * Creates a new instance of the appropriate class based on discriminator value
48
+ * @param parseNode The parse node to use to read the discriminator value and create the object
49
+ * @returns {ComputeRightsAndInheritancePostRequestBody}
50
+ */
51
+ export declare function createComputeRightsAndInheritancePostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
52
+ /**
53
+ * The deserialization information for the current model
54
+ * @param ComputeRightsAndInheritancePostRequestBody The instance to deserialize into.
55
+ * @returns {Record<string, (node: ParseNode) => void>}
56
+ */
57
+ export declare function deserializeIntoComputeRightsAndInheritancePostRequestBody(computeRightsAndInheritancePostRequestBody?: Partial<ComputeRightsAndInheritancePostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
58
+ /**
59
+ * Serializes information the current object
60
+ * @param ComputeRightsAndInheritancePostRequestBody The instance to serialize from.
61
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
62
+ * @param writer Serialization writer to use to serialize this model
63
+ */
64
+ export declare function serializeComputeRightsAndInheritancePostRequestBody(writer: SerializationWriter, computeRightsAndInheritancePostRequestBody?: Partial<ComputeRightsAndInheritancePostRequestBody> | undefined | null, isSerializingDerivedType?: boolean): void;
65
+ /**
66
+ * Uri template for the request builder.
67
+ */
68
+ export declare const ComputeRightsAndInheritanceRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeRightsAndInheritance";
69
+ /**
70
+ * Metadata for all the requests in the request builder.
71
+ */
72
+ export declare const ComputeRightsAndInheritanceRequestBuilderRequestsMetadata: RequestsMetadata;
73
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAsL,KAAK,iCAAiC,EAAE,KAAK,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAI3S,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElS,MAAM,WAAW,0CAA2C,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IAC3G;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACrC;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,C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EG;AACH,eAAO,MAAM,yDAAyD,EAAE,gBAavE,CAAC"}
@@ -0,0 +1,72 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createComputeRightsAndInheritanceResultFromDiscriminatorValue, createProtectedContentFromDiscriminatorValue, serializeProtectedContent } from '@microsoft/msgraph-sdk/models/index.js';
6
+ // @ts-ignore
7
+ import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
8
+ /**
9
+ * Creates a new instance of the appropriate class based on discriminator value
10
+ * @param parseNode The parse node to use to read the discriminator value and create the object
11
+ * @returns {ComputeRightsAndInheritancePostRequestBody}
12
+ */
13
+ // @ts-ignore
14
+ export function createComputeRightsAndInheritancePostRequestBodyFromDiscriminatorValue(parseNode) {
15
+ return deserializeIntoComputeRightsAndInheritancePostRequestBody;
16
+ }
17
+ /**
18
+ * The deserialization information for the current model
19
+ * @param ComputeRightsAndInheritancePostRequestBody The instance to deserialize into.
20
+ * @returns {Record<string, (node: ParseNode) => void>}
21
+ */
22
+ // @ts-ignore
23
+ export function deserializeIntoComputeRightsAndInheritancePostRequestBody(computeRightsAndInheritancePostRequestBody = {}) {
24
+ return {
25
+ "backingStoreEnabled": n => { computeRightsAndInheritancePostRequestBody.backingStoreEnabled = true; },
26
+ "delegatedUserEmail": n => { computeRightsAndInheritancePostRequestBody.delegatedUserEmail = n.getStringValue(); },
27
+ "locale": n => { computeRightsAndInheritancePostRequestBody.locale = n.getStringValue(); },
28
+ "protectedContents": n => { computeRightsAndInheritancePostRequestBody.protectedContents = n.getCollectionOfObjectValues(createProtectedContentFromDiscriminatorValue); },
29
+ "supportedContentFormats": n => { computeRightsAndInheritancePostRequestBody.supportedContentFormats = n.getCollectionOfPrimitiveValues(); },
30
+ };
31
+ }
32
+ /**
33
+ * Serializes information the current object
34
+ * @param ComputeRightsAndInheritancePostRequestBody The instance to serialize from.
35
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
36
+ * @param writer Serialization writer to use to serialize this model
37
+ */
38
+ // @ts-ignore
39
+ export function serializeComputeRightsAndInheritancePostRequestBody(writer, computeRightsAndInheritancePostRequestBody = {}, isSerializingDerivedType = false) {
40
+ if (!computeRightsAndInheritancePostRequestBody || isSerializingDerivedType) {
41
+ return;
42
+ }
43
+ writer.writeStringValue("delegatedUserEmail", computeRightsAndInheritancePostRequestBody.delegatedUserEmail);
44
+ writer.writeStringValue("locale", computeRightsAndInheritancePostRequestBody.locale);
45
+ writer.writeCollectionOfObjectValues("protectedContents", computeRightsAndInheritancePostRequestBody.protectedContents, serializeProtectedContent);
46
+ writer.writeCollectionOfPrimitiveValues("supportedContentFormats", computeRightsAndInheritancePostRequestBody.supportedContentFormats);
47
+ writer.writeAdditionalData(computeRightsAndInheritancePostRequestBody.additionalData);
48
+ }
49
+ /**
50
+ * Uri template for the request builder.
51
+ */
52
+ export const ComputeRightsAndInheritanceRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeRightsAndInheritance";
53
+ /**
54
+ * Metadata for all the requests in the request builder.
55
+ */
56
+ export const ComputeRightsAndInheritanceRequestBuilderRequestsMetadata = {
57
+ post: {
58
+ uriTemplate: ComputeRightsAndInheritanceRequestBuilderUriTemplate,
59
+ responseBodyContentType: "application/json",
60
+ errorMappings: {
61
+ XXX: createODataErrorFromDiscriminatorValue,
62
+ },
63
+ adapterMethodName: "send",
64
+ responseBodyFactory: createComputeRightsAndInheritanceResultFromDiscriminatorValue,
65
+ requestBodyContentType: "application/json",
66
+ requestBodySerializer: serializeComputeRightsAndInheritancePostRequestBody,
67
+ requestInformationContentSetMethod: "setContentFromParsable",
68
+ },
69
+ };
70
+ /* tslint:enable */
71
+ /* eslint-enable */
72
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.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AAoB,EAAE,0CAA0C,CAAC,kBAAkB,CAAC,CAAC;IAC7G,MAAM,CAAC,gBAAgB,CAAC,QAAQ,EAAE,0CAA0C,CAAC,MAAM,CAAC,CAAC;IACrF,MAAM,CAAC,6BAA6B,CAAmB,mBAAmB,EAAE,0CAA0C,CAAC,iBAAiB,EAAE,yBAAyB,CAAC,CAAC;IACrK,MAAM,CAAC,gCAAgC,CAAS,yBAAyB,EAAE,0CAA0C,CAAC,uBAAuB,CAAC,CAAC;IAC/I,MAAM,CAAC,mBAAmB,CAAC,0CAA0C,CAAC,cAAc,CAAC,CAAC;AAC1F,CAAC;AACD;;GAEG;AACH,MAAM,CAAC,MAAM,oDAAoD,GAAG,wIAAwI,CAAC;AAC7M;;GAEG;AACH,MAAM,CAAC,MAAM,yDAAyD,GAAqB;IACvF,IAAI,EAAE;QACF,WAAW,EAAE,oDAAoD;QACjE,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,6DAA6D;QACnF,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,mDAAmD;QAC1E,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,41 @@
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 {Promise<number>}
10
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
11
+ */
12
+ get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
13
+ /**
14
+ * Get the number of the resource
15
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
16
+ * @returns {RequestInformation}
17
+ */
18
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
19
+ }
20
+ /**
21
+ * Get the number of the resource
22
+ */
23
+ export interface CountRequestBuilderGetQueryParameters {
24
+ /**
25
+ * Filter items by property values
26
+ */
27
+ filter?: string;
28
+ /**
29
+ * Search items by search phrases
30
+ */
31
+ search?: string;
32
+ }
33
+ /**
34
+ * Uri template for the request builder.
35
+ */
36
+ export declare const CountRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/$count{?%24filter,%24search}";
37
+ /**
38
+ * Metadata for all the requests in the request builder.
39
+ */
40
+ export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
41
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,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,4IAA4I,CAAC;AAQxL;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC"}
@@ -0,0 +1,34 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
6
+ /**
7
+ * Uri template for the request builder.
8
+ */
9
+ export const CountRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/$count{?%24filter,%24search}";
10
+ /**
11
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
12
+ */
13
+ const CountRequestBuilderGetQueryParametersMapper = {
14
+ "filter": "%24filter",
15
+ "search": "%24search",
16
+ };
17
+ /**
18
+ * Metadata for all the requests in the request builder.
19
+ */
20
+ export const CountRequestBuilderRequestsMetadata = {
21
+ get: {
22
+ uriTemplate: CountRequestBuilderUriTemplate,
23
+ responseBodyContentType: "text/plain;q=0.9",
24
+ errorMappings: {
25
+ XXX: createODataErrorFromDiscriminatorValue,
26
+ },
27
+ adapterMethodName: "sendPrimitive",
28
+ responseBodyFactory: "number",
29
+ queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
30
+ },
31
+ };
32
+ /* tslint:enable */
33
+ /* eslint-enable */
34
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAmC7H;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,yIAAyI,CAAC;AACxL;;GAEG;AACH,MAAM,2CAA2C,GAA2B;IACxE,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAqB;IACjE,GAAG,EAAE;QACD,WAAW,EAAE,8BAA8B;QAC3C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,eAAe;QAClC,mBAAmB,EAAG,QAAQ;QAC9B,qBAAqB,EAAE,2CAA2C;KACrE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}