@microsoft/msgraph-sdk-solutions 1.0.0-preview.92 → 1.0.0-preview.95
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.
- package/README.md +2 -0
- package/package.json +5 -2
- package/solutions/backupRestore/exchangeProtectionPolicies/item/index.d.ts +2 -2
- package/solutions/backupRestore/index.d.ts +5 -0
- package/solutions/backupRestore/index.d.ts.map +1 -1
- package/solutions/backupRestore/index.js +6 -0
- package/solutions/backupRestore/index.js.map +1 -1
- package/solutions/backupRestore/oneDriveForBusinessProtectionPolicies/item/index.d.ts +2 -2
- package/solutions/backupRestore/reports/getStatisticsByPolicyWithPolicyId/index.d.ts +30 -0
- package/solutions/backupRestore/reports/getStatisticsByPolicyWithPolicyId/index.d.ts.map +1 -0
- package/solutions/backupRestore/reports/getStatisticsByPolicyWithPolicyId/index.js +28 -0
- package/solutions/backupRestore/reports/getStatisticsByPolicyWithPolicyId/index.js.map +1 -0
- package/solutions/backupRestore/reports/index.d.ts +80 -0
- package/solutions/backupRestore/reports/index.d.ts.map +1 -0
- package/solutions/backupRestore/reports/index.js +67 -0
- package/solutions/backupRestore/reports/index.js.map +1 -0
- package/solutions/backupRestore/restorePoints/item/protectionUnit/index.d.ts +3 -3
- package/solutions/backupRestore/restorePoints/search/index.d.ts +6 -2
- package/solutions/backupRestore/restorePoints/search/index.d.ts.map +1 -1
- package/solutions/backupRestore/restorePoints/search/index.js +2 -0
- package/solutions/backupRestore/restorePoints/search/index.js.map +1 -1
- package/solutions/backupRestore/sharePointProtectionPolicies/item/index.d.ts +2 -2
- package/solutions/index.d.ts +5 -0
- package/solutions/index.d.ts.map +1 -1
- package/solutions/index.js +6 -0
- package/solutions/index.js.map +1 -1
- package/solutions/migrations/crossTenantMigrationJobs/count/index.d.ts +41 -0
- package/solutions/migrations/crossTenantMigrationJobs/count/index.d.ts.map +1 -0
- package/solutions/migrations/crossTenantMigrationJobs/count/index.js +34 -0
- package/solutions/migrations/crossTenantMigrationJobs/count/index.js.map +1 -0
- package/solutions/migrations/crossTenantMigrationJobs/index.d.ts +99 -0
- package/solutions/migrations/crossTenantMigrationJobs/index.d.ts.map +1 -0
- package/solutions/migrations/crossTenantMigrationJobs/index.js +71 -0
- package/solutions/migrations/crossTenantMigrationJobs/index.js.map +1 -0
- package/solutions/migrations/crossTenantMigrationJobs/item/cancel/index.d.ts +30 -0
- package/solutions/migrations/crossTenantMigrationJobs/item/cancel/index.d.ts.map +1 -0
- package/solutions/migrations/crossTenantMigrationJobs/item/cancel/index.js +28 -0
- package/solutions/migrations/crossTenantMigrationJobs/item/cancel/index.js.map +1 -0
- package/solutions/migrations/crossTenantMigrationJobs/item/index.d.ts +96 -0
- package/solutions/migrations/crossTenantMigrationJobs/item/index.d.ts.map +1 -0
- package/solutions/migrations/crossTenantMigrationJobs/item/index.js +82 -0
- package/solutions/migrations/crossTenantMigrationJobs/item/index.js.map +1 -0
- package/solutions/migrations/crossTenantMigrationJobs/item/migrate/index.d.ts +30 -0
- package/solutions/migrations/crossTenantMigrationJobs/item/migrate/index.d.ts.map +1 -0
- package/solutions/migrations/crossTenantMigrationJobs/item/migrate/index.js +28 -0
- package/solutions/migrations/crossTenantMigrationJobs/item/migrate/index.js.map +1 -0
- package/solutions/migrations/crossTenantMigrationJobs/item/users/count/index.d.ts +41 -0
- package/solutions/migrations/crossTenantMigrationJobs/item/users/count/index.d.ts.map +1 -0
- package/solutions/migrations/crossTenantMigrationJobs/item/users/count/index.js +34 -0
- package/solutions/migrations/crossTenantMigrationJobs/item/users/count/index.js.map +1 -0
- package/solutions/migrations/crossTenantMigrationJobs/item/users/index.d.ts +98 -0
- package/solutions/migrations/crossTenantMigrationJobs/item/users/index.d.ts.map +1 -0
- package/solutions/migrations/crossTenantMigrationJobs/item/users/index.js +71 -0
- package/solutions/migrations/crossTenantMigrationJobs/item/users/index.js.map +1 -0
- package/solutions/migrations/crossTenantMigrationJobs/item/users/item/cancel/index.d.ts +30 -0
- package/solutions/migrations/crossTenantMigrationJobs/item/users/item/cancel/index.d.ts.map +1 -0
- package/solutions/migrations/crossTenantMigrationJobs/item/users/item/cancel/index.js +28 -0
- package/solutions/migrations/crossTenantMigrationJobs/item/users/item/cancel/index.js.map +1 -0
- package/solutions/migrations/crossTenantMigrationJobs/item/users/item/index.d.ts +79 -0
- package/solutions/migrations/crossTenantMigrationJobs/item/users/item/index.d.ts.map +1 -0
- package/solutions/migrations/crossTenantMigrationJobs/item/users/item/index.js +66 -0
- package/solutions/migrations/crossTenantMigrationJobs/item/users/item/index.js.map +1 -0
- package/solutions/migrations/crossTenantMigrationJobs/item/validate/index.d.ts +30 -0
- package/solutions/migrations/crossTenantMigrationJobs/item/validate/index.d.ts.map +1 -0
- package/solutions/migrations/crossTenantMigrationJobs/item/validate/index.js +28 -0
- package/solutions/migrations/crossTenantMigrationJobs/item/validate/index.js.map +1 -0
- package/solutions/migrations/crossTenantMigrationJobsWithDisplayName/cancel/index.d.ts +30 -0
- package/solutions/migrations/crossTenantMigrationJobsWithDisplayName/cancel/index.d.ts.map +1 -0
- package/solutions/migrations/crossTenantMigrationJobsWithDisplayName/cancel/index.js +28 -0
- package/solutions/migrations/crossTenantMigrationJobsWithDisplayName/cancel/index.js.map +1 -0
- package/solutions/migrations/crossTenantMigrationJobsWithDisplayName/index.d.ts +91 -0
- package/solutions/migrations/crossTenantMigrationJobsWithDisplayName/index.d.ts.map +1 -0
- package/solutions/migrations/crossTenantMigrationJobsWithDisplayName/index.js +76 -0
- package/solutions/migrations/crossTenantMigrationJobsWithDisplayName/index.js.map +1 -0
- package/solutions/migrations/crossTenantMigrationJobsWithDisplayName/migrate/index.d.ts +30 -0
- package/solutions/migrations/crossTenantMigrationJobsWithDisplayName/migrate/index.d.ts.map +1 -0
- package/solutions/migrations/crossTenantMigrationJobsWithDisplayName/migrate/index.js +28 -0
- package/solutions/migrations/crossTenantMigrationJobsWithDisplayName/migrate/index.js.map +1 -0
- package/solutions/migrations/crossTenantMigrationJobsWithDisplayName/validate/index.d.ts +30 -0
- package/solutions/migrations/crossTenantMigrationJobsWithDisplayName/validate/index.d.ts.map +1 -0
- package/solutions/migrations/crossTenantMigrationJobsWithDisplayName/validate/index.js +28 -0
- package/solutions/migrations/crossTenantMigrationJobsWithDisplayName/validate/index.js.map +1 -0
- package/solutions/migrations/index.d.ts +85 -0
- package/solutions/migrations/index.d.ts.map +1 -0
- package/solutions/migrations/index.js +74 -0
- package/solutions/migrations/index.js.map +1 -0
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -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}/solutions/migrations/crossTenantMigrationJobs/$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,uFAAuF,CAAC;AACtI;;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"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { type CrossTenantMigrationJob, type CrossTenantMigrationJobCollectionResponse } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
|
+
import { type CountRequestBuilder } from './count/index.js';
|
|
3
|
+
import { type CrossTenantMigrationJobItemRequestBuilder } from './item/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 crossTenantMigrationJobs property of the microsoft.graph.migrationsRoot entity.
|
|
7
|
+
*/
|
|
8
|
+
export interface CrossTenantMigrationJobsRequestBuilder extends BaseRequestBuilder<CrossTenantMigrationJobsRequestBuilder> {
|
|
9
|
+
/**
|
|
10
|
+
* Provides operations to count the resources in the collection.
|
|
11
|
+
*/
|
|
12
|
+
get count(): CountRequestBuilder;
|
|
13
|
+
/**
|
|
14
|
+
* Provides operations to manage the crossTenantMigrationJobs property of the microsoft.graph.migrationsRoot entity.
|
|
15
|
+
* @param crossTenantMigrationJobId The unique identifier of crossTenantMigrationJob
|
|
16
|
+
* @returns {CrossTenantMigrationJobItemRequestBuilder}
|
|
17
|
+
*/
|
|
18
|
+
byCrossTenantMigrationJobId(crossTenantMigrationJobId: string): CrossTenantMigrationJobItemRequestBuilder;
|
|
19
|
+
/**
|
|
20
|
+
* Get a list of the crossTenantMigrationJob objects and their properties. By default, 20 objects are returned. You can retrieve more objects by using the @odata.nextLink URL provided in the response.
|
|
21
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
|
+
* @returns {Promise<CrossTenantMigrationJobCollectionResponse>}
|
|
23
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
24
|
+
* @see {@link https://learn.microsoft.com/graph/api/migrationsroot-list-crosstenantmigrationjobs?view=graph-rest-1.0|Find more info here}
|
|
25
|
+
*/
|
|
26
|
+
get(requestConfiguration?: RequestConfiguration<CrossTenantMigrationJobsRequestBuilderGetQueryParameters> | undefined): Promise<CrossTenantMigrationJobCollectionResponse | undefined>;
|
|
27
|
+
/**
|
|
28
|
+
* Create a new crossTenantMigrationJob object. A job defines the migration batch but doesn't start validation or migration. After you create the job, call validate to verify tenant and resource configuration, then call migrate to begin the actual migration.
|
|
29
|
+
* @param body The request body
|
|
30
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
31
|
+
* @returns {Promise<CrossTenantMigrationJob>}
|
|
32
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
33
|
+
* @see {@link https://learn.microsoft.com/graph/api/migrationsroot-post-crosstenantmigrationjobs?view=graph-rest-1.0|Find more info here}
|
|
34
|
+
*/
|
|
35
|
+
post(body: CrossTenantMigrationJob, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CrossTenantMigrationJob | undefined>;
|
|
36
|
+
/**
|
|
37
|
+
* Get a list of the crossTenantMigrationJob objects and their properties. By default, 20 objects are returned. You can retrieve more objects by using the @odata.nextLink URL provided in the response.
|
|
38
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
39
|
+
* @returns {RequestInformation}
|
|
40
|
+
*/
|
|
41
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CrossTenantMigrationJobsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
42
|
+
/**
|
|
43
|
+
* Create a new crossTenantMigrationJob object. A job defines the migration batch but doesn't start validation or migration. After you create the job, call validate to verify tenant and resource configuration, then call migrate to begin the actual migration.
|
|
44
|
+
* @param body The request body
|
|
45
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
46
|
+
* @returns {RequestInformation}
|
|
47
|
+
*/
|
|
48
|
+
toPostRequestInformation(body: CrossTenantMigrationJob, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Get a list of the crossTenantMigrationJob objects and their properties. By default, 20 objects are returned. You can retrieve more objects by using the @odata.nextLink URL provided in the response.
|
|
52
|
+
*/
|
|
53
|
+
export interface CrossTenantMigrationJobsRequestBuilderGetQueryParameters {
|
|
54
|
+
/**
|
|
55
|
+
* Include count of items
|
|
56
|
+
*/
|
|
57
|
+
count?: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Expand related entities
|
|
60
|
+
*/
|
|
61
|
+
expand?: string[];
|
|
62
|
+
/**
|
|
63
|
+
* Filter items by property values
|
|
64
|
+
*/
|
|
65
|
+
filter?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Order items by property values
|
|
68
|
+
*/
|
|
69
|
+
orderby?: string[];
|
|
70
|
+
/**
|
|
71
|
+
* Search items by search phrases
|
|
72
|
+
*/
|
|
73
|
+
search?: string;
|
|
74
|
+
/**
|
|
75
|
+
* Select properties to be returned
|
|
76
|
+
*/
|
|
77
|
+
select?: string[];
|
|
78
|
+
/**
|
|
79
|
+
* Skip the first n items
|
|
80
|
+
*/
|
|
81
|
+
skip?: number;
|
|
82
|
+
/**
|
|
83
|
+
* Show only the first n items
|
|
84
|
+
*/
|
|
85
|
+
top?: number;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Uri template for the request builder.
|
|
89
|
+
*/
|
|
90
|
+
export declare const CrossTenantMigrationJobsRequestBuilderUriTemplate = "{+baseurl}/solutions/migrations/crossTenantMigrationJobs{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
91
|
+
/**
|
|
92
|
+
* Metadata for all the navigation properties in the request builder.
|
|
93
|
+
*/
|
|
94
|
+
export declare const CrossTenantMigrationJobsRequestBuilderNavigationMetadata: Record<Exclude<keyof CrossTenantMigrationJobsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
95
|
+
/**
|
|
96
|
+
* Metadata for all the requests in the request builder.
|
|
97
|
+
*/
|
|
98
|
+
export declare const CrossTenantMigrationJobsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
99
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAgK,KAAK,uBAAuB,EAAE,KAAK,yCAAyC,EAAE,MAAM,wCAAwC,CAAC;AAIpS,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEjG,OAAO,EAA0H,KAAK,yCAAyC,EAAE,MAAM,iBAAiB,CAAC;AAEzM,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAA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,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AACD;;GAEG;AACH,eAAO,MAAM,iDAAiD,0IAA0I,CAAC;AAczM;;GAEG;AACH,eAAO,MAAM,wDAAwD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,sCAAsC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAS1L,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,sDAAsD,EAAE,gBAuBpE,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createCrossTenantMigrationJobCollectionResponseFromDiscriminatorValue, createCrossTenantMigrationJobFromDiscriminatorValue, serializeCrossTenantMigrationJob } 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
|
+
// @ts-ignore
|
|
11
|
+
import { CrossTenantMigrationJobItemRequestBuilderNavigationMetadata, CrossTenantMigrationJobItemRequestBuilderRequestsMetadata } from './item/index.js';
|
|
12
|
+
/**
|
|
13
|
+
* Uri template for the request builder.
|
|
14
|
+
*/
|
|
15
|
+
export const CrossTenantMigrationJobsRequestBuilderUriTemplate = "{+baseurl}/solutions/migrations/crossTenantMigrationJobs{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
16
|
+
/**
|
|
17
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
18
|
+
*/
|
|
19
|
+
const CrossTenantMigrationJobsRequestBuilderGetQueryParametersMapper = {
|
|
20
|
+
"count": "%24count",
|
|
21
|
+
"expand": "%24expand",
|
|
22
|
+
"filter": "%24filter",
|
|
23
|
+
"orderby": "%24orderby",
|
|
24
|
+
"search": "%24search",
|
|
25
|
+
"select": "%24select",
|
|
26
|
+
"skip": "%24skip",
|
|
27
|
+
"top": "%24top",
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Metadata for all the navigation properties in the request builder.
|
|
31
|
+
*/
|
|
32
|
+
export const CrossTenantMigrationJobsRequestBuilderNavigationMetadata = {
|
|
33
|
+
byCrossTenantMigrationJobId: {
|
|
34
|
+
requestsMetadata: CrossTenantMigrationJobItemRequestBuilderRequestsMetadata,
|
|
35
|
+
navigationMetadata: CrossTenantMigrationJobItemRequestBuilderNavigationMetadata,
|
|
36
|
+
pathParametersMappings: ["crossTenantMigrationJob%2Did"],
|
|
37
|
+
},
|
|
38
|
+
count: {
|
|
39
|
+
requestsMetadata: CountRequestBuilderRequestsMetadata,
|
|
40
|
+
},
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Metadata for all the requests in the request builder.
|
|
44
|
+
*/
|
|
45
|
+
export const CrossTenantMigrationJobsRequestBuilderRequestsMetadata = {
|
|
46
|
+
get: {
|
|
47
|
+
uriTemplate: CrossTenantMigrationJobsRequestBuilderUriTemplate,
|
|
48
|
+
responseBodyContentType: "application/json",
|
|
49
|
+
errorMappings: {
|
|
50
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
51
|
+
},
|
|
52
|
+
adapterMethodName: "send",
|
|
53
|
+
responseBodyFactory: createCrossTenantMigrationJobCollectionResponseFromDiscriminatorValue,
|
|
54
|
+
queryParametersMapper: CrossTenantMigrationJobsRequestBuilderGetQueryParametersMapper,
|
|
55
|
+
},
|
|
56
|
+
post: {
|
|
57
|
+
uriTemplate: CrossTenantMigrationJobsRequestBuilderUriTemplate,
|
|
58
|
+
responseBodyContentType: "application/json",
|
|
59
|
+
errorMappings: {
|
|
60
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
61
|
+
},
|
|
62
|
+
adapterMethodName: "send",
|
|
63
|
+
responseBodyFactory: createCrossTenantMigrationJobFromDiscriminatorValue,
|
|
64
|
+
requestBodyContentType: "application/json",
|
|
65
|
+
requestBodySerializer: serializeCrossTenantMigrationJob,
|
|
66
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
67
|
+
},
|
|
68
|
+
};
|
|
69
|
+
/* tslint:enable */
|
|
70
|
+
/* eslint-enable */
|
|
71
|
+
//# 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,qEAAqE,EAAE,mDAAmD,EAAE,gCAAgC,EAAgF,MAAM,wCAAwC,CAAC;AACpS,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,mCAAmC,EAA4B,MAAM,kBAAkB,CAAC;AACjG,aAAa;AACb,OAAO,EAAE,2DAA2D,EAAE,yDAAyD,EAAkD,MAAM,iBAAiB,CAAC;AAsFzM;;GAEG;AACH,MAAM,CAAC,MAAM,iDAAiD,GAAG,uIAAuI,CAAC;AACzM;;GAEG;AACH,MAAM,8DAA8D,GAA2B;IAC3F,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,wDAAwD,GAA0H;IAC3L,2BAA2B,EAAE;QACzB,gBAAgB,EAAE,yDAAyD;QAC3E,kBAAkB,EAAE,2DAA2D;QAC/E,sBAAsB,EAAE,CAAC,8BAA8B,CAAC;KAC3D;IACD,KAAK,EAAE;QACH,gBAAgB,EAAE,mCAAmC;KACxD;CACJ,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,qEAAqE;QAC3F,qBAAqB,EAAE,8DAA8D;KACxF;IACD,IAAI,EAAE;QACF,WAAW,EAAE,iDAAiD;QAC9D,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,mDAAmD;QACzE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,gCAAgC;QACvD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { type CrossTenantMigrationCancelResponse } 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 cancel method.
|
|
5
|
+
*/
|
|
6
|
+
export interface CancelRequestBuilder extends BaseRequestBuilder<CancelRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Cancel a crossTenantMigrationJob. All tasks within the job that were in a Sync state are canceled. If the job can't be canceled, a 409 Conflict response is returned and the migrations continue. This response happens when a migration is already in progress or is in a terminal state.
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @returns {Promise<CrossTenantMigrationCancelResponse>}
|
|
11
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
12
|
+
* @see {@link https://learn.microsoft.com/graph/api/crosstenantmigrationjob-cancel?view=graph-rest-1.0|Find more info here}
|
|
13
|
+
*/
|
|
14
|
+
post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CrossTenantMigrationCancelResponse | undefined>;
|
|
15
|
+
/**
|
|
16
|
+
* Cancel a crossTenantMigrationJob. All tasks within the job that were in a Sync state are canceled. If the job can't be canceled, a 409 Conflict response is returned and the migrations continue. This response happens when a migration is already in progress or is in a terminal state.
|
|
17
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
18
|
+
* @returns {RequestInformation}
|
|
19
|
+
*/
|
|
20
|
+
toPostRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Uri template for the request builder.
|
|
24
|
+
*/
|
|
25
|
+
export declare const CancelRequestBuilderUriTemplate = "{+baseurl}/solutions/migrations/crossTenantMigrationJobs/{crossTenantMigrationJob%2Did}/cancel";
|
|
26
|
+
/**
|
|
27
|
+
* Metadata for all the requests in the request builder.
|
|
28
|
+
*/
|
|
29
|
+
export declare const CancelRequestBuilderRequestsMetadata: 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,EAAkE,KAAK,kCAAkC,EAAE,MAAM,wCAAwC,CAAC;AAIjK,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;;;;;;OAMG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,kCAAkC,GAAG,SAAS,CAAC,CAAC;IACjI;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,+BAA+B,mGAAmG,CAAC;AAChJ;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,gBAUlD,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createCrossTenantMigrationCancelResponseFromDiscriminatorValue } 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 CancelRequestBuilderUriTemplate = "{+baseurl}/solutions/migrations/crossTenantMigrationJobs/{crossTenantMigrationJob%2Did}/cancel";
|
|
12
|
+
/**
|
|
13
|
+
* Metadata for all the requests in the request builder.
|
|
14
|
+
*/
|
|
15
|
+
export const CancelRequestBuilderRequestsMetadata = {
|
|
16
|
+
post: {
|
|
17
|
+
uriTemplate: CancelRequestBuilderUriTemplate,
|
|
18
|
+
responseBodyContentType: "application/json",
|
|
19
|
+
errorMappings: {
|
|
20
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
21
|
+
},
|
|
22
|
+
adapterMethodName: "send",
|
|
23
|
+
responseBodyFactory: createCrossTenantMigrationCancelResponseFromDiscriminatorValue,
|
|
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,8DAA8D,EAA2C,MAAM,wCAAwC,CAAC;AACjK,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAuB7H;;GAEG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG,gGAAgG,CAAC;AAChJ;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAqB;IAClE,IAAI,EAAE;QACF,WAAW,EAAE,+BAA+B;QAC5C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,8DAA8D;KACvF;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { type CrossTenantMigrationJob } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
|
+
import { type CancelRequestBuilder } from './cancel/index.js';
|
|
3
|
+
import { type MigrateRequestBuilder } from './migrate/index.js';
|
|
4
|
+
import { type UsersRequestBuilder } from './users/index.js';
|
|
5
|
+
import { type ValidateRequestBuilder } from './validate/index.js';
|
|
6
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
7
|
+
/**
|
|
8
|
+
* Provides operations to manage the crossTenantMigrationJobs property of the microsoft.graph.migrationsRoot entity.
|
|
9
|
+
*/
|
|
10
|
+
export interface CrossTenantMigrationJobItemRequestBuilder extends BaseRequestBuilder<CrossTenantMigrationJobItemRequestBuilder> {
|
|
11
|
+
/**
|
|
12
|
+
* Provides operations to call the cancel method.
|
|
13
|
+
*/
|
|
14
|
+
get cancel(): CancelRequestBuilder;
|
|
15
|
+
/**
|
|
16
|
+
* Provides operations to call the migrate method.
|
|
17
|
+
*/
|
|
18
|
+
get migrate(): MigrateRequestBuilder;
|
|
19
|
+
/**
|
|
20
|
+
* Provides operations to manage the users property of the microsoft.graph.crossTenantMigrationJob entity.
|
|
21
|
+
*/
|
|
22
|
+
get users(): UsersRequestBuilder;
|
|
23
|
+
/**
|
|
24
|
+
* Provides operations to call the validate method.
|
|
25
|
+
*/
|
|
26
|
+
get validate(): ValidateRequestBuilder;
|
|
27
|
+
/**
|
|
28
|
+
* Delete a crossTenantMigrationJob object. Delete requests are long-running and finish within 48 hours. A crossTenantMigrationJob that is currently in progress can't be deleted. You can perform the deletion only after the crossTenantMigrationJob reaches a final state. If a crossTenantMigrationJob isn't in a final state, a 409 Conflict response is returned.
|
|
29
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
30
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
31
|
+
* @see {@link https://learn.microsoft.com/graph/api/migrationsroot-delete-crosstenantmigrationjobs?view=graph-rest-1.0|Find more info here}
|
|
32
|
+
*/
|
|
33
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
34
|
+
/**
|
|
35
|
+
* Read the properties and relationships of a crossTenantMigrationJob object. This API provides details about the migration job, but not about the individual crossTenantMigrationTasks objects associated with the migration job.
|
|
36
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
37
|
+
* @returns {Promise<CrossTenantMigrationJob>}
|
|
38
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
39
|
+
* @see {@link https://learn.microsoft.com/graph/api/crosstenantmigrationjob-get?view=graph-rest-1.0|Find more info here}
|
|
40
|
+
*/
|
|
41
|
+
get(requestConfiguration?: RequestConfiguration<CrossTenantMigrationJobItemRequestBuilderGetQueryParameters> | undefined): Promise<CrossTenantMigrationJob | undefined>;
|
|
42
|
+
/**
|
|
43
|
+
* Update the completeAfterDateTime property of a crossTenantMigrationJob object. Only updates to completeAfterDateTime are supported. This property specifies when the migration job can proceed toward completion. If the value is in the past, the service treats it as already due and proceeds toward completion during its next processing cycle. This behavior doesn't bypass earlier validation or synchronization stages.
|
|
44
|
+
* @param body The request body
|
|
45
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
46
|
+
* @returns {Promise<CrossTenantMigrationJob>}
|
|
47
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
48
|
+
* @see {@link https://learn.microsoft.com/graph/api/crosstenantmigrationjob-update?view=graph-rest-1.0|Find more info here}
|
|
49
|
+
*/
|
|
50
|
+
patch(body: CrossTenantMigrationJob, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CrossTenantMigrationJob | undefined>;
|
|
51
|
+
/**
|
|
52
|
+
* Delete a crossTenantMigrationJob object. Delete requests are long-running and finish within 48 hours. A crossTenantMigrationJob that is currently in progress can't be deleted. You can perform the deletion only after the crossTenantMigrationJob reaches a final state. If a crossTenantMigrationJob isn't in a final state, a 409 Conflict response is returned.
|
|
53
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
54
|
+
* @returns {RequestInformation}
|
|
55
|
+
*/
|
|
56
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
57
|
+
/**
|
|
58
|
+
* Read the properties and relationships of a crossTenantMigrationJob object. This API provides details about the migration job, but not about the individual crossTenantMigrationTasks objects associated with the migration job.
|
|
59
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
60
|
+
* @returns {RequestInformation}
|
|
61
|
+
*/
|
|
62
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CrossTenantMigrationJobItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
63
|
+
/**
|
|
64
|
+
* Update the completeAfterDateTime property of a crossTenantMigrationJob object. Only updates to completeAfterDateTime are supported. This property specifies when the migration job can proceed toward completion. If the value is in the past, the service treats it as already due and proceeds toward completion during its next processing cycle. This behavior doesn't bypass earlier validation or synchronization stages.
|
|
65
|
+
* @param body The request body
|
|
66
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
67
|
+
* @returns {RequestInformation}
|
|
68
|
+
*/
|
|
69
|
+
toPatchRequestInformation(body: CrossTenantMigrationJob, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Read the properties and relationships of a crossTenantMigrationJob object. This API provides details about the migration job, but not about the individual crossTenantMigrationTasks objects associated with the migration job.
|
|
73
|
+
*/
|
|
74
|
+
export interface CrossTenantMigrationJobItemRequestBuilderGetQueryParameters {
|
|
75
|
+
/**
|
|
76
|
+
* Expand related entities
|
|
77
|
+
*/
|
|
78
|
+
expand?: string[];
|
|
79
|
+
/**
|
|
80
|
+
* Select properties to be returned
|
|
81
|
+
*/
|
|
82
|
+
select?: string[];
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Uri template for the request builder.
|
|
86
|
+
*/
|
|
87
|
+
export declare const CrossTenantMigrationJobItemRequestBuilderUriTemplate = "{+baseurl}/solutions/migrations/crossTenantMigrationJobs/{crossTenantMigrationJob%2Did}{?%24expand,%24select}";
|
|
88
|
+
/**
|
|
89
|
+
* Metadata for all the navigation properties in the request builder.
|
|
90
|
+
*/
|
|
91
|
+
export declare const CrossTenantMigrationJobItemRequestBuilderNavigationMetadata: Record<Exclude<keyof CrossTenantMigrationJobItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
92
|
+
/**
|
|
93
|
+
* Metadata for all the requests in the request builder.
|
|
94
|
+
*/
|
|
95
|
+
export declare const CrossTenantMigrationJobItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
96
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|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C,uBAAuB,GAAG,SAAS,CAAC,CAAC;IACtJ;;;;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,2DAA2D,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACpK;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,uBAAuB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnJ;AACD;;GAEG;AACH,MAAM,WAAW,2DAA2D;IACxE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,oDAAoD,kHAAkH,CAAC;AAQpL;;GAEG;AACH,eAAO,MAAM,2DAA2D,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,yCAAyC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAchM,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,yDAAyD,EAAE,gBA+BvE,CAAC"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createCrossTenantMigrationJobFromDiscriminatorValue, serializeCrossTenantMigrationJob } 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 { CancelRequestBuilderRequestsMetadata } from './cancel/index.js';
|
|
10
|
+
// @ts-ignore
|
|
11
|
+
import { MigrateRequestBuilderRequestsMetadata } from './migrate/index.js';
|
|
12
|
+
// @ts-ignore
|
|
13
|
+
import { UsersRequestBuilderNavigationMetadata, UsersRequestBuilderRequestsMetadata } from './users/index.js';
|
|
14
|
+
// @ts-ignore
|
|
15
|
+
import { ValidateRequestBuilderRequestsMetadata } from './validate/index.js';
|
|
16
|
+
/**
|
|
17
|
+
* Uri template for the request builder.
|
|
18
|
+
*/
|
|
19
|
+
export const CrossTenantMigrationJobItemRequestBuilderUriTemplate = "{+baseurl}/solutions/migrations/crossTenantMigrationJobs/{crossTenantMigrationJob%2Did}{?%24expand,%24select}";
|
|
20
|
+
/**
|
|
21
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
22
|
+
*/
|
|
23
|
+
const CrossTenantMigrationJobItemRequestBuilderGetQueryParametersMapper = {
|
|
24
|
+
"expand": "%24expand",
|
|
25
|
+
"select": "%24select",
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Metadata for all the navigation properties in the request builder.
|
|
29
|
+
*/
|
|
30
|
+
export const CrossTenantMigrationJobItemRequestBuilderNavigationMetadata = {
|
|
31
|
+
cancel: {
|
|
32
|
+
requestsMetadata: CancelRequestBuilderRequestsMetadata,
|
|
33
|
+
},
|
|
34
|
+
migrate: {
|
|
35
|
+
requestsMetadata: MigrateRequestBuilderRequestsMetadata,
|
|
36
|
+
},
|
|
37
|
+
users: {
|
|
38
|
+
requestsMetadata: UsersRequestBuilderRequestsMetadata,
|
|
39
|
+
navigationMetadata: UsersRequestBuilderNavigationMetadata,
|
|
40
|
+
},
|
|
41
|
+
validate: {
|
|
42
|
+
requestsMetadata: ValidateRequestBuilderRequestsMetadata,
|
|
43
|
+
},
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* Metadata for all the requests in the request builder.
|
|
47
|
+
*/
|
|
48
|
+
export const CrossTenantMigrationJobItemRequestBuilderRequestsMetadata = {
|
|
49
|
+
delete: {
|
|
50
|
+
uriTemplate: CrossTenantMigrationJobItemRequestBuilderUriTemplate,
|
|
51
|
+
responseBodyContentType: "application/json",
|
|
52
|
+
errorMappings: {
|
|
53
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
54
|
+
},
|
|
55
|
+
adapterMethodName: "sendNoResponseContent",
|
|
56
|
+
},
|
|
57
|
+
get: {
|
|
58
|
+
uriTemplate: CrossTenantMigrationJobItemRequestBuilderUriTemplate,
|
|
59
|
+
responseBodyContentType: "application/json",
|
|
60
|
+
errorMappings: {
|
|
61
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
62
|
+
},
|
|
63
|
+
adapterMethodName: "send",
|
|
64
|
+
responseBodyFactory: createCrossTenantMigrationJobFromDiscriminatorValue,
|
|
65
|
+
queryParametersMapper: CrossTenantMigrationJobItemRequestBuilderGetQueryParametersMapper,
|
|
66
|
+
},
|
|
67
|
+
patch: {
|
|
68
|
+
uriTemplate: CrossTenantMigrationJobItemRequestBuilderUriTemplate,
|
|
69
|
+
responseBodyContentType: "application/json",
|
|
70
|
+
errorMappings: {
|
|
71
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
72
|
+
},
|
|
73
|
+
adapterMethodName: "send",
|
|
74
|
+
responseBodyFactory: createCrossTenantMigrationJobFromDiscriminatorValue,
|
|
75
|
+
requestBodyContentType: "application/json",
|
|
76
|
+
requestBodySerializer: serializeCrossTenantMigrationJob,
|
|
77
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
78
|
+
},
|
|
79
|
+
};
|
|
80
|
+
/* tslint:enable */
|
|
81
|
+
/* eslint-enable */
|
|
82
|
+
//# 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,mDAAmD,EAAE,gCAAgC,EAAgC,MAAM,wCAAwC,CAAC;AA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F;IACD,KAAK,EAAE;QACH,WAAW,EAAE,oDAAoD;QACjE,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,mDAAmD;QACzE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,gCAAgC;QACvD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { type CrossTenantMigrationJob } 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 migrate method.
|
|
5
|
+
*/
|
|
6
|
+
export interface MigrateRequestBuilder extends BaseRequestBuilder<MigrateRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Migrate a cross-tenant migration job asynchronously. The job must pass validation before migration can start. After a job is created by using the Create crossTenantMigrationJob method and validated by using the validate action, call this action to start the migration of user data from the source tenant to the target tenant for the specified workloads. Validation results expire after seven days; if expired, revalidate the job before you call the migrate API. This action is asynchronous. After you call the migrate API, poll the Get crossTenantMigrationJob endpoint to check for a terminal status of completed, completedWithErrors, or failed.
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @returns {Promise<CrossTenantMigrationJob>}
|
|
11
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
12
|
+
* @see {@link https://learn.microsoft.com/graph/api/crosstenantmigrationjob-migrate?view=graph-rest-1.0|Find more info here}
|
|
13
|
+
*/
|
|
14
|
+
post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CrossTenantMigrationJob | undefined>;
|
|
15
|
+
/**
|
|
16
|
+
* Migrate a cross-tenant migration job asynchronously. The job must pass validation before migration can start. After a job is created by using the Create crossTenantMigrationJob method and validated by using the validate action, call this action to start the migration of user data from the source tenant to the target tenant for the specified workloads. Validation results expire after seven days; if expired, revalidate the job before you call the migrate API. This action is asynchronous. After you call the migrate API, poll the Get crossTenantMigrationJob endpoint to check for a terminal status of completed, completedWithErrors, or failed.
|
|
17
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
18
|
+
* @returns {RequestInformation}
|
|
19
|
+
*/
|
|
20
|
+
toPostRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Uri template for the request builder.
|
|
24
|
+
*/
|
|
25
|
+
export declare const MigrateRequestBuilderUriTemplate = "{+baseurl}/solutions/migrations/crossTenantMigrationJobs/{crossTenantMigrationJob%2Did}/migrate";
|
|
26
|
+
/**
|
|
27
|
+
* Metadata for all the requests in the request builder.
|
|
28
|
+
*/
|
|
29
|
+
export declare const MigrateRequestBuilderRequestsMetadata: 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,EAAuD,KAAK,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAI3I,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC;IACpF;;;;;;OAMG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,uBAAuB,GAAG,SAAS,CAAC,CAAC;IACtH;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,gCAAgC,oGAAoG,CAAC;AAClJ;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAUnD,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createCrossTenantMigrationJobFromDiscriminatorValue } 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 MigrateRequestBuilderUriTemplate = "{+baseurl}/solutions/migrations/crossTenantMigrationJobs/{crossTenantMigrationJob%2Did}/migrate";
|
|
12
|
+
/**
|
|
13
|
+
* Metadata for all the requests in the request builder.
|
|
14
|
+
*/
|
|
15
|
+
export const MigrateRequestBuilderRequestsMetadata = {
|
|
16
|
+
post: {
|
|
17
|
+
uriTemplate: MigrateRequestBuilderUriTemplate,
|
|
18
|
+
responseBodyContentType: "application/json",
|
|
19
|
+
errorMappings: {
|
|
20
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
21
|
+
},
|
|
22
|
+
adapterMethodName: "send",
|
|
23
|
+
responseBodyFactory: createCrossTenantMigrationJobFromDiscriminatorValue,
|
|
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,mDAAmD,EAAgC,MAAM,wCAAwC,CAAC;AAC3I,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAuB7H;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,iGAAiG,CAAC;AAClJ;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAqB;IACnE,IAAI,EAAE;QACF,WAAW,EAAE,gCAAgC;QAC7C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,mDAAmD;KAC5E;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}/solutions/migrations/crossTenantMigrationJobs/{crossTenantMigrationJob%2Did}/users/$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,+HAA+H,CAAC;AAQ3K;;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}/solutions/migrations/crossTenantMigrationJobs/{crossTenantMigrationJob%2Did}/users/$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
|