@uipath/solution-sdk 1.201.0-preview.132 → 1.202.0-preview.134

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.
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { DeploymentAutoRequest, DeploymentDto, DeploymentItemDto, DeploymentRequest, DeploymentUpgradeRequest } from '../models/index';
13
+ import type { DeploymentAutoRequest, DeploymentDto, DeploymentItemDto, DeploymentRequest, DeploymentRunResponse, DeploymentUpgradeRequest, DeploymentValidationResultDto, SolutionDeploymentAction } from '../models/index';
14
14
  export interface DeploymentsDeployRequest {
15
15
  deploymentAutoRequest: DeploymentAutoRequest;
16
16
  xUIPATHFolderKey?: string | null;
@@ -20,10 +20,19 @@ export interface DeploymentsGetByKeyRequest {
20
20
  deploymentKey: string;
21
21
  xUipathAsVersion?: string;
22
22
  }
23
+ export interface DeploymentsGetValidationResultRequest {
24
+ deploymentKey: string;
25
+ deploymentAction?: SolutionDeploymentAction;
26
+ xUipathAsVersion?: string;
27
+ }
23
28
  export interface DeploymentsPostRequest {
24
29
  deploymentRequest: DeploymentRequest;
25
30
  xUipathAsVersion?: string;
26
31
  }
32
+ export interface DeploymentsRunRequest {
33
+ deploymentKey: string;
34
+ xUipathAsVersion?: string;
35
+ }
27
36
  export interface DeploymentsUpgradeRequest {
28
37
  deploymentKey: string;
29
38
  packageVersionKey?: string;
@@ -46,12 +55,24 @@ export declare class DeploymentsApi extends runtime.BaseAPI {
46
55
  /**
47
56
  */
48
57
  deploymentsGetByKey(requestParameters: DeploymentsGetByKeyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DeploymentItemDto>;
58
+ /**
59
+ */
60
+ deploymentsGetValidationResultRaw(requestParameters: DeploymentsGetValidationResultRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DeploymentValidationResultDto>>;
61
+ /**
62
+ */
63
+ deploymentsGetValidationResult(requestParameters: DeploymentsGetValidationResultRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DeploymentValidationResultDto>;
49
64
  /**
50
65
  */
51
66
  deploymentsPostRaw(requestParameters: DeploymentsPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DeploymentItemDto>>;
52
67
  /**
53
68
  */
54
69
  deploymentsPost(requestParameters: DeploymentsPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DeploymentItemDto>;
70
+ /**
71
+ */
72
+ deploymentsRunRaw(requestParameters: DeploymentsRunRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DeploymentRunResponse>>;
73
+ /**
74
+ */
75
+ deploymentsRun(requestParameters: DeploymentsRunRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DeploymentRunResponse>;
55
76
  /**
56
77
  */
57
78
  deploymentsUpgradeRaw(requestParameters: DeploymentsUpgradeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DeploymentItemDto>>;
@@ -0,0 +1,31 @@
1
+ /**
2
+ * UiPath.AutomationSolutionsService.WebApi 1.0
3
+ * Solutions API
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ */
16
+ export declare const DeploymentResourceValidationAction: {
17
+ readonly RenameExisting: 'RenameExisting';
18
+ readonly RenameInSolution: 'RenameInSolution';
19
+ readonly UseExisting: 'UseExisting';
20
+ readonly FixConfiguration: 'FixConfiguration';
21
+ readonly Delete: 'Delete';
22
+ readonly SkipDelete: 'SkipDelete';
23
+ readonly MergeConfiguration: 'MergeConfiguration';
24
+ readonly Replace: 'Replace';
25
+ };
26
+ export type DeploymentResourceValidationAction = typeof DeploymentResourceValidationAction[keyof typeof DeploymentResourceValidationAction];
27
+ export declare function instanceOfDeploymentResourceValidationAction(value: any): boolean;
28
+ export declare function DeploymentResourceValidationActionFromJSON(json: any): DeploymentResourceValidationAction;
29
+ export declare function DeploymentResourceValidationActionFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeploymentResourceValidationAction;
30
+ export declare function DeploymentResourceValidationActionToJSON(value?: DeploymentResourceValidationAction | null): any;
31
+ export declare function DeploymentResourceValidationActionToJSONTyped(value: any, ignoreDiscriminator: boolean): DeploymentResourceValidationAction;
@@ -0,0 +1,25 @@
1
+ /**
2
+ * UiPath.AutomationSolutionsService.WebApi 1.0
3
+ * Solutions API
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ */
16
+ export declare const DeploymentResourceValidationErrorKind: {
17
+ readonly Conflict: 'Conflict';
18
+ readonly ConfigurationError: 'ConfigurationError';
19
+ };
20
+ export type DeploymentResourceValidationErrorKind = typeof DeploymentResourceValidationErrorKind[keyof typeof DeploymentResourceValidationErrorKind];
21
+ export declare function instanceOfDeploymentResourceValidationErrorKind(value: any): boolean;
22
+ export declare function DeploymentResourceValidationErrorKindFromJSON(json: any): DeploymentResourceValidationErrorKind;
23
+ export declare function DeploymentResourceValidationErrorKindFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeploymentResourceValidationErrorKind;
24
+ export declare function DeploymentResourceValidationErrorKindToJSON(value?: DeploymentResourceValidationErrorKind | null): any;
25
+ export declare function DeploymentResourceValidationErrorKindToJSONTyped(value: any, ignoreDiscriminator: boolean): DeploymentResourceValidationErrorKind;
@@ -0,0 +1,26 @@
1
+ /**
2
+ * UiPath.AutomationSolutionsService.WebApi 1.0
3
+ * Solutions API
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ */
16
+ export declare const DeploymentResourceValidationErrorLevel: {
17
+ readonly Error: 'Error';
18
+ readonly Warning: 'Warning';
19
+ readonly Info: 'Info';
20
+ };
21
+ export type DeploymentResourceValidationErrorLevel = typeof DeploymentResourceValidationErrorLevel[keyof typeof DeploymentResourceValidationErrorLevel];
22
+ export declare function instanceOfDeploymentResourceValidationErrorLevel(value: any): boolean;
23
+ export declare function DeploymentResourceValidationErrorLevelFromJSON(json: any): DeploymentResourceValidationErrorLevel;
24
+ export declare function DeploymentResourceValidationErrorLevelFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeploymentResourceValidationErrorLevel;
25
+ export declare function DeploymentResourceValidationErrorLevelToJSON(value?: DeploymentResourceValidationErrorLevel | null): any;
26
+ export declare function DeploymentResourceValidationErrorLevelToJSONTyped(value: any, ignoreDiscriminator: boolean): DeploymentResourceValidationErrorLevel;
@@ -0,0 +1,51 @@
1
+ /**
2
+ * UiPath.AutomationSolutionsService.WebApi 1.0
3
+ * Solutions API
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { ServiceMessage } from './ServiceMessage';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface DeploymentRunResponse
17
+ */
18
+ export interface DeploymentRunResponse {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof DeploymentRunResponse
23
+ */
24
+ instanceId?: string | null;
25
+ /**
26
+ *
27
+ * @type {boolean}
28
+ * @memberof DeploymentRunResponse
29
+ */
30
+ scheduled: boolean;
31
+ /**
32
+ *
33
+ * @type {Array<ServiceMessage>}
34
+ * @memberof DeploymentRunResponse
35
+ */
36
+ errors: Array<ServiceMessage>;
37
+ /**
38
+ *
39
+ * @type {boolean}
40
+ * @memberof DeploymentRunResponse
41
+ */
42
+ complete: boolean;
43
+ }
44
+ /**
45
+ * Check if a given object implements the DeploymentRunResponse interface.
46
+ */
47
+ export declare function instanceOfDeploymentRunResponse(value: object): value is DeploymentRunResponse;
48
+ export declare function DeploymentRunResponseFromJSON(json: any): DeploymentRunResponse;
49
+ export declare function DeploymentRunResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeploymentRunResponse;
50
+ export declare function DeploymentRunResponseToJSON(json: any): DeploymentRunResponse;
51
+ export declare function DeploymentRunResponseToJSONTyped(value?: DeploymentRunResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,46 @@
1
+ /**
2
+ * UiPath.AutomationSolutionsService.WebApi 1.0
3
+ * Solutions API
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { ServiceMessage } from './ServiceMessage';
13
+ import type { ResourceValidationDto } from './ResourceValidationDto';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface DeploymentValidationResultDto
18
+ */
19
+ export interface DeploymentValidationResultDto {
20
+ /**
21
+ *
22
+ * @type {boolean}
23
+ * @memberof DeploymentValidationResultDto
24
+ */
25
+ success?: boolean | null;
26
+ /**
27
+ *
28
+ * @type {Array<ServiceMessage>}
29
+ * @memberof DeploymentValidationResultDto
30
+ */
31
+ validationErrors: Array<ServiceMessage>;
32
+ /**
33
+ *
34
+ * @type {Array<ResourceValidationDto>}
35
+ * @memberof DeploymentValidationResultDto
36
+ */
37
+ resourceValidationErrors: Array<ResourceValidationDto>;
38
+ }
39
+ /**
40
+ * Check if a given object implements the DeploymentValidationResultDto interface.
41
+ */
42
+ export declare function instanceOfDeploymentValidationResultDto(value: object): value is DeploymentValidationResultDto;
43
+ export declare function DeploymentValidationResultDtoFromJSON(json: any): DeploymentValidationResultDto;
44
+ export declare function DeploymentValidationResultDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeploymentValidationResultDto;
45
+ export declare function DeploymentValidationResultDtoToJSON(json: any): DeploymentValidationResultDto;
46
+ export declare function DeploymentValidationResultDtoToJSONTyped(value?: DeploymentValidationResultDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,63 @@
1
+ /**
2
+ * UiPath.AutomationSolutionsService.WebApi 1.0
3
+ * Solutions API
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { ResourceValidationError } from './ResourceValidationError';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ResourceValidationDto
17
+ */
18
+ export interface ResourceValidationDto {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof ResourceValidationDto
23
+ */
24
+ key: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof ResourceValidationDto
29
+ */
30
+ name: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof ResourceValidationDto
35
+ */
36
+ kind: string;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof ResourceValidationDto
41
+ */
42
+ serviceName: string;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof ResourceValidationDto
47
+ */
48
+ type?: string | null;
49
+ /**
50
+ *
51
+ * @type {Array<ResourceValidationError>}
52
+ * @memberof ResourceValidationDto
53
+ */
54
+ errors: Array<ResourceValidationError>;
55
+ }
56
+ /**
57
+ * Check if a given object implements the ResourceValidationDto interface.
58
+ */
59
+ export declare function instanceOfResourceValidationDto(value: object): value is ResourceValidationDto;
60
+ export declare function ResourceValidationDtoFromJSON(json: any): ResourceValidationDto;
61
+ export declare function ResourceValidationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ResourceValidationDto;
62
+ export declare function ResourceValidationDtoToJSON(json: any): ResourceValidationDto;
63
+ export declare function ResourceValidationDtoToJSONTyped(value?: ResourceValidationDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,77 @@
1
+ /**
2
+ * UiPath.AutomationSolutionsService.WebApi 1.0
3
+ * Solutions API
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { DeploymentResourceValidationErrorKind } from './DeploymentResourceValidationErrorKind';
13
+ import type { DeploymentResourceValidationAction } from './DeploymentResourceValidationAction';
14
+ import type { DeploymentResourceValidationErrorLevel } from './DeploymentResourceValidationErrorLevel';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface ResourceValidationError
19
+ */
20
+ export interface ResourceValidationError {
21
+ /**
22
+ *
23
+ * @type {string}
24
+ * @memberof ResourceValidationError
25
+ */
26
+ resource: string;
27
+ /**
28
+ *
29
+ * @type {string}
30
+ * @memberof ResourceValidationError
31
+ */
32
+ text: string;
33
+ /**
34
+ *
35
+ * @type {Array<string>}
36
+ * @memberof ResourceValidationError
37
+ */
38
+ parameters: Array<string>;
39
+ /**
40
+ *
41
+ * @type {string}
42
+ * @memberof ResourceValidationError
43
+ */
44
+ errorCode?: string | null;
45
+ /**
46
+ *
47
+ * @type {DeploymentResourceValidationErrorKind}
48
+ * @memberof ResourceValidationError
49
+ */
50
+ kind: DeploymentResourceValidationErrorKind;
51
+ /**
52
+ *
53
+ * @type {DeploymentResourceValidationErrorLevel}
54
+ * @memberof ResourceValidationError
55
+ */
56
+ level: DeploymentResourceValidationErrorLevel;
57
+ /**
58
+ *
59
+ * @type {string}
60
+ * @memberof ResourceValidationError
61
+ */
62
+ propertyName?: string | null;
63
+ /**
64
+ *
65
+ * @type {Array<DeploymentResourceValidationAction>}
66
+ * @memberof ResourceValidationError
67
+ */
68
+ allowedActions: Array<DeploymentResourceValidationAction>;
69
+ }
70
+ /**
71
+ * Check if a given object implements the ResourceValidationError interface.
72
+ */
73
+ export declare function instanceOfResourceValidationError(value: object): value is ResourceValidationError;
74
+ export declare function ResourceValidationErrorFromJSON(json: any): ResourceValidationError;
75
+ export declare function ResourceValidationErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): ResourceValidationError;
76
+ export declare function ResourceValidationErrorToJSON(json: any): ResourceValidationError;
77
+ export declare function ResourceValidationErrorToJSONTyped(value?: ResourceValidationError | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
1
+ /**
2
+ * UiPath.AutomationSolutionsService.WebApi 1.0
3
+ * Solutions API
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ServiceMessage
16
+ */
17
+ export interface ServiceMessage {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ServiceMessage
22
+ */
23
+ resource: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ServiceMessage
28
+ */
29
+ text: string;
30
+ /**
31
+ *
32
+ * @type {Array<string>}
33
+ * @memberof ServiceMessage
34
+ */
35
+ parameters: Array<string>;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ServiceMessage
40
+ */
41
+ errorCode?: string | null;
42
+ }
43
+ /**
44
+ * Check if a given object implements the ServiceMessage interface.
45
+ */
46
+ export declare function instanceOfServiceMessage(value: object): value is ServiceMessage;
47
+ export declare function ServiceMessageFromJSON(json: any): ServiceMessage;
48
+ export declare function ServiceMessageFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServiceMessage;
49
+ export declare function ServiceMessageToJSON(json: any): ServiceMessage;
50
+ export declare function ServiceMessageToJSONTyped(value?: ServiceMessage | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,28 @@
1
+ /**
2
+ * UiPath.AutomationSolutionsService.WebApi 1.0
3
+ * Solutions API
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ */
16
+ export declare const SolutionDeploymentAction: {
17
+ readonly Install: 'Install';
18
+ readonly Uninstall: 'Uninstall';
19
+ readonly Upgrade: 'Upgrade';
20
+ readonly Rollback: 'Rollback';
21
+ readonly Activate: 'Activate';
22
+ };
23
+ export type SolutionDeploymentAction = typeof SolutionDeploymentAction[keyof typeof SolutionDeploymentAction];
24
+ export declare function instanceOfSolutionDeploymentAction(value: any): boolean;
25
+ export declare function SolutionDeploymentActionFromJSON(json: any): SolutionDeploymentAction;
26
+ export declare function SolutionDeploymentActionFromJSONTyped(json: any, ignoreDiscriminator: boolean): SolutionDeploymentAction;
27
+ export declare function SolutionDeploymentActionToJSON(value?: SolutionDeploymentAction | null): any;
28
+ export declare function SolutionDeploymentActionToJSONTyped(value: any, ignoreDiscriminator: boolean): SolutionDeploymentAction;
@@ -7,11 +7,16 @@ export * from './DeploymentItemDto';
7
7
  export * from './DeploymentOperation';
8
8
  export * from './DeploymentOperationStatus';
9
9
  export * from './DeploymentRequest';
10
+ export * from './DeploymentResourceValidationAction';
11
+ export * from './DeploymentResourceValidationErrorKind';
12
+ export * from './DeploymentResourceValidationErrorLevel';
13
+ export * from './DeploymentRunResponse';
10
14
  export * from './DeploymentSearchItemDto2';
11
15
  export * from './DeploymentStatus';
12
16
  export * from './DeploymentType';
13
17
  export * from './DeploymentUpgradeRequest';
14
18
  export * from './DeploymentUpgradeType';
19
+ export * from './DeploymentValidationResultDto';
15
20
  export * from './DeploymentsSearchRequest2';
16
21
  export * from './ExtendedPackageVersionState';
17
22
  export * from './FolderInfo';
@@ -32,7 +37,11 @@ export * from './ProjectDto';
32
37
  export * from './ProjectImportStatus';
33
38
  export * from './ResourceOverwrite';
34
39
  export * from './ResourceStats';
40
+ export * from './ResourceValidationDto';
41
+ export * from './ResourceValidationError';
35
42
  export * from './ResponseDictionaryDto';
36
43
  export * from './RuntimeSetup';
37
44
  export * from './SearchFilter';
45
+ export * from './ServiceMessage';
46
+ export * from './SolutionDeploymentAction';
38
47
  export * from './WorkflowAction';