@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,91 @@
|
|
|
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 ValidateRequestBuilder } from './validate/index.js';
|
|
5
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
6
|
+
/**
|
|
7
|
+
* Provides operations to manage the crossTenantMigrationJobs property of the microsoft.graph.migrationsRoot entity.
|
|
8
|
+
*/
|
|
9
|
+
export interface CrossTenantMigrationJobsWithDisplayNameRequestBuilder extends BaseRequestBuilder<CrossTenantMigrationJobsWithDisplayNameRequestBuilder> {
|
|
10
|
+
/**
|
|
11
|
+
* Provides operations to call the cancel method.
|
|
12
|
+
*/
|
|
13
|
+
get cancel(): CancelRequestBuilder;
|
|
14
|
+
/**
|
|
15
|
+
* Provides operations to call the migrate method.
|
|
16
|
+
*/
|
|
17
|
+
get migrate(): MigrateRequestBuilder;
|
|
18
|
+
/**
|
|
19
|
+
* Provides operations to call the validate method.
|
|
20
|
+
*/
|
|
21
|
+
get validate(): ValidateRequestBuilder;
|
|
22
|
+
/**
|
|
23
|
+
* 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.
|
|
24
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
25
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
26
|
+
* @see {@link https://learn.microsoft.com/graph/api/migrationsroot-delete-crosstenantmigrationjobs?view=graph-rest-1.0|Find more info here}
|
|
27
|
+
*/
|
|
28
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
29
|
+
/**
|
|
30
|
+
* 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.
|
|
31
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
32
|
+
* @returns {Promise<CrossTenantMigrationJob>}
|
|
33
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
34
|
+
* @see {@link https://learn.microsoft.com/graph/api/crosstenantmigrationjob-get?view=graph-rest-1.0|Find more info here}
|
|
35
|
+
*/
|
|
36
|
+
get(requestConfiguration?: RequestConfiguration<CrossTenantMigrationJobsWithDisplayNameRequestBuilderGetQueryParameters> | undefined): Promise<CrossTenantMigrationJob | undefined>;
|
|
37
|
+
/**
|
|
38
|
+
* 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.
|
|
39
|
+
* @param body The request body
|
|
40
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
41
|
+
* @returns {Promise<CrossTenantMigrationJob>}
|
|
42
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
43
|
+
* @see {@link https://learn.microsoft.com/graph/api/crosstenantmigrationjob-update?view=graph-rest-1.0|Find more info here}
|
|
44
|
+
*/
|
|
45
|
+
patch(body: CrossTenantMigrationJob, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CrossTenantMigrationJob | undefined>;
|
|
46
|
+
/**
|
|
47
|
+
* 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.
|
|
48
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
49
|
+
* @returns {RequestInformation}
|
|
50
|
+
*/
|
|
51
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
52
|
+
/**
|
|
53
|
+
* 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.
|
|
54
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
55
|
+
* @returns {RequestInformation}
|
|
56
|
+
*/
|
|
57
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CrossTenantMigrationJobsWithDisplayNameRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
58
|
+
/**
|
|
59
|
+
* 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.
|
|
60
|
+
* @param body The request body
|
|
61
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
62
|
+
* @returns {RequestInformation}
|
|
63
|
+
*/
|
|
64
|
+
toPatchRequestInformation(body: CrossTenantMigrationJob, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* 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.
|
|
68
|
+
*/
|
|
69
|
+
export interface CrossTenantMigrationJobsWithDisplayNameRequestBuilderGetQueryParameters {
|
|
70
|
+
/**
|
|
71
|
+
* Expand related entities
|
|
72
|
+
*/
|
|
73
|
+
expand?: string[];
|
|
74
|
+
/**
|
|
75
|
+
* Select properties to be returned
|
|
76
|
+
*/
|
|
77
|
+
select?: string[];
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Uri template for the request builder.
|
|
81
|
+
*/
|
|
82
|
+
export declare const CrossTenantMigrationJobsWithDisplayNameRequestBuilderUriTemplate = "{+baseurl}/solutions/migrations/crossTenantMigrationJobs(displayName='{displayName}'){?%24expand,%24select}";
|
|
83
|
+
/**
|
|
84
|
+
* Metadata for all the navigation properties in the request builder.
|
|
85
|
+
*/
|
|
86
|
+
export declare const CrossTenantMigrationJobsWithDisplayNameRequestBuilderNavigationMetadata: Record<Exclude<keyof CrossTenantMigrationJobsWithDisplayNameRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
87
|
+
/**
|
|
88
|
+
* Metadata for all the requests in the request builder.
|
|
89
|
+
*/
|
|
90
|
+
export declare const CrossTenantMigrationJobsWithDisplayNameRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
91
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAyF,KAAK,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAI7K,OAAO,EAAwC,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAEpG,OAAO,EAAyC,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEvG,OAAO,EAAE,KAAK,sBAAsB,EAA0C,MAAM,qBAAqB,CAAC;AAE1G,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK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AAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,gEAAgE,gHAAgH,CAAC;AAQ9L;;GAEG;AACH,eAAO,MAAM,uEAAuE,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,qDAAqD,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAUxN,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,qEAAqE,EAAE,gBA+BnF,CAAC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
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 { ValidateRequestBuilderRequestsMetadata } from './validate/index.js';
|
|
14
|
+
/**
|
|
15
|
+
* Uri template for the request builder.
|
|
16
|
+
*/
|
|
17
|
+
export const CrossTenantMigrationJobsWithDisplayNameRequestBuilderUriTemplate = "{+baseurl}/solutions/migrations/crossTenantMigrationJobs(displayName='{displayName}'){?%24expand,%24select}";
|
|
18
|
+
/**
|
|
19
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
20
|
+
*/
|
|
21
|
+
const CrossTenantMigrationJobsWithDisplayNameRequestBuilderGetQueryParametersMapper = {
|
|
22
|
+
"expand": "%24expand",
|
|
23
|
+
"select": "%24select",
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Metadata for all the navigation properties in the request builder.
|
|
27
|
+
*/
|
|
28
|
+
export const CrossTenantMigrationJobsWithDisplayNameRequestBuilderNavigationMetadata = {
|
|
29
|
+
cancel: {
|
|
30
|
+
requestsMetadata: CancelRequestBuilderRequestsMetadata,
|
|
31
|
+
},
|
|
32
|
+
migrate: {
|
|
33
|
+
requestsMetadata: MigrateRequestBuilderRequestsMetadata,
|
|
34
|
+
},
|
|
35
|
+
validate: {
|
|
36
|
+
requestsMetadata: ValidateRequestBuilderRequestsMetadata,
|
|
37
|
+
},
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Metadata for all the requests in the request builder.
|
|
41
|
+
*/
|
|
42
|
+
export const CrossTenantMigrationJobsWithDisplayNameRequestBuilderRequestsMetadata = {
|
|
43
|
+
delete: {
|
|
44
|
+
uriTemplate: CrossTenantMigrationJobsWithDisplayNameRequestBuilderUriTemplate,
|
|
45
|
+
responseBodyContentType: "application/json",
|
|
46
|
+
errorMappings: {
|
|
47
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
48
|
+
},
|
|
49
|
+
adapterMethodName: "sendNoResponseContent",
|
|
50
|
+
},
|
|
51
|
+
get: {
|
|
52
|
+
uriTemplate: CrossTenantMigrationJobsWithDisplayNameRequestBuilderUriTemplate,
|
|
53
|
+
responseBodyContentType: "application/json",
|
|
54
|
+
errorMappings: {
|
|
55
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
56
|
+
},
|
|
57
|
+
adapterMethodName: "send",
|
|
58
|
+
responseBodyFactory: createCrossTenantMigrationJobFromDiscriminatorValue,
|
|
59
|
+
queryParametersMapper: CrossTenantMigrationJobsWithDisplayNameRequestBuilderGetQueryParametersMapper,
|
|
60
|
+
},
|
|
61
|
+
patch: {
|
|
62
|
+
uriTemplate: CrossTenantMigrationJobsWithDisplayNameRequestBuilderUriTemplate,
|
|
63
|
+
responseBodyContentType: "application/json",
|
|
64
|
+
errorMappings: {
|
|
65
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
66
|
+
},
|
|
67
|
+
adapterMethodName: "send",
|
|
68
|
+
responseBodyFactory: createCrossTenantMigrationJobFromDiscriminatorValue,
|
|
69
|
+
requestBodyContentType: "application/json",
|
|
70
|
+
requestBodySerializer: serializeCrossTenantMigrationJob,
|
|
71
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
72
|
+
},
|
|
73
|
+
};
|
|
74
|
+
/* tslint:enable */
|
|
75
|
+
/* eslint-enable */
|
|
76
|
+
//# 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;AAC7K,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,oCAAoC,EAA6B,MAAM,mBAAmB,CAAC;AACpG,aAAa;AACb,OAAO,EAAE,qCAAqC,EAA8B,MAAM,oBAAoB,CAAC;AACvG,aAAa;AACb,OAAO,EAA+B,sCAAsC,EAAE,MAAM,qBAAqB,CAAC;AA6E1G;;GAEG;AACH,MAAM,CAAC,MAAM,gEAAgE,GAAG,6GAA6G,CAAC;AAC9L;;GAEG;AACH,MAAM,6EAA6E,GAA2B;IAC1G,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,uEAAuE,GAAyI;IACzN,MAAM,EAAE;QACJ,gBAAgB,EAAE,oCAAoC;KACzD;IACD,OAAO,EAAE;QACL,gBAAgB,EAAE,qCAAqC;KAC1D;IACD,QAAQ,EAAE;QACN,gBAAgB,EAAE,sCAAsC;KAC3D;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,qEAAqE,GAAqB;IACnG,MAAM,EAAE;QACJ,WAAW,EAAE,gEAAgE;QAC7E,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;KAC7C;IACD,GAAG,EAAE;QACD,WAAW,EAAE,gEAAgE;QAC7E,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,mDAAmD;QACzE,qBAAqB,EAAE,6EAA6E;KACvG;IACD,KAAK,EAAE;QACH,WAAW,EAAE,gEAAgE;QAC7E,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(displayName='{displayName}')/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,kGAAkG,CAAC;AAChJ;;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(displayName='{displayName}')/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,+FAA+F,CAAC;AAChJ;;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,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(displayName='{displayName}')/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,mGAAmG,CAAC;AAClJ;;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(displayName='{displayName}')/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,gGAAgG,CAAC;AAClJ;;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,85 @@
|
|
|
1
|
+
import { type MigrationsRoot } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
|
+
import { type CrossTenantMigrationJobsRequestBuilder } from './crossTenantMigrationJobs/index.js';
|
|
3
|
+
import { type CrossTenantMigrationJobsWithDisplayNameRequestBuilder } from './crossTenantMigrationJobsWithDisplayName/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 migrations property of the microsoft.graph.solutionsRoot entity.
|
|
7
|
+
*/
|
|
8
|
+
export interface MigrationsRequestBuilder extends BaseRequestBuilder<MigrationsRequestBuilder> {
|
|
9
|
+
/**
|
|
10
|
+
* Provides operations to manage the crossTenantMigrationJobs property of the microsoft.graph.migrationsRoot entity.
|
|
11
|
+
*/
|
|
12
|
+
get crossTenantMigrationJobs(): CrossTenantMigrationJobsRequestBuilder;
|
|
13
|
+
/**
|
|
14
|
+
* Provides operations to manage the crossTenantMigrationJobs property of the microsoft.graph.migrationsRoot entity.
|
|
15
|
+
* @param displayName Alternate key of crossTenantMigrationJob
|
|
16
|
+
* @returns {CrossTenantMigrationJobsWithDisplayNameRequestBuilder}
|
|
17
|
+
*/
|
|
18
|
+
crossTenantMigrationJobsWithDisplayName(displayName: string | undefined): CrossTenantMigrationJobsWithDisplayNameRequestBuilder;
|
|
19
|
+
/**
|
|
20
|
+
* Delete navigation property migrations for solutions
|
|
21
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
23
|
+
*/
|
|
24
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
25
|
+
/**
|
|
26
|
+
* The entry point for cross-tenant migration operations.
|
|
27
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
28
|
+
* @returns {Promise<MigrationsRoot>}
|
|
29
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
30
|
+
*/
|
|
31
|
+
get(requestConfiguration?: RequestConfiguration<MigrationsRequestBuilderGetQueryParameters> | undefined): Promise<MigrationsRoot | undefined>;
|
|
32
|
+
/**
|
|
33
|
+
* Update the navigation property migrations in solutions
|
|
34
|
+
* @param body The request body
|
|
35
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
36
|
+
* @returns {Promise<MigrationsRoot>}
|
|
37
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
38
|
+
*/
|
|
39
|
+
patch(body: MigrationsRoot, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<MigrationsRoot | undefined>;
|
|
40
|
+
/**
|
|
41
|
+
* Delete navigation property migrations for solutions
|
|
42
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
43
|
+
* @returns {RequestInformation}
|
|
44
|
+
*/
|
|
45
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
46
|
+
/**
|
|
47
|
+
* The entry point for cross-tenant migration operations.
|
|
48
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
49
|
+
* @returns {RequestInformation}
|
|
50
|
+
*/
|
|
51
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<MigrationsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
52
|
+
/**
|
|
53
|
+
* Update the navigation property migrations in solutions
|
|
54
|
+
* @param body The request body
|
|
55
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
56
|
+
* @returns {RequestInformation}
|
|
57
|
+
*/
|
|
58
|
+
toPatchRequestInformation(body: MigrationsRoot, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* The entry point for cross-tenant migration operations.
|
|
62
|
+
*/
|
|
63
|
+
export interface MigrationsRequestBuilderGetQueryParameters {
|
|
64
|
+
/**
|
|
65
|
+
* Expand related entities
|
|
66
|
+
*/
|
|
67
|
+
expand?: string[];
|
|
68
|
+
/**
|
|
69
|
+
* Select properties to be returned
|
|
70
|
+
*/
|
|
71
|
+
select?: string[];
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Uri template for the request builder.
|
|
75
|
+
*/
|
|
76
|
+
export declare const MigrationsRequestBuilderUriTemplate = "{+baseurl}/solutions/migrations{?%24expand,%24select}";
|
|
77
|
+
/**
|
|
78
|
+
* Metadata for all the navigation properties in the request builder.
|
|
79
|
+
*/
|
|
80
|
+
export declare const MigrationsRequestBuilderNavigationMetadata: Record<Exclude<keyof MigrationsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
81
|
+
/**
|
|
82
|
+
* Metadata for all the requests in the request builder.
|
|
83
|
+
*/
|
|
84
|
+
export declare const MigrationsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
85
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAuE,KAAK,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAIlJ,OAAO,EAAoH,KAAK,sCAAsC,EAAE,MAAM,qCAAqC,CAAC;AAEpN,OAAO,EAAkJ,KAAK,qDAAqD,EAAE,MAAM,oDAAoD,CAAC;AAEhR,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,wBAAyB,SAAQ,kBAAkB,CAAC,wBAAwB,CAAC;IAC1F;;OAEG;IACH,IAAI,wBAAwB,IAAI,sCAAsC,CAAC;IACvE;;;;OAIG;IACF,uCAAuC,CAAC,WAAW,EAAE,MAAM,GAAG,SAAS,GAAI,qDAAqD,CAAC;IAClI;;;;OAIG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;;OAKG;IACF,GA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eMigrationsRoot } 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 { CrossTenantMigrationJobsRequestBuilderNavigationMetadata, CrossTenantMigrationJobsRequestBuilderRequestsMetadata } from './crossTenantMigrationJobs/index.js';
|
|
10
|
+
// @ts-ignore
|
|
11
|
+
import { CrossTenantMigrationJobsWithDisplayNameRequestBuilderNavigationMetadata, CrossTenantMigrationJobsWithDisplayNameRequestBuilderRequestsMetadata } from './crossTenantMigrationJobsWithDisplayName/index.js';
|
|
12
|
+
/**
|
|
13
|
+
* Uri template for the request builder.
|
|
14
|
+
*/
|
|
15
|
+
export const MigrationsRequestBuilderUriTemplate = "{+baseurl}/solutions/migrations{?%24expand,%24select}";
|
|
16
|
+
/**
|
|
17
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
18
|
+
*/
|
|
19
|
+
const MigrationsRequestBuilderGetQueryParametersMapper = {
|
|
20
|
+
"expand": "%24expand",
|
|
21
|
+
"select": "%24select",
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Metadata for all the navigation properties in the request builder.
|
|
25
|
+
*/
|
|
26
|
+
export const MigrationsRequestBuilderNavigationMetadata = {
|
|
27
|
+
crossTenantMigrationJobsWithDisplayName: {
|
|
28
|
+
requestsMetadata: CrossTenantMigrationJobsWithDisplayNameRequestBuilderRequestsMetadata,
|
|
29
|
+
navigationMetadata: CrossTenantMigrationJobsWithDisplayNameRequestBuilderNavigationMetadata,
|
|
30
|
+
pathParametersMappings: ["displayName"],
|
|
31
|
+
},
|
|
32
|
+
crossTenantMigrationJobs: {
|
|
33
|
+
requestsMetadata: CrossTenantMigrationJobsRequestBuilderRequestsMetadata,
|
|
34
|
+
navigationMetadata: CrossTenantMigrationJobsRequestBuilderNavigationMetadata,
|
|
35
|
+
},
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Metadata for all the requests in the request builder.
|
|
39
|
+
*/
|
|
40
|
+
export const MigrationsRequestBuilderRequestsMetadata = {
|
|
41
|
+
delete: {
|
|
42
|
+
uriTemplate: MigrationsRequestBuilderUriTemplate,
|
|
43
|
+
responseBodyContentType: "application/json",
|
|
44
|
+
errorMappings: {
|
|
45
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
46
|
+
},
|
|
47
|
+
adapterMethodName: "sendNoResponseContent",
|
|
48
|
+
},
|
|
49
|
+
get: {
|
|
50
|
+
uriTemplate: MigrationsRequestBuilderUriTemplate,
|
|
51
|
+
responseBodyContentType: "application/json",
|
|
52
|
+
errorMappings: {
|
|
53
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
54
|
+
},
|
|
55
|
+
adapterMethodName: "send",
|
|
56
|
+
responseBodyFactory: createMigrationsRootFromDiscriminatorValue,
|
|
57
|
+
queryParametersMapper: MigrationsRequestBuilderGetQueryParametersMapper,
|
|
58
|
+
},
|
|
59
|
+
patch: {
|
|
60
|
+
uriTemplate: MigrationsRequestBuilderUriTemplate,
|
|
61
|
+
responseBodyContentType: "application/json",
|
|
62
|
+
errorMappings: {
|
|
63
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
64
|
+
},
|
|
65
|
+
adapterMethodName: "send",
|
|
66
|
+
responseBodyFactory: createMigrationsRootFromDiscriminatorValue,
|
|
67
|
+
requestBodyContentType: "application/json",
|
|
68
|
+
requestBodySerializer: serializeMigrationsRoot,
|
|
69
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
70
|
+
},
|
|
71
|
+
};
|
|
72
|
+
/* tslint:enable */
|
|
73
|
+
/* eslint-enable */
|
|
74
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB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