@microsoft/msgraph-sdk-solutions 1.0.0-preview.47 → 1.0.0-preview.49

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 (46) hide show
  1. package/package.json +2 -2
  2. package/solutions/backupRestore/protectionUnits/graphDriveProtectionUnit/count/index.d.ts +41 -0
  3. package/solutions/backupRestore/protectionUnits/graphDriveProtectionUnit/count/index.d.ts.map +1 -0
  4. package/solutions/backupRestore/protectionUnits/graphDriveProtectionUnit/count/index.js +34 -0
  5. package/solutions/backupRestore/protectionUnits/graphDriveProtectionUnit/count/index.js.map +1 -0
  6. package/solutions/backupRestore/protectionUnits/graphDriveProtectionUnit/index.d.ts +76 -0
  7. package/solutions/backupRestore/protectionUnits/graphDriveProtectionUnit/index.d.ts.map +1 -0
  8. package/solutions/backupRestore/protectionUnits/graphDriveProtectionUnit/index.js +52 -0
  9. package/solutions/backupRestore/protectionUnits/graphDriveProtectionUnit/index.js.map +1 -0
  10. package/solutions/backupRestore/protectionUnits/graphMailboxProtectionUnit/count/index.d.ts +41 -0
  11. package/solutions/backupRestore/protectionUnits/graphMailboxProtectionUnit/count/index.d.ts.map +1 -0
  12. package/solutions/backupRestore/protectionUnits/graphMailboxProtectionUnit/count/index.js +34 -0
  13. package/solutions/backupRestore/protectionUnits/graphMailboxProtectionUnit/count/index.js.map +1 -0
  14. package/solutions/backupRestore/protectionUnits/graphMailboxProtectionUnit/index.d.ts +76 -0
  15. package/solutions/backupRestore/protectionUnits/graphMailboxProtectionUnit/index.d.ts.map +1 -0
  16. package/solutions/backupRestore/protectionUnits/graphMailboxProtectionUnit/index.js +52 -0
  17. package/solutions/backupRestore/protectionUnits/graphMailboxProtectionUnit/index.js.map +1 -0
  18. package/solutions/backupRestore/protectionUnits/graphSiteProtectionUnit/count/index.d.ts +41 -0
  19. package/solutions/backupRestore/protectionUnits/graphSiteProtectionUnit/count/index.d.ts.map +1 -0
  20. package/solutions/backupRestore/protectionUnits/graphSiteProtectionUnit/count/index.js +34 -0
  21. package/solutions/backupRestore/protectionUnits/graphSiteProtectionUnit/count/index.js.map +1 -0
  22. package/solutions/backupRestore/protectionUnits/graphSiteProtectionUnit/index.d.ts +76 -0
  23. package/solutions/backupRestore/protectionUnits/graphSiteProtectionUnit/index.d.ts.map +1 -0
  24. package/solutions/backupRestore/protectionUnits/graphSiteProtectionUnit/index.js +52 -0
  25. package/solutions/backupRestore/protectionUnits/graphSiteProtectionUnit/index.js.map +1 -0
  26. package/solutions/backupRestore/protectionUnits/index.d.ts +15 -0
  27. package/solutions/backupRestore/protectionUnits/index.d.ts.map +1 -1
  28. package/solutions/backupRestore/protectionUnits/index.js +20 -1
  29. package/solutions/backupRestore/protectionUnits/index.js.map +1 -1
  30. package/solutions/backupRestore/protectionUnits/item/graphDriveProtectionUnit/index.d.ts +43 -0
  31. package/solutions/backupRestore/protectionUnits/item/graphDriveProtectionUnit/index.d.ts.map +1 -0
  32. package/solutions/backupRestore/protectionUnits/item/graphDriveProtectionUnit/index.js +36 -0
  33. package/solutions/backupRestore/protectionUnits/item/graphDriveProtectionUnit/index.js.map +1 -0
  34. package/solutions/backupRestore/protectionUnits/item/graphMailboxProtectionUnit/index.d.ts +43 -0
  35. package/solutions/backupRestore/protectionUnits/item/graphMailboxProtectionUnit/index.d.ts.map +1 -0
  36. package/solutions/backupRestore/protectionUnits/item/graphMailboxProtectionUnit/index.js +36 -0
  37. package/solutions/backupRestore/protectionUnits/item/graphMailboxProtectionUnit/index.js.map +1 -0
  38. package/solutions/backupRestore/protectionUnits/item/graphSiteProtectionUnit/index.d.ts +43 -0
  39. package/solutions/backupRestore/protectionUnits/item/graphSiteProtectionUnit/index.d.ts.map +1 -0
  40. package/solutions/backupRestore/protectionUnits/item/graphSiteProtectionUnit/index.js +36 -0
  41. package/solutions/backupRestore/protectionUnits/item/graphSiteProtectionUnit/index.js.map +1 -0
  42. package/solutions/backupRestore/protectionUnits/item/index.d.ts +20 -1
  43. package/solutions/backupRestore/protectionUnits/item/index.d.ts.map +1 -1
  44. package/solutions/backupRestore/protectionUnits/item/index.js +20 -0
  45. package/solutions/backupRestore/protectionUnits/item/index.js.map +1 -1
  46. package/tsconfig.tsbuildinfo +1 -1
@@ -0,0 +1,52 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createSiteProtectionUnitCollectionResponseFromDiscriminatorValue } 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 { CountRequestBuilderRequestsMetadata } from './count/index.js';
10
+ /**
11
+ * Uri template for the request builder.
12
+ */
13
+ export const GraphSiteProtectionUnitRequestBuilderUriTemplate = "{+baseurl}/solutions/backupRestore/protectionUnits/graph.siteProtectionUnit{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
14
+ /**
15
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
16
+ */
17
+ const GraphSiteProtectionUnitRequestBuilderGetQueryParametersMapper = {
18
+ "count": "%24count",
19
+ "expand": "%24expand",
20
+ "filter": "%24filter",
21
+ "orderby": "%24orderby",
22
+ "search": "%24search",
23
+ "select": "%24select",
24
+ "skip": "%24skip",
25
+ "top": "%24top",
26
+ };
27
+ /**
28
+ * Metadata for all the navigation properties in the request builder.
29
+ */
30
+ export const GraphSiteProtectionUnitRequestBuilderNavigationMetadata = {
31
+ count: {
32
+ requestsMetadata: CountRequestBuilderRequestsMetadata,
33
+ },
34
+ };
35
+ /**
36
+ * Metadata for all the requests in the request builder.
37
+ */
38
+ export const GraphSiteProtectionUnitRequestBuilderRequestsMetadata = {
39
+ get: {
40
+ uriTemplate: GraphSiteProtectionUnitRequestBuilderUriTemplate,
41
+ responseBodyContentType: "application/json",
42
+ errorMappings: {
43
+ XXX: createODataErrorFromDiscriminatorValue,
44
+ },
45
+ adapterMethodName: "send",
46
+ responseBodyFactory: createSiteProtectionUnitCollectionResponseFromDiscriminatorValue,
47
+ queryParametersMapper: GraphSiteProtectionUnitRequestBuilderGetQueryParametersMapper,
48
+ },
49
+ };
50
+ /* tslint:enable */
51
+ /* eslint-enable */
52
+ //# 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,gEAAgE,EAA6C,MAAM,wCAAwC,CAAC;AACrK,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,mCAAmC,EAA4B,MAAM,kBAAkB,CAAC;AAgEjG;;GAEG;AACH,MAAM,CAAC,MAAM,gDAAgD,GAAG,0JAA0J,CAAC;AAC3N;;GAEG;AACH,MAAM,6DAA6D,GAA2B;IAC1F,OAAO,EAAE,UAAU;IACnB,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;IACrB,SAAS,EAAE,YAAY;IACvB,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;IACrB,MAAM,EAAE,SAAS;IACjB,KAAK,EAAE,QAAQ;CAClB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,uDAAuD,GAAyH;IACzL,KAAK,EAAE;QACH,gBAAgB,EAAE,mCAAmC;KACxD;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,qDAAqD,GAAqB;IACnF,GAAG,EAAE;QACD,WAAW,EAAE,gDAAgD;QAC7D,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,gEAAgE;QACtF,qBAAqB,EAAE,6DAA6D;KACvF;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -1,5 +1,8 @@
1
1
  import { type ProtectionUnitBaseCollectionResponse } from '@microsoft/msgraph-sdk/models/index.js';
2
2
  import { type CountRequestBuilder } from './count/index.js';
3
+ import { type GraphDriveProtectionUnitRequestBuilder } from './graphDriveProtectionUnit/index.js';
4
+ import { type GraphMailboxProtectionUnitRequestBuilder } from './graphMailboxProtectionUnit/index.js';
5
+ import { type GraphSiteProtectionUnitRequestBuilder } from './graphSiteProtectionUnit/index.js';
3
6
  import { type ProtectionUnitBaseItemRequestBuilder } from './item/index.js';
4
7
  import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
5
8
  /**
@@ -10,6 +13,18 @@ export interface ProtectionUnitsRequestBuilder extends BaseRequestBuilder<Protec
10
13
  * Provides operations to count the resources in the collection.
11
14
  */
12
15
  get count(): CountRequestBuilder;
16
+ /**
17
+ * Casts the previous resource to driveProtectionUnit.
18
+ */
19
+ get graphDriveProtectionUnit(): GraphDriveProtectionUnitRequestBuilder;
20
+ /**
21
+ * Casts the previous resource to mailboxProtectionUnit.
22
+ */
23
+ get graphMailboxProtectionUnit(): GraphMailboxProtectionUnitRequestBuilder;
24
+ /**
25
+ * Casts the previous resource to siteProtectionUnit.
26
+ */
27
+ get graphSiteProtectionUnit(): GraphSiteProtectionUnitRequestBuilder;
13
28
  /**
14
29
  * Provides operations to manage the protectionUnits property of the microsoft.graph.backupRestoreRoot entity.
15
30
  * @param protectionUnitBaseId The unique identifier of protectionUnitBase
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAoE,KAAK,oCAAoC,EAAE,MAAM,wCAAwC,CAAC;AAIrK,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEjG,OAAO,EAAwD,KAAK,oCAAoC,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;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,+CAA+C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC3J;AACD;;GAEG;AACH,MAAM,WAAW,+CAA+C;IAC5D;;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,wCAAwC,oIAAoI,CAAC;AAc1L;;GAEG;AACH,eAAO,MAAM,+CAA+C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,6BAA6B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAqBxK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,gBAW3D,CAAC"}
@@ -8,7 +8,13 @@ import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/m
8
8
  // @ts-ignore
9
9
  import { CountRequestBuilderRequestsMetadata } from './count/index.js';
10
10
  // @ts-ignore
11
- import { ProtectionUnitBaseItemRequestBuilderRequestsMetadata } from './item/index.js';
11
+ import { GraphDriveProtectionUnitRequestBuilderNavigationMetadata, GraphDriveProtectionUnitRequestBuilderRequestsMetadata } from './graphDriveProtectionUnit/index.js';
12
+ // @ts-ignore
13
+ import { GraphMailboxProtectionUnitRequestBuilderNavigationMetadata, GraphMailboxProtectionUnitRequestBuilderRequestsMetadata } from './graphMailboxProtectionUnit/index.js';
14
+ // @ts-ignore
15
+ import { GraphSiteProtectionUnitRequestBuilderNavigationMetadata, GraphSiteProtectionUnitRequestBuilderRequestsMetadata } from './graphSiteProtectionUnit/index.js';
16
+ // @ts-ignore
17
+ import { ProtectionUnitBaseItemRequestBuilderNavigationMetadata, ProtectionUnitBaseItemRequestBuilderRequestsMetadata } from './item/index.js';
12
18
  /**
13
19
  * Uri template for the request builder.
14
20
  */
@@ -32,11 +38,24 @@ const ProtectionUnitsRequestBuilderGetQueryParametersMapper = {
32
38
  export const ProtectionUnitsRequestBuilderNavigationMetadata = {
33
39
  byProtectionUnitBaseId: {
34
40
  requestsMetadata: ProtectionUnitBaseItemRequestBuilderRequestsMetadata,
41
+ navigationMetadata: ProtectionUnitBaseItemRequestBuilderNavigationMetadata,
35
42
  pathParametersMappings: ["protectionUnitBase%2Did"],
36
43
  },
37
44
  count: {
38
45
  requestsMetadata: CountRequestBuilderRequestsMetadata,
39
46
  },
47
+ graphDriveProtectionUnit: {
48
+ requestsMetadata: GraphDriveProtectionUnitRequestBuilderRequestsMetadata,
49
+ navigationMetadata: GraphDriveProtectionUnitRequestBuilderNavigationMetadata,
50
+ },
51
+ graphMailboxProtectionUnit: {
52
+ requestsMetadata: GraphMailboxProtectionUnitRequestBuilderRequestsMetadata,
53
+ navigationMetadata: GraphMailboxProtectionUnitRequestBuilderNavigationMetadata,
54
+ },
55
+ graphSiteProtectionUnit: {
56
+ requestsMetadata: GraphSiteProtectionUnitRequestBuilderRequestsMetadata,
57
+ navigationMetadata: GraphSiteProtectionUnitRequestBuilderNavigationMetadata,
58
+ },
40
59
  };
41
60
  /**
42
61
  * Metadata for all the requests in the request builder.
@@ -1 +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,gEAAgE,EAA6C,MAAM,wCAAwC,CAAC;AACrK,aAAa;AACb,OAAO,EAAE,sCAAs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6C,GAAqB;IAC3E,GAAG,EAAE;QACD,WAAW,EAAE,wCAAwC;QACrD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,gEAAgE;QACtF,qBAAqB,EAAE,qDAAqD;KAC/E;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,43 @@
1
+ import { type DriveProtectionUnit } from '@microsoft/msgraph-sdk/models/index.js';
2
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Casts the previous resource to driveProtectionUnit.
5
+ */
6
+ export interface GraphDriveProtectionUnitRequestBuilder extends BaseRequestBuilder<GraphDriveProtectionUnitRequestBuilder> {
7
+ /**
8
+ * Get a list of the driveProtectionUnit objects that are associated with a oneDriveForBusinessProtectionPolicy.
9
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
+ * @returns {Promise<DriveProtectionUnit>}
11
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
12
+ * @see {@link https://learn.microsoft.com/graph/api/backuprestoreroot-list-driveprotectionunits?view=graph-rest-1.0|Find more info here}
13
+ */
14
+ get(requestConfiguration?: RequestConfiguration<GraphDriveProtectionUnitRequestBuilderGetQueryParameters> | undefined): Promise<DriveProtectionUnit | undefined>;
15
+ /**
16
+ * Get a list of the driveProtectionUnit objects that are associated with a oneDriveForBusinessProtectionPolicy.
17
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
18
+ * @returns {RequestInformation}
19
+ */
20
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<GraphDriveProtectionUnitRequestBuilderGetQueryParameters> | undefined): RequestInformation;
21
+ }
22
+ /**
23
+ * Get a list of the driveProtectionUnit objects that are associated with a oneDriveForBusinessProtectionPolicy.
24
+ */
25
+ export interface GraphDriveProtectionUnitRequestBuilderGetQueryParameters {
26
+ /**
27
+ * Expand related entities
28
+ */
29
+ expand?: string[];
30
+ /**
31
+ * Select properties to be returned
32
+ */
33
+ select?: string[];
34
+ }
35
+ /**
36
+ * Uri template for the request builder.
37
+ */
38
+ export declare const GraphDriveProtectionUnitRequestBuilderUriTemplate = "{+baseurl}/solutions/backupRestore/protectionUnits/{protectionUnitBase%2Did}/graph.driveProtectionUnit{?%24expand,%24select}";
39
+ /**
40
+ * Metadata for all the requests in the request builder.
41
+ */
42
+ export declare const GraphDriveProtectionUnitRequestBuilderRequestsMetadata: RequestsMetadata;
43
+ //# 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,sCAAuC,SAAQ,kBAAkB,CAAC,sCAAsC,CAAC;IACtH;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,wDAAwD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,mBAAmB,GAAG,SAAS,CAAC,CAAC;IACnK;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,wDAAwD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACpK;AACD;;GAEG;AACH,MAAM,WAAW,wDAAwD;IACrE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,iDAAiD,iIAAiI,CAAC;AAQhM;;GAEG;AACH,eAAO,MAAM,sDAAsD,EAAE,gBAWpE,CAAC"}
@@ -0,0 +1,36 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createDriveProtectionUnitFromDiscriminatorValue } 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 GraphDriveProtectionUnitRequestBuilderUriTemplate = "{+baseurl}/solutions/backupRestore/protectionUnits/{protectionUnitBase%2Did}/graph.driveProtectionUnit{?%24expand,%24select}";
12
+ /**
13
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
14
+ */
15
+ const GraphDriveProtectionUnitRequestBuilderGetQueryParametersMapper = {
16
+ "expand": "%24expand",
17
+ "select": "%24select",
18
+ };
19
+ /**
20
+ * Metadata for all the requests in the request builder.
21
+ */
22
+ export const GraphDriveProtectionUnitRequestBuilderRequestsMetadata = {
23
+ get: {
24
+ uriTemplate: GraphDriveProtectionUnitRequestBuilderUriTemplate,
25
+ responseBodyContentType: "application/json",
26
+ errorMappings: {
27
+ XXX: createODataErrorFromDiscriminatorValue,
28
+ },
29
+ adapterMethodName: "send",
30
+ responseBodyFactory: createDriveProtectionUnitFromDiscriminatorValue,
31
+ queryParametersMapper: GraphDriveProtectionUnitRequestBuilderGetQueryParametersMapper,
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;AAoC7H;;GAEG;AACH,MAAM,CAAC,MAAM,iDAAiD,GAAG,8HAA8H,CAAC;AAChM;;GAEG;AACH,MAAM,8DAA8D,GAA2B;IAC3F,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,sDAAsD,GAAqB;IACpF,GAAG,EAAE;QACD,WAAW,EAAE,iDAAiD;QAC9D,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,+CAA+C;QACrE,qBAAqB,EAAE,8DAA8D;KACxF;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,43 @@
1
+ import { type MailboxProtectionUnit } from '@microsoft/msgraph-sdk/models/index.js';
2
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Casts the previous resource to mailboxProtectionUnit.
5
+ */
6
+ export interface GraphMailboxProtectionUnitRequestBuilder extends BaseRequestBuilder<GraphMailboxProtectionUnitRequestBuilder> {
7
+ /**
8
+ * Get a list of mailboxProtectionUnit objects.
9
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
+ * @returns {Promise<MailboxProtectionUnit>}
11
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
12
+ * @see {@link https://learn.microsoft.com/graph/api/backuprestoreroot-list-mailboxprotectionunits?view=graph-rest-1.0|Find more info here}
13
+ */
14
+ get(requestConfiguration?: RequestConfiguration<GraphMailboxProtectionUnitRequestBuilderGetQueryParameters> | undefined): Promise<MailboxProtectionUnit | undefined>;
15
+ /**
16
+ * Get a list of mailboxProtectionUnit objects.
17
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
18
+ * @returns {RequestInformation}
19
+ */
20
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<GraphMailboxProtectionUnitRequestBuilderGetQueryParameters> | undefined): RequestInformation;
21
+ }
22
+ /**
23
+ * Get a list of mailboxProtectionUnit objects.
24
+ */
25
+ export interface GraphMailboxProtectionUnitRequestBuilderGetQueryParameters {
26
+ /**
27
+ * Expand related entities
28
+ */
29
+ expand?: string[];
30
+ /**
31
+ * Select properties to be returned
32
+ */
33
+ select?: string[];
34
+ }
35
+ /**
36
+ * Uri template for the request builder.
37
+ */
38
+ export declare const GraphMailboxProtectionUnitRequestBuilderUriTemplate = "{+baseurl}/solutions/backupRestore/protectionUnits/{protectionUnitBase%2Did}/graph.mailboxProtectionUnit{?%24expand,%24select}";
39
+ /**
40
+ * Metadata for all the requests in the request builder.
41
+ */
42
+ export declare const GraphMailboxProtectionUnitRequestBuilderRequestsMetadata: RequestsMetadata;
43
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAqD,KAAK,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAIvI,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,wCAAyC,SAAQ,kBAAkB,CAAC,wCAAwC,CAAC;IAC1H;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,0DAA0D,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,qBAAqB,GAAG,SAAS,CAAC,CAAC;IACvK;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,0DAA0D,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACtK;AACD;;GAEG;AACH,MAAM,WAAW,0DAA0D;IACvE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,mDAAmD,mIAAmI,CAAC;AAQpM;;GAEG;AACH,eAAO,MAAM,wDAAwD,EAAE,gBAWtE,CAAC"}
@@ -0,0 +1,36 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createMailboxProtectionUnitFromDiscriminatorValue } 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 GraphMailboxProtectionUnitRequestBuilderUriTemplate = "{+baseurl}/solutions/backupRestore/protectionUnits/{protectionUnitBase%2Did}/graph.mailboxProtectionUnit{?%24expand,%24select}";
12
+ /**
13
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
14
+ */
15
+ const GraphMailboxProtectionUnitRequestBuilderGetQueryParametersMapper = {
16
+ "expand": "%24expand",
17
+ "select": "%24select",
18
+ };
19
+ /**
20
+ * Metadata for all the requests in the request builder.
21
+ */
22
+ export const GraphMailboxProtectionUnitRequestBuilderRequestsMetadata = {
23
+ get: {
24
+ uriTemplate: GraphMailboxProtectionUnitRequestBuilderUriTemplate,
25
+ responseBodyContentType: "application/json",
26
+ errorMappings: {
27
+ XXX: createODataErrorFromDiscriminatorValue,
28
+ },
29
+ adapterMethodName: "send",
30
+ responseBodyFactory: createMailboxProtectionUnitFromDiscriminatorValue,
31
+ queryParametersMapper: GraphMailboxProtectionUnitRequestBuilderGetQueryParametersMapper,
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,iDAAiD,EAA8B,MAAM,wCAAwC,CAAC;AACvI,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAoC7H;;GAEG;AACH,MAAM,CAAC,MAAM,mDAAmD,GAAG,gIAAgI,CAAC;AACpM;;GAEG;AACH,MAAM,gEAAgE,GAA2B;IAC7F,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,wDAAwD,GAAqB;IACtF,GAAG,EAAE;QACD,WAAW,EAAE,mDAAmD;QAChE,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,iDAAiD;QACvE,qBAAqB,EAAE,gEAAgE;KAC1F;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,43 @@
1
+ import { type SiteProtectionUnit } from '@microsoft/msgraph-sdk/models/index.js';
2
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Casts the previous resource to siteProtectionUnit.
5
+ */
6
+ export interface GraphSiteProtectionUnitRequestBuilder extends BaseRequestBuilder<GraphSiteProtectionUnitRequestBuilder> {
7
+ /**
8
+ * Get a list of the siteProtectionUnit objects that are associated with a sharePointProtectionPolicy.
9
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
+ * @returns {Promise<SiteProtectionUnit>}
11
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
12
+ * @see {@link https://learn.microsoft.com/graph/api/backuprestoreroot-list-siteprotectionunits?view=graph-rest-1.0|Find more info here}
13
+ */
14
+ get(requestConfiguration?: RequestConfiguration<GraphSiteProtectionUnitRequestBuilderGetQueryParameters> | undefined): Promise<SiteProtectionUnit | undefined>;
15
+ /**
16
+ * Get a list of the siteProtectionUnit objects that are associated with a sharePointProtectionPolicy.
17
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
18
+ * @returns {RequestInformation}
19
+ */
20
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<GraphSiteProtectionUnitRequestBuilderGetQueryParameters> | undefined): RequestInformation;
21
+ }
22
+ /**
23
+ * Get a list of the siteProtectionUnit objects that are associated with a sharePointProtectionPolicy.
24
+ */
25
+ export interface GraphSiteProtectionUnitRequestBuilderGetQueryParameters {
26
+ /**
27
+ * Expand related entities
28
+ */
29
+ expand?: string[];
30
+ /**
31
+ * Select properties to be returned
32
+ */
33
+ select?: string[];
34
+ }
35
+ /**
36
+ * Uri template for the request builder.
37
+ */
38
+ export declare const GraphSiteProtectionUnitRequestBuilderUriTemplate = "{+baseurl}/solutions/backupRestore/protectionUnits/{protectionUnitBase%2Did}/graph.siteProtectionUnit{?%24expand,%24select}";
39
+ /**
40
+ * Metadata for all the requests in the request builder.
41
+ */
42
+ export declare const GraphSiteProtectionUnitRequestBuilderRequestsMetadata: RequestsMetadata;
43
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAkD,KAAK,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAIjI,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,qCAAsC,SAAQ,kBAAkB,CAAC,qCAAqC,CAAC;IACpH;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,uDAAuD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;IACjK;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,uDAAuD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnK;AACD;;GAEG;AACH,MAAM,WAAW,uDAAuD;IACpE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,gDAAgD,gIAAgI,CAAC;AAQ9L;;GAEG;AACH,eAAO,MAAM,qDAAqD,EAAE,gBAWnE,CAAC"}
@@ -0,0 +1,36 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createSiteProtectionUnitFromDiscriminatorValue } 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 GraphSiteProtectionUnitRequestBuilderUriTemplate = "{+baseurl}/solutions/backupRestore/protectionUnits/{protectionUnitBase%2Did}/graph.siteProtectionUnit{?%24expand,%24select}";
12
+ /**
13
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
14
+ */
15
+ const GraphSiteProtectionUnitRequestBuilderGetQueryParametersMapper = {
16
+ "expand": "%24expand",
17
+ "select": "%24select",
18
+ };
19
+ /**
20
+ * Metadata for all the requests in the request builder.
21
+ */
22
+ export const GraphSiteProtectionUnitRequestBuilderRequestsMetadata = {
23
+ get: {
24
+ uriTemplate: GraphSiteProtectionUnitRequestBuilderUriTemplate,
25
+ responseBodyContentType: "application/json",
26
+ errorMappings: {
27
+ XXX: createODataErrorFromDiscriminatorValue,
28
+ },
29
+ adapterMethodName: "send",
30
+ responseBodyFactory: createSiteProtectionUnitFromDiscriminatorValue,
31
+ queryParametersMapper: GraphSiteProtectionUnitRequestBuilderGetQueryParametersMapper,
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,8CAA8C,EAA2B,MAAM,wCAAwC,CAAC;AACjI,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAoC7H;;GAEG;AACH,MAAM,CAAC,MAAM,gDAAgD,GAAG,6HAA6H,CAAC;AAC9L;;GAEG;AACH,MAAM,6DAA6D,GAA2B;IAC1F,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,qDAAqD,GAAqB;IACnF,GAAG,EAAE;QACD,WAAW,EAAE,gDAAgD;QAC7D,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,8CAA8C;QACpE,qBAAqB,EAAE,6DAA6D;KACvF;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -1,9 +1,24 @@
1
1
  import { type ProtectionUnitBase } from '@microsoft/msgraph-sdk/models/index.js';
2
- import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
2
+ import { type GraphDriveProtectionUnitRequestBuilder } from './graphDriveProtectionUnit/index.js';
3
+ import { type GraphMailboxProtectionUnitRequestBuilder } from './graphMailboxProtectionUnit/index.js';
4
+ import { type GraphSiteProtectionUnitRequestBuilder } from './graphSiteProtectionUnit/index.js';
5
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
3
6
  /**
4
7
  * Provides operations to manage the protectionUnits property of the microsoft.graph.backupRestoreRoot entity.
5
8
  */
6
9
  export interface ProtectionUnitBaseItemRequestBuilder extends BaseRequestBuilder<ProtectionUnitBaseItemRequestBuilder> {
10
+ /**
11
+ * Casts the previous resource to driveProtectionUnit.
12
+ */
13
+ get graphDriveProtectionUnit(): GraphDriveProtectionUnitRequestBuilder;
14
+ /**
15
+ * Casts the previous resource to mailboxProtectionUnit.
16
+ */
17
+ get graphMailboxProtectionUnit(): GraphMailboxProtectionUnitRequestBuilder;
18
+ /**
19
+ * Casts the previous resource to siteProtectionUnit.
20
+ */
21
+ get graphSiteProtectionUnit(): GraphSiteProtectionUnitRequestBuilder;
7
22
  /**
8
23
  * Read the properties and relationships of a protectionUnitBase object.
9
24
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
@@ -36,6 +51,10 @@ export interface ProtectionUnitBaseItemRequestBuilderGetQueryParameters {
36
51
  * Uri template for the request builder.
37
52
  */
38
53
  export declare const ProtectionUnitBaseItemRequestBuilderUriTemplate = "{+baseurl}/solutions/backupRestore/protectionUnits/{protectionUnitBase%2Did}{?%24expand,%24select}";
54
+ /**
55
+ * Metadata for all the navigation properties in the request builder.
56
+ */
57
+ export declare const ProtectionUnitBaseItemRequestBuilderNavigationMetadata: Record<Exclude<keyof ProtectionUnitBaseItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
39
58
  /**
40
59
  * Metadata for all the requests in the request builder.
41
60
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAkD,KAAK,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAIjI,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL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A0B,IAAI,wCAAwC,CAAC;IAC3E;;OAEG;IACH,IAAI,uBAAuB,IAAI,qCAAqC,CAAC;IACrE;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,sDAAsD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;IAChK;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,sDAAsD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClK;AACD;;GAEG;AACH,MAAM,WAAW,sDAAsD;IACnE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,+CAA+C,uGAAuG,CAAC;AAQpK;;GAEG;AACH,eAAO,MAAM,sDAAsD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,oCAAoC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAUtL,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,oDAAoD,EAAE,gBAWlE,CAAC"}
@@ -5,6 +5,12 @@
5
5
  import { createProtectionUnitBaseFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/index.js';
6
6
  // @ts-ignore
7
7
  import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
8
+ // @ts-ignore
9
+ import { GraphDriveProtectionUnitRequestBuilderRequestsMetadata } from './graphDriveProtectionUnit/index.js';
10
+ // @ts-ignore
11
+ import { GraphMailboxProtectionUnitRequestBuilderRequestsMetadata } from './graphMailboxProtectionUnit/index.js';
12
+ // @ts-ignore
13
+ import { GraphSiteProtectionUnitRequestBuilderRequestsMetadata } from './graphSiteProtectionUnit/index.js';
8
14
  /**
9
15
  * Uri template for the request builder.
10
16
  */
@@ -16,6 +22,20 @@ const ProtectionUnitBaseItemRequestBuilderGetQueryParametersMapper = {
16
22
  "expand": "%24expand",
17
23
  "select": "%24select",
18
24
  };
25
+ /**
26
+ * Metadata for all the navigation properties in the request builder.
27
+ */
28
+ export const ProtectionUnitBaseItemRequestBuilderNavigationMetadata = {
29
+ graphDriveProtectionUnit: {
30
+ requestsMetadata: GraphDriveProtectionUnitRequestBuilderRequestsMetadata,
31
+ },
32
+ graphMailboxProtectionUnit: {
33
+ requestsMetadata: GraphMailboxProtectionUnitRequestBuilderRequestsMetadata,
34
+ },
35
+ graphSiteProtectionUnit: {
36
+ requestsMetadata: GraphSiteProtectionUnitRequestBuilderRequestsMetadata,
37
+ },
38
+ };
19
39
  /**
20
40
  * Metadata for all the requests in the request builder.
21
41
  */
@@ -1 +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,8CAA8C,EAA2B,MAAM,wCAAwC,CAAC;AACjI,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAoC7H;;GAEG;AACH,MAAM,CAAC,MAAM,+CAA+C,GAAG,oGAAoG,CAAC;AACpK;;GAEG;AACH,MAAM,4DAA4D,GAA2B;IACzF,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,oDAAoD,GAAqB;IAClF,GAAG,EAAE;QACD,WAAW,EAAE,+CAA+C;QAC5D,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,8CAA8C;QACpE,qBAAqB,EAAE,4DAA4D;KACtF;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"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