@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 @@
|
|
|
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,4HAA4H,CAAC;AAC3K;;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,98 @@
|
|
|
1
|
+
import { type CrossTenantMigrationTask, type CrossTenantMigrationTaskCollectionResponse } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
|
+
import { type CountRequestBuilder } from './count/index.js';
|
|
3
|
+
import { type CrossTenantMigrationTaskItemRequestBuilder } 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 users property of the microsoft.graph.crossTenantMigrationJob entity.
|
|
7
|
+
*/
|
|
8
|
+
export interface UsersRequestBuilder extends BaseRequestBuilder<UsersRequestBuilder> {
|
|
9
|
+
/**
|
|
10
|
+
* Provides operations to count the resources in the collection.
|
|
11
|
+
*/
|
|
12
|
+
get count(): CountRequestBuilder;
|
|
13
|
+
/**
|
|
14
|
+
* Provides operations to manage the users property of the microsoft.graph.crossTenantMigrationJob entity.
|
|
15
|
+
* @param crossTenantMigrationTaskId The unique identifier of crossTenantMigrationTask
|
|
16
|
+
* @returns {CrossTenantMigrationTaskItemRequestBuilder}
|
|
17
|
+
*/
|
|
18
|
+
byCrossTenantMigrationTaskId(crossTenantMigrationTaskId: string): CrossTenantMigrationTaskItemRequestBuilder;
|
|
19
|
+
/**
|
|
20
|
+
* Get a list of the crossTenantMigrationTasks for users in a crossTenantMigrationJob.
|
|
21
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
|
+
* @returns {Promise<CrossTenantMigrationTaskCollectionResponse>}
|
|
23
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
24
|
+
* @see {@link https://learn.microsoft.com/graph/api/crosstenantmigrationjob-list-users?view=graph-rest-1.0|Find more info here}
|
|
25
|
+
*/
|
|
26
|
+
get(requestConfiguration?: RequestConfiguration<UsersRequestBuilderGetQueryParameters> | undefined): Promise<CrossTenantMigrationTaskCollectionResponse | undefined>;
|
|
27
|
+
/**
|
|
28
|
+
* Create new navigation property to users for solutions
|
|
29
|
+
* @param body The request body
|
|
30
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
31
|
+
* @returns {Promise<CrossTenantMigrationTask>}
|
|
32
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
33
|
+
*/
|
|
34
|
+
post(body: CrossTenantMigrationTask, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CrossTenantMigrationTask | undefined>;
|
|
35
|
+
/**
|
|
36
|
+
* Get a list of the crossTenantMigrationTasks for users in a crossTenantMigrationJob.
|
|
37
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
38
|
+
* @returns {RequestInformation}
|
|
39
|
+
*/
|
|
40
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<UsersRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
41
|
+
/**
|
|
42
|
+
* Create new navigation property to users for solutions
|
|
43
|
+
* @param body The request body
|
|
44
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
45
|
+
* @returns {RequestInformation}
|
|
46
|
+
*/
|
|
47
|
+
toPostRequestInformation(body: CrossTenantMigrationTask, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Get a list of the crossTenantMigrationTasks for users in a crossTenantMigrationJob.
|
|
51
|
+
*/
|
|
52
|
+
export interface UsersRequestBuilderGetQueryParameters {
|
|
53
|
+
/**
|
|
54
|
+
* Include count of items
|
|
55
|
+
*/
|
|
56
|
+
count?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Expand related entities
|
|
59
|
+
*/
|
|
60
|
+
expand?: string[];
|
|
61
|
+
/**
|
|
62
|
+
* Filter items by property values
|
|
63
|
+
*/
|
|
64
|
+
filter?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Order items by property values
|
|
67
|
+
*/
|
|
68
|
+
orderby?: string[];
|
|
69
|
+
/**
|
|
70
|
+
* Search items by search phrases
|
|
71
|
+
*/
|
|
72
|
+
search?: string;
|
|
73
|
+
/**
|
|
74
|
+
* Select properties to be returned
|
|
75
|
+
*/
|
|
76
|
+
select?: string[];
|
|
77
|
+
/**
|
|
78
|
+
* Skip the first n items
|
|
79
|
+
*/
|
|
80
|
+
skip?: number;
|
|
81
|
+
/**
|
|
82
|
+
* Show only the first n items
|
|
83
|
+
*/
|
|
84
|
+
top?: number;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Uri template for the request builder.
|
|
88
|
+
*/
|
|
89
|
+
export declare const UsersRequestBuilderUriTemplate = "{+baseurl}/solutions/migrations/crossTenantMigrationJobs/{crossTenantMigrationJob%2Did}/users{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
90
|
+
/**
|
|
91
|
+
* Metadata for all the navigation properties in the request builder.
|
|
92
|
+
*/
|
|
93
|
+
export declare const UsersRequestBuilderNavigationMetadata: Record<Exclude<keyof UsersRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
94
|
+
/**
|
|
95
|
+
* Metadata for all the requests in the request builder.
|
|
96
|
+
*/
|
|
97
|
+
export declare const UsersRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
98
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAmK,KAAK,wBAAwB,EAAE,KAAK,0CAA0C,EAAE,MAAM,wCAAwC,CAAC;AAIzS,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEjG,OAAO,EAA4H,KAAK,0CAA0C,EAAE,MAAM,iBAAiB,CAAC;AAE5M,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,4BAA4B,CAAC,0BAA0B,EAAE,MAAM,GAAI,0CAA0C,CAAC;IAC/G;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,0CAA0C,GAAG,SAAS,CAAC,CAAC;IACvK;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,wBAAwB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,wBAAwB,GAAG,SAAS,CAAC,CAAC;IACvJ;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC9I;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,wBAAwB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;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,8BAA8B,+KAA+K,CAAC;AAc3N;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,mBAAmB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CASpJ,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAuBjD,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createCrossTenantMigrationTaskCollectionResponseFromDiscriminatorValue, createCrossTenantMigrationTaskFromDiscriminatorValue, serializeCrossTenantMigrationTask } 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 { CrossTenantMigrationTaskItemRequestBuilderNavigationMetadata, CrossTenantMigrationTaskItemRequestBuilderRequestsMetadata } from './item/index.js';
|
|
12
|
+
/**
|
|
13
|
+
* Uri template for the request builder.
|
|
14
|
+
*/
|
|
15
|
+
export const UsersRequestBuilderUriTemplate = "{+baseurl}/solutions/migrations/crossTenantMigrationJobs/{crossTenantMigrationJob%2Did}/users{?%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 UsersRequestBuilderGetQueryParametersMapper = {
|
|
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 UsersRequestBuilderNavigationMetadata = {
|
|
33
|
+
byCrossTenantMigrationTaskId: {
|
|
34
|
+
requestsMetadata: CrossTenantMigrationTaskItemRequestBuilderRequestsMetadata,
|
|
35
|
+
navigationMetadata: CrossTenantMigrationTaskItemRequestBuilderNavigationMetadata,
|
|
36
|
+
pathParametersMappings: ["crossTenantMigrationTask%2Did"],
|
|
37
|
+
},
|
|
38
|
+
count: {
|
|
39
|
+
requestsMetadata: CountRequestBuilderRequestsMetadata,
|
|
40
|
+
},
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Metadata for all the requests in the request builder.
|
|
44
|
+
*/
|
|
45
|
+
export const UsersRequestBuilderRequestsMetadata = {
|
|
46
|
+
get: {
|
|
47
|
+
uriTemplate: UsersRequestBuilderUriTemplate,
|
|
48
|
+
responseBodyContentType: "application/json",
|
|
49
|
+
errorMappings: {
|
|
50
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
51
|
+
},
|
|
52
|
+
adapterMethodName: "send",
|
|
53
|
+
responseBodyFactory: createCrossTenantMigrationTaskCollectionResponseFromDiscriminatorValue,
|
|
54
|
+
queryParametersMapper: UsersRequestBuilderGetQueryParametersMapper,
|
|
55
|
+
},
|
|
56
|
+
post: {
|
|
57
|
+
uriTemplate: UsersRequestBuilderUriTemplate,
|
|
58
|
+
responseBodyContentType: "application/json",
|
|
59
|
+
errorMappings: {
|
|
60
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
61
|
+
},
|
|
62
|
+
adapterMethodName: "send",
|
|
63
|
+
responseBodyFactory: createCrossTenantMigrationTaskFromDiscriminatorValue,
|
|
64
|
+
requestBodyContentType: "application/json",
|
|
65
|
+
requestBodySerializer: serializeCrossTenantMigrationTask,
|
|
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,sEAAsE,EAAE,oDAAoD,EAAE,iCAAiC,EAAkF,MAAM,wCAAwC,CAAC;AACzS,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,mCAAmC,EAA4B,MAAM,kBAAkB,CAAC;AACjG,aAAa;AACb,OAAO,EAAE,4DAA4D,EAAE,0DAA0D,EAAmD,MAAM,iBAAiB,CAAC;AAqF5M;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,4KAA4K,CAAC;AAC3N;;GAEG;AACH,MAAM,2CAA2C,GAA2B;IACxE,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,qCAAqC,GAAuG;IACrJ,4BAA4B,EAAE;QAC1B,gBAAgB,EAAE,0DAA0D;QAC5E,kBAAkB,EAAE,4DAA4D;QAChF,sBAAsB,EAAE,CAAC,+BAA+B,CAAC;KAC5D;IACD,KAAK,EAAE;QACH,gBAAgB,EAAE,mCAAmC;KACxD;CACJ,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,MAAM;QACzB,mBAAmB,EAAG,sEAAsE;QAC5F,qBAAqB,EAAE,2CAA2C;KACrE;IACD,IAAI,EAAE;QACF,WAAW,EAAE,8BAA8B;QAC3C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,oDAAoD;QAC1E,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,iCAAiC;QACxD,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 specific crossTenantMigrationTask for a user in a crossTenantMigrationJob. If the user migration can't be canceled or is in a terminal state, a 409 Conflict response code is returned, and the migration continues.
|
|
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/crosstenantmigrationtask-cancel?view=graph-rest-1.0|Find more info here}
|
|
13
|
+
*/
|
|
14
|
+
post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CrossTenantMigrationCancelResponse | undefined>;
|
|
15
|
+
/**
|
|
16
|
+
* Cancel a specific crossTenantMigrationTask for a user in a crossTenantMigrationJob. If the user migration can't be canceled or is in a terminal state, a 409 Conflict response code is returned, and the migration continues.
|
|
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}/users/{crossTenantMigrationTask%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,yIAAyI,CAAC;AACtL;;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}/users/{crossTenantMigrationTask%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,sIAAsI,CAAC;AACtL;;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,79 @@
|
|
|
1
|
+
import { type CrossTenantMigrationTask } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
|
+
import { type CancelRequestBuilder } from './cancel/index.js';
|
|
3
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
4
|
+
/**
|
|
5
|
+
* Provides operations to manage the users property of the microsoft.graph.crossTenantMigrationJob entity.
|
|
6
|
+
*/
|
|
7
|
+
export interface CrossTenantMigrationTaskItemRequestBuilder extends BaseRequestBuilder<CrossTenantMigrationTaskItemRequestBuilder> {
|
|
8
|
+
/**
|
|
9
|
+
* Provides operations to call the cancel method.
|
|
10
|
+
*/
|
|
11
|
+
get cancel(): CancelRequestBuilder;
|
|
12
|
+
/**
|
|
13
|
+
* Delete navigation property users for solutions
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
16
|
+
*/
|
|
17
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
18
|
+
/**
|
|
19
|
+
* Read the properties and relationships of a crossTenantMigrationTask object that provides details about the migration task for a single user in a crossTenantMigrationJob. The crossTenantMigrationTask contains the status details of migrations for the workloads specified in the crossTenantMigrationJob.
|
|
20
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
21
|
+
* @returns {Promise<CrossTenantMigrationTask>}
|
|
22
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
23
|
+
* @see {@link https://learn.microsoft.com/graph/api/crosstenantmigrationtask-get?view=graph-rest-1.0|Find more info here}
|
|
24
|
+
*/
|
|
25
|
+
get(requestConfiguration?: RequestConfiguration<CrossTenantMigrationTaskItemRequestBuilderGetQueryParameters> | undefined): Promise<CrossTenantMigrationTask | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* Update the navigation property users in solutions
|
|
28
|
+
* @param body The request body
|
|
29
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
30
|
+
* @returns {Promise<CrossTenantMigrationTask>}
|
|
31
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
32
|
+
*/
|
|
33
|
+
patch(body: CrossTenantMigrationTask, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CrossTenantMigrationTask | undefined>;
|
|
34
|
+
/**
|
|
35
|
+
* Delete navigation property users for solutions
|
|
36
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
37
|
+
* @returns {RequestInformation}
|
|
38
|
+
*/
|
|
39
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
40
|
+
/**
|
|
41
|
+
* Read the properties and relationships of a crossTenantMigrationTask object that provides details about the migration task for a single user in a crossTenantMigrationJob. The crossTenantMigrationTask contains the status details of migrations for the workloads specified in the crossTenantMigrationJob.
|
|
42
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
43
|
+
* @returns {RequestInformation}
|
|
44
|
+
*/
|
|
45
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CrossTenantMigrationTaskItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
46
|
+
/**
|
|
47
|
+
* Update the navigation property users in solutions
|
|
48
|
+
* @param body The request body
|
|
49
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
50
|
+
* @returns {RequestInformation}
|
|
51
|
+
*/
|
|
52
|
+
toPatchRequestInformation(body: CrossTenantMigrationTask, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Read the properties and relationships of a crossTenantMigrationTask object that provides details about the migration task for a single user in a crossTenantMigrationJob. The crossTenantMigrationTask contains the status details of migrations for the workloads specified in the crossTenantMigrationJob.
|
|
56
|
+
*/
|
|
57
|
+
export interface CrossTenantMigrationTaskItemRequestBuilderGetQueryParameters {
|
|
58
|
+
/**
|
|
59
|
+
* Expand related entities
|
|
60
|
+
*/
|
|
61
|
+
expand?: string[];
|
|
62
|
+
/**
|
|
63
|
+
* Select properties to be returned
|
|
64
|
+
*/
|
|
65
|
+
select?: string[];
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Uri template for the request builder.
|
|
69
|
+
*/
|
|
70
|
+
export declare const CrossTenantMigrationTaskItemRequestBuilderUriTemplate = "{+baseurl}/solutions/migrations/crossTenantMigrationJobs/{crossTenantMigrationJob%2Did}/users/{crossTenantMigrationTask%2Did}{?%24expand,%24select}";
|
|
71
|
+
/**
|
|
72
|
+
* Metadata for all the navigation properties in the request builder.
|
|
73
|
+
*/
|
|
74
|
+
export declare const CrossTenantMigrationTaskItemRequestBuilderNavigationMetadata: Record<Exclude<keyof CrossTenantMigrationTaskItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
75
|
+
/**
|
|
76
|
+
* Metadata for all the requests in the request builder.
|
|
77
|
+
*/
|
|
78
|
+
export declare const CrossTenantMigrationTaskItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
79
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA2F,KAAK,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAIhL,OAAO,EAAwC,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAEpG,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,0CAA2C,SAAQ,kBAAkB,CAAC,0CAA0C,CAAC;IAC9H;;OAEG;IACH,IAAI,MAAM,IAAI,oBAAoB,CAAC;IACnC;;;;OAIG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,4DAA4D,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,wBAAwB,GAAG,SAAS,CAAC,CAAC;IAC5K;;;;;;OAMG;IACF,KAAK,CAAC,IAAI,EAAE,wBAAwB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,wBAAwB,GAAG,SAAS,CAAC,CAAC;IACxJ;;;;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,4DAA4D,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACrK;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,wBAAwB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACpJ;AACD;;GAEG;AACH,MAAM,WAAW,4DAA4D;IACzE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,qDAAqD,wJAAwJ,CAAC;AAQ3N;;GAEG;AACH,eAAO,MAAM,4DAA4D,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,0CAA0C,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAIlM,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,0DAA0D,EAAE,gBA+BxE,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createCrossTenantMigrationTaskFromDiscriminatorValue, serializeCrossTenantMigrationTask } 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
|
+
/**
|
|
11
|
+
* Uri template for the request builder.
|
|
12
|
+
*/
|
|
13
|
+
export const CrossTenantMigrationTaskItemRequestBuilderUriTemplate = "{+baseurl}/solutions/migrations/crossTenantMigrationJobs/{crossTenantMigrationJob%2Did}/users/{crossTenantMigrationTask%2Did}{?%24expand,%24select}";
|
|
14
|
+
/**
|
|
15
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
16
|
+
*/
|
|
17
|
+
const CrossTenantMigrationTaskItemRequestBuilderGetQueryParametersMapper = {
|
|
18
|
+
"expand": "%24expand",
|
|
19
|
+
"select": "%24select",
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Metadata for all the navigation properties in the request builder.
|
|
23
|
+
*/
|
|
24
|
+
export const CrossTenantMigrationTaskItemRequestBuilderNavigationMetadata = {
|
|
25
|
+
cancel: {
|
|
26
|
+
requestsMetadata: CancelRequestBuilderRequestsMetadata,
|
|
27
|
+
},
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Metadata for all the requests in the request builder.
|
|
31
|
+
*/
|
|
32
|
+
export const CrossTenantMigrationTaskItemRequestBuilderRequestsMetadata = {
|
|
33
|
+
delete: {
|
|
34
|
+
uriTemplate: CrossTenantMigrationTaskItemRequestBuilderUriTemplate,
|
|
35
|
+
responseBodyContentType: "application/json",
|
|
36
|
+
errorMappings: {
|
|
37
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
38
|
+
},
|
|
39
|
+
adapterMethodName: "sendNoResponseContent",
|
|
40
|
+
},
|
|
41
|
+
get: {
|
|
42
|
+
uriTemplate: CrossTenantMigrationTaskItemRequestBuilderUriTemplate,
|
|
43
|
+
responseBodyContentType: "application/json",
|
|
44
|
+
errorMappings: {
|
|
45
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
46
|
+
},
|
|
47
|
+
adapterMethodName: "send",
|
|
48
|
+
responseBodyFactory: createCrossTenantMigrationTaskFromDiscriminatorValue,
|
|
49
|
+
queryParametersMapper: CrossTenantMigrationTaskItemRequestBuilderGetQueryParametersMapper,
|
|
50
|
+
},
|
|
51
|
+
patch: {
|
|
52
|
+
uriTemplate: CrossTenantMigrationTaskItemRequestBuilderUriTemplate,
|
|
53
|
+
responseBodyContentType: "application/json",
|
|
54
|
+
errorMappings: {
|
|
55
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
56
|
+
},
|
|
57
|
+
adapterMethodName: "send",
|
|
58
|
+
responseBodyFactory: createCrossTenantMigrationTaskFromDiscriminatorValue,
|
|
59
|
+
requestBodyContentType: "application/json",
|
|
60
|
+
requestBodySerializer: serializeCrossTenantMigrationTask,
|
|
61
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
62
|
+
},
|
|
63
|
+
};
|
|
64
|
+
/* tslint:enable */
|
|
65
|
+
/* eslint-enable */
|
|
66
|
+
//# 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,oDAAoD,EAAE,iCAAiC,EAAiC,MAAM,wCAAwC,CAAC;AAChL,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,oCAAoC,EAA6B,MAAM,mBAAmB,CAAC;AAmEpG;;GAEG;AACH,MAAM,CAAC,MAAM,qDAAqD,GAAG,qJAAqJ,CAAC;AAC3N;;GAEG;AACH,MAAM,kEAAkE,GAA2B;IAC/F,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,4DAA4D,GAA8H;IACnM,MAAM,EAAE;QACJ,gBAAgB,EAAE,oCAAoC;KACzD;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,0DAA0D,GAAqB;IACxF,MAAM,EAAE;QACJ,WAAW,EAAE,qDAAqD;QAClE,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;KAC7C;IACD,GAAG,EAAE;QACD,WAAW,EAAE,qDAAqD;QAClE,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,oDAAoD;QAC1E,qBAAqB,EAAE,kEAAkE;KAC5F;IACD,KAAK,EAAE;QACH,WAAW,EAAE,qDAAqD;QAClE,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,oDAAoD;QAC1E,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,iCAAiC;QACxD,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 validate method.
|
|
5
|
+
*/
|
|
6
|
+
export interface ValidateRequestBuilder extends BaseRequestBuilder<ValidateRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Validate the configuration of a cross-tenant migration job asynchronously. This action doesn't migrate any content, but goes through validation for the specified workloads to find any errors or misconfigurations that affect an actual migration job. The job must be in a submitted or validateFailed status before you can call this action. This action is asynchronous. After you call the validate API, poll the Get crossTenantMigrationJob endpoint to check for a terminal status of validatePassed or validateFailed.
|
|
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-validate?view=graph-rest-1.0|Find more info here}
|
|
13
|
+
*/
|
|
14
|
+
post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CrossTenantMigrationJob | undefined>;
|
|
15
|
+
/**
|
|
16
|
+
* Validate the configuration of a cross-tenant migration job asynchronously. This action doesn't migrate any content, but goes through validation for the specified workloads to find any errors or misconfigurations that affect an actual migration job. The job must be in a submitted or validateFailed status before you can call this action. This action is asynchronous. After you call the validate API, poll the Get crossTenantMigrationJob endpoint to check for a terminal status of validatePassed or validateFailed.
|
|
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 ValidateRequestBuilderUriTemplate = "{+baseurl}/solutions/migrations/crossTenantMigrationJobs/{crossTenantMigrationJob%2Did}/validate";
|
|
26
|
+
/**
|
|
27
|
+
* Metadata for all the requests in the request builder.
|
|
28
|
+
*/
|
|
29
|
+
export declare const ValidateRequestBuilderRequestsMetadata: 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,sBAAuB,SAAQ,kBAAkB,CAAC,sBAAsB,CAAC;IACtF;;;;;;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,iCAAiC,qGAAqG,CAAC;AACpJ;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,gBAUpD,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 ValidateRequestBuilderUriTemplate = "{+baseurl}/solutions/migrations/crossTenantMigrationJobs/{crossTenantMigrationJob%2Did}/validate";
|
|
12
|
+
/**
|
|
13
|
+
* Metadata for all the requests in the request builder.
|
|
14
|
+
*/
|
|
15
|
+
export const ValidateRequestBuilderRequestsMetadata = {
|
|
16
|
+
post: {
|
|
17
|
+
uriTemplate: ValidateRequestBuilderUriTemplate,
|
|
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,iCAAiC,GAAG,kGAAkG,CAAC;AACpJ;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAqB;IACpE,IAAI,EAAE;QACF,WAAW,EAAE,iCAAiC;QAC9C,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,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(displayName='{displayName}')/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,iGAAiG,CAAC;AAC9I;;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(displayName='{displayName}')/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,8FAA8F,CAAC;AAC9I;;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"}
|