@kommerz/ts-client 1.169.6 → 1.170.1
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/dist/apis/AbsenceEntriesApi.d.ts +2 -2
- package/dist/apis/AbsenceTypesApi.d.ts +2 -2
- package/dist/apis/AcceptanceDocumentsApi.d.ts +2 -2
- package/dist/apis/AccessTokensApi.d.ts +2 -2
- package/dist/apis/AccountingLedgersApi.d.ts +2 -2
- package/dist/apis/AccountingReceiptsApi.d.ts +2 -2
- package/dist/apis/AccountingSettlementsApi.d.ts +2 -2
- package/dist/apis/AccountingTransactionsApi.d.ts +2 -2
- package/dist/apis/AccountingTurnoversApi.d.ts +2 -2
- package/dist/apis/ActivitiesApi.d.ts +2 -2
- package/dist/apis/ApprovalEntriesApi.d.ts +2 -2
- package/dist/apis/ApprovalTypesApi.d.ts +2 -2
- package/dist/apis/BankingAccountsApi.d.ts +2 -2
- package/dist/apis/BankingRegistrationsApi.d.ts +2 -2
- package/dist/apis/CalendarEntriesApi.d.ts +2 -2
- package/dist/apis/CalendarEntryTypesApi.d.ts +2 -2
- package/dist/apis/CommentsApi.d.ts +2 -2
- package/dist/apis/ConfigurationsApi.d.ts +2 -2
- package/dist/apis/ContractStatusApi.d.ts +2 -2
- package/dist/apis/ContractTypesApi.d.ts +2 -2
- package/dist/apis/ContractsApi.d.ts +2 -2
- package/dist/apis/CustomersApi.d.ts +2 -2
- package/dist/apis/CustomersBankdetailsApi.d.ts +2 -2
- package/dist/apis/DataTableRowsApi.d.ts +2 -2
- package/dist/apis/DataTablesApi.d.ts +2 -2
- package/dist/apis/DeliveryNotesApi.d.ts +2 -2
- package/dist/apis/DesignTemplatesApi.d.ts +2 -2
- package/dist/apis/DocumentTemplatesApi.d.ts +2 -2
- package/dist/apis/DunningLettersApi.d.ts +2 -2
- package/dist/apis/EditorTypeApi.d.ts +2 -2
- package/dist/apis/FileDirectoriesApi.d.ts +2 -2
- package/dist/apis/FileDirectorySharesApi.d.ts +2 -2
- package/dist/apis/FileTagsApi.d.ts +2 -2
- package/dist/apis/FilesApi.d.ts +2 -2
- package/dist/apis/HolidaysApi.d.ts +2 -2
- package/dist/apis/HospitalityReceiptsApi.d.ts +2 -2
- package/dist/apis/InboxEmailsApi.d.ts +2 -2
- package/dist/apis/InvoicesApi.d.ts +2 -2
- package/dist/apis/JobsApi.d.ts +2 -2
- package/dist/apis/KanbanBoardsApi.d.ts +2 -2
- package/dist/apis/KanbanCardsApi.d.ts +2 -2
- package/dist/apis/KanbanColumnsApi.d.ts +2 -2
- package/dist/apis/MentionsApi.d.ts +2 -2
- package/dist/apis/NotificationsApi.d.ts +2 -2
- package/dist/apis/OffersApi.d.ts +2 -2
- package/dist/apis/OkrKeyresultsApi.d.ts +2 -2
- package/dist/apis/OkrObjectivesApi.d.ts +2 -2
- package/dist/apis/PaymentSubscriptionsApi.d.ts +2 -2
- package/dist/apis/PaymentsPaymentsApi.d.ts +2 -2
- package/dist/apis/PresenceEntriesApi.d.ts +2 -2
- package/dist/apis/PresenceTypesApi.d.ts +2 -2
- package/dist/apis/ReferencesApi.d.ts +2 -2
- package/dist/apis/RolesApi.d.ts +2 -2
- package/dist/apis/ServiceDeskMessageApi.d.ts +1 -1
- package/dist/apis/ServiceDeskMessageApi.js +2 -2
- package/dist/apis/TagRelationsApi.d.ts +2 -2
- package/dist/apis/TagsApi.d.ts +3 -3
- package/dist/apis/TenantsApi.d.ts +2 -2
- package/dist/apis/TextModulesApi.d.ts +2 -2
- package/dist/apis/UnitsApi.d.ts +2 -2
- package/dist/apis/UsersApi.d.ts +2 -2
- package/dist/apis/WikiApi.d.ts +2 -2
- package/dist/apis/WikiPagesApi.d.ts +2 -2
- package/dist/apis/WorkHoursApi.d.ts +2 -2
- package/dist/apis/WorkflowExecutionsApi.d.ts +2 -2
- package/dist/apis/WorkflowExternalTasksApi.d.ts +2 -2
- package/dist/apis/WorkflowProcessesApi.d.ts +2 -2
- package/dist/apis/WorkflowsApi.d.ts +2 -2
- package/dist/apis/WritingsApi.d.ts +2 -2
- package/dist/models/AccountingReceiptItemDto.d.ts +6 -0
- package/dist/models/AccountingReceiptItemDto.js +2 -0
- package/dist/models/{ColamdaPageable.d.ts → KommerzPageable.d.ts} +11 -11
- package/dist/models/{ColamdaPageable.js → KommerzPageable.js} +13 -13
- package/dist/models/index.d.ts +1 -1
- package/dist/models/index.js +1 -1
- package/package.json +1 -1
- package/dist/models/GetAllWorkflowProcessLogs200Response.d.ts +0 -50
- package/dist/models/GetAllWorkflowProcessLogs200Response.js +0 -59
- package/dist/models/WorkflowExternalTask.d.ts +0 -61
- package/dist/models/WorkflowExternalTask.js +0 -66
|
@@ -11,33 +11,33 @@
|
|
|
11
11
|
/**
|
|
12
12
|
*
|
|
13
13
|
* @export
|
|
14
|
-
* @interface
|
|
14
|
+
* @interface KommerzPageable
|
|
15
15
|
*/
|
|
16
|
-
export interface
|
|
16
|
+
export interface KommerzPageable {
|
|
17
17
|
/**
|
|
18
18
|
* index of page that is requested
|
|
19
19
|
* @type {number}
|
|
20
|
-
* @memberof
|
|
20
|
+
* @memberof KommerzPageable
|
|
21
21
|
*/
|
|
22
22
|
pageNumber?: number;
|
|
23
23
|
/**
|
|
24
24
|
* size of page that is returned
|
|
25
25
|
* @type {number}
|
|
26
|
-
* @memberof
|
|
26
|
+
* @memberof KommerzPageable
|
|
27
27
|
*/
|
|
28
28
|
pageSize?: number;
|
|
29
29
|
/**
|
|
30
30
|
* sorting of the page that is returned
|
|
31
31
|
* @type {Array<string>}
|
|
32
|
-
* @memberof
|
|
32
|
+
* @memberof KommerzPageable
|
|
33
33
|
*/
|
|
34
34
|
sort?: Array<string>;
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
|
-
* Check if a given object implements the
|
|
37
|
+
* Check if a given object implements the KommerzPageable interface.
|
|
38
38
|
*/
|
|
39
|
-
export declare function
|
|
40
|
-
export declare function
|
|
41
|
-
export declare function
|
|
42
|
-
export declare function
|
|
43
|
-
export declare function
|
|
39
|
+
export declare function instanceOfKommerzPageable(value: object): value is KommerzPageable;
|
|
40
|
+
export declare function KommerzPageableFromJSON(json: any): KommerzPageable;
|
|
41
|
+
export declare function KommerzPageableFromJSONTyped(json: any, ignoreDiscriminator: boolean): KommerzPageable;
|
|
42
|
+
export declare function KommerzPageableToJSON(json: any): KommerzPageable;
|
|
43
|
+
export declare function KommerzPageableToJSONTyped(value?: KommerzPageable | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -12,21 +12,21 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
15
|
+
exports.instanceOfKommerzPageable = instanceOfKommerzPageable;
|
|
16
|
+
exports.KommerzPageableFromJSON = KommerzPageableFromJSON;
|
|
17
|
+
exports.KommerzPageableFromJSONTyped = KommerzPageableFromJSONTyped;
|
|
18
|
+
exports.KommerzPageableToJSON = KommerzPageableToJSON;
|
|
19
|
+
exports.KommerzPageableToJSONTyped = KommerzPageableToJSONTyped;
|
|
20
20
|
/**
|
|
21
|
-
* Check if a given object implements the
|
|
21
|
+
* Check if a given object implements the KommerzPageable interface.
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function instanceOfKommerzPageable(value) {
|
|
24
24
|
return true;
|
|
25
25
|
}
|
|
26
|
-
function
|
|
27
|
-
return
|
|
26
|
+
function KommerzPageableFromJSON(json) {
|
|
27
|
+
return KommerzPageableFromJSONTyped(json, false);
|
|
28
28
|
}
|
|
29
|
-
function
|
|
29
|
+
function KommerzPageableFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
30
|
if (json == null) {
|
|
31
31
|
return json;
|
|
32
32
|
}
|
|
@@ -36,10 +36,10 @@ function ColamdaPageableFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
36
|
'sort': json['sort'] == null ? undefined : json['sort'],
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
|
-
function
|
|
40
|
-
return
|
|
39
|
+
function KommerzPageableToJSON(json) {
|
|
40
|
+
return KommerzPageableToJSONTyped(json, false);
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function KommerzPageableToJSONTyped(value, ignoreDiscriminator) {
|
|
43
43
|
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
44
44
|
if (value == null) {
|
|
45
45
|
return value;
|
package/dist/models/index.d.ts
CHANGED
|
@@ -51,7 +51,6 @@ export * from './CalendarEntryDto';
|
|
|
51
51
|
export * from './CalendarEntryTypeDto';
|
|
52
52
|
export * from './CenterStatementDto';
|
|
53
53
|
export * from './ChannelIdType';
|
|
54
|
-
export * from './ColamdaPageable';
|
|
55
54
|
export * from './CommentDto';
|
|
56
55
|
export * from './ConfigKey';
|
|
57
56
|
export * from './ConfigurationDto';
|
|
@@ -191,6 +190,7 @@ export * from './JobDto';
|
|
|
191
190
|
export * from './KanbanBoardDto';
|
|
192
191
|
export * from './KanbanCardDto';
|
|
193
192
|
export * from './KanbanColumnDto';
|
|
193
|
+
export * from './KommerzPageable';
|
|
194
194
|
export * from './LedgerStatementDto';
|
|
195
195
|
export * from './LegalInfoDto';
|
|
196
196
|
export * from './ListAllTenants200Response';
|
package/dist/models/index.js
CHANGED
|
@@ -69,7 +69,6 @@ __exportStar(require("./CalendarEntryDto"), exports);
|
|
|
69
69
|
__exportStar(require("./CalendarEntryTypeDto"), exports);
|
|
70
70
|
__exportStar(require("./CenterStatementDto"), exports);
|
|
71
71
|
__exportStar(require("./ChannelIdType"), exports);
|
|
72
|
-
__exportStar(require("./ColamdaPageable"), exports);
|
|
73
72
|
__exportStar(require("./CommentDto"), exports);
|
|
74
73
|
__exportStar(require("./ConfigKey"), exports);
|
|
75
74
|
__exportStar(require("./ConfigurationDto"), exports);
|
|
@@ -209,6 +208,7 @@ __exportStar(require("./JobDto"), exports);
|
|
|
209
208
|
__exportStar(require("./KanbanBoardDto"), exports);
|
|
210
209
|
__exportStar(require("./KanbanCardDto"), exports);
|
|
211
210
|
__exportStar(require("./KanbanColumnDto"), exports);
|
|
211
|
+
__exportStar(require("./KommerzPageable"), exports);
|
|
212
212
|
__exportStar(require("./LedgerStatementDto"), exports);
|
|
213
213
|
__exportStar(require("./LegalInfoDto"), exports);
|
|
214
214
|
__exportStar(require("./ListAllTenants200Response"), exports);
|
package/package.json
CHANGED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Kommerz API Specification
|
|
3
|
-
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
4
|
-
*
|
|
5
|
-
* Contact: info@kommerz.app
|
|
6
|
-
*
|
|
7
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
-
* https://openapi-generator.tech
|
|
9
|
-
* Do not edit the class manually.
|
|
10
|
-
*/
|
|
11
|
-
import type { WorkflowExecutionDto } from './WorkflowExecutionDto';
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface GetAllWorkflowProcessLogs200Response
|
|
16
|
-
*/
|
|
17
|
-
export interface GetAllWorkflowProcessLogs200Response {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof GetAllWorkflowProcessLogs200Response
|
|
22
|
-
*/
|
|
23
|
-
pageNumber?: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof GetAllWorkflowProcessLogs200Response
|
|
28
|
-
*/
|
|
29
|
-
pageSize?: number;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof GetAllWorkflowProcessLogs200Response
|
|
34
|
-
*/
|
|
35
|
-
totalElements: number;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {Array<WorkflowExecutionDto>}
|
|
39
|
-
* @memberof GetAllWorkflowProcessLogs200Response
|
|
40
|
-
*/
|
|
41
|
-
content: Array<WorkflowExecutionDto>;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Check if a given object implements the GetAllWorkflowProcessLogs200Response interface.
|
|
45
|
-
*/
|
|
46
|
-
export declare function instanceOfGetAllWorkflowProcessLogs200Response(value: object): value is GetAllWorkflowProcessLogs200Response;
|
|
47
|
-
export declare function GetAllWorkflowProcessLogs200ResponseFromJSON(json: any): GetAllWorkflowProcessLogs200Response;
|
|
48
|
-
export declare function GetAllWorkflowProcessLogs200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAllWorkflowProcessLogs200Response;
|
|
49
|
-
export declare function GetAllWorkflowProcessLogs200ResponseToJSON(json: any): GetAllWorkflowProcessLogs200Response;
|
|
50
|
-
export declare function GetAllWorkflowProcessLogs200ResponseToJSONTyped(value?: GetAllWorkflowProcessLogs200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Kommerz API Specification
|
|
6
|
-
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
7
|
-
*
|
|
8
|
-
* Contact: info@kommerz.app
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.instanceOfGetAllWorkflowProcessLogs200Response = instanceOfGetAllWorkflowProcessLogs200Response;
|
|
16
|
-
exports.GetAllWorkflowProcessLogs200ResponseFromJSON = GetAllWorkflowProcessLogs200ResponseFromJSON;
|
|
17
|
-
exports.GetAllWorkflowProcessLogs200ResponseFromJSONTyped = GetAllWorkflowProcessLogs200ResponseFromJSONTyped;
|
|
18
|
-
exports.GetAllWorkflowProcessLogs200ResponseToJSON = GetAllWorkflowProcessLogs200ResponseToJSON;
|
|
19
|
-
exports.GetAllWorkflowProcessLogs200ResponseToJSONTyped = GetAllWorkflowProcessLogs200ResponseToJSONTyped;
|
|
20
|
-
var WorkflowExecutionDto_1 = require("./WorkflowExecutionDto");
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the GetAllWorkflowProcessLogs200Response interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfGetAllWorkflowProcessLogs200Response(value) {
|
|
25
|
-
if (!('totalElements' in value) || value['totalElements'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('content' in value) || value['content'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
return true;
|
|
30
|
-
}
|
|
31
|
-
function GetAllWorkflowProcessLogs200ResponseFromJSON(json) {
|
|
32
|
-
return GetAllWorkflowProcessLogs200ResponseFromJSONTyped(json, false);
|
|
33
|
-
}
|
|
34
|
-
function GetAllWorkflowProcessLogs200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if (json == null) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'pageNumber': json['pageNumber'] == null ? undefined : json['pageNumber'],
|
|
40
|
-
'pageSize': json['pageSize'] == null ? undefined : json['pageSize'],
|
|
41
|
-
'totalElements': json['totalElements'],
|
|
42
|
-
'content': (json['content'].map(WorkflowExecutionDto_1.WorkflowExecutionDtoFromJSON)),
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
function GetAllWorkflowProcessLogs200ResponseToJSON(json) {
|
|
46
|
-
return GetAllWorkflowProcessLogs200ResponseToJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
function GetAllWorkflowProcessLogs200ResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
-
if (value == null) {
|
|
51
|
-
return value;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
'pageNumber': value['pageNumber'],
|
|
55
|
-
'pageSize': value['pageSize'],
|
|
56
|
-
'totalElements': value['totalElements'],
|
|
57
|
-
'content': (value['content'].map(WorkflowExecutionDto_1.WorkflowExecutionDtoToJSON)),
|
|
58
|
-
};
|
|
59
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Kommerz API Specification
|
|
3
|
-
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
4
|
-
*
|
|
5
|
-
* Contact: info@kommerz.app
|
|
6
|
-
*
|
|
7
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
-
* https://openapi-generator.tech
|
|
9
|
-
* Do not edit the class manually.
|
|
10
|
-
*/
|
|
11
|
-
/**
|
|
12
|
-
*
|
|
13
|
-
* @export
|
|
14
|
-
* @interface WorkflowExternalTask
|
|
15
|
-
*/
|
|
16
|
-
export interface WorkflowExternalTask {
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
* @type {string}
|
|
20
|
-
* @memberof WorkflowExternalTask
|
|
21
|
-
*/
|
|
22
|
-
id?: string;
|
|
23
|
-
/**
|
|
24
|
-
*
|
|
25
|
-
* @type {number}
|
|
26
|
-
* @memberof WorkflowExternalTask
|
|
27
|
-
*/
|
|
28
|
-
version?: number;
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof WorkflowExternalTask
|
|
33
|
-
*/
|
|
34
|
-
workflowId: string;
|
|
35
|
-
/**
|
|
36
|
-
*
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof WorkflowExternalTask
|
|
39
|
-
*/
|
|
40
|
-
name: string;
|
|
41
|
-
/**
|
|
42
|
-
* unique name within workflow used to reference task from workflow process during execution
|
|
43
|
-
* @type {string}
|
|
44
|
-
* @memberof WorkflowExternalTask
|
|
45
|
-
*/
|
|
46
|
-
taskId: string;
|
|
47
|
-
/**
|
|
48
|
-
*
|
|
49
|
-
* @type {string}
|
|
50
|
-
* @memberof WorkflowExternalTask
|
|
51
|
-
*/
|
|
52
|
-
script: string;
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* Check if a given object implements the WorkflowExternalTask interface.
|
|
56
|
-
*/
|
|
57
|
-
export declare function instanceOfWorkflowExternalTask(value: object): value is WorkflowExternalTask;
|
|
58
|
-
export declare function WorkflowExternalTaskFromJSON(json: any): WorkflowExternalTask;
|
|
59
|
-
export declare function WorkflowExternalTaskFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkflowExternalTask;
|
|
60
|
-
export declare function WorkflowExternalTaskToJSON(json: any): WorkflowExternalTask;
|
|
61
|
-
export declare function WorkflowExternalTaskToJSONTyped(value?: WorkflowExternalTask | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Kommerz API Specification
|
|
6
|
-
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
7
|
-
*
|
|
8
|
-
* Contact: info@kommerz.app
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.instanceOfWorkflowExternalTask = instanceOfWorkflowExternalTask;
|
|
16
|
-
exports.WorkflowExternalTaskFromJSON = WorkflowExternalTaskFromJSON;
|
|
17
|
-
exports.WorkflowExternalTaskFromJSONTyped = WorkflowExternalTaskFromJSONTyped;
|
|
18
|
-
exports.WorkflowExternalTaskToJSON = WorkflowExternalTaskToJSON;
|
|
19
|
-
exports.WorkflowExternalTaskToJSONTyped = WorkflowExternalTaskToJSONTyped;
|
|
20
|
-
/**
|
|
21
|
-
* Check if a given object implements the WorkflowExternalTask interface.
|
|
22
|
-
*/
|
|
23
|
-
function instanceOfWorkflowExternalTask(value) {
|
|
24
|
-
if (!('workflowId' in value) || value['workflowId'] === undefined)
|
|
25
|
-
return false;
|
|
26
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
if (!('taskId' in value) || value['taskId'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
if (!('script' in value) || value['script'] === undefined)
|
|
31
|
-
return false;
|
|
32
|
-
return true;
|
|
33
|
-
}
|
|
34
|
-
function WorkflowExternalTaskFromJSON(json) {
|
|
35
|
-
return WorkflowExternalTaskFromJSONTyped(json, false);
|
|
36
|
-
}
|
|
37
|
-
function WorkflowExternalTaskFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
-
if (json == null) {
|
|
39
|
-
return json;
|
|
40
|
-
}
|
|
41
|
-
return {
|
|
42
|
-
'id': json['id'] == null ? undefined : json['id'],
|
|
43
|
-
'version': json['version'] == null ? undefined : json['version'],
|
|
44
|
-
'workflowId': json['workflowId'],
|
|
45
|
-
'name': json['name'],
|
|
46
|
-
'taskId': json['taskId'],
|
|
47
|
-
'script': json['script'],
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
function WorkflowExternalTaskToJSON(json) {
|
|
51
|
-
return WorkflowExternalTaskToJSONTyped(json, false);
|
|
52
|
-
}
|
|
53
|
-
function WorkflowExternalTaskToJSONTyped(value, ignoreDiscriminator) {
|
|
54
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
55
|
-
if (value == null) {
|
|
56
|
-
return value;
|
|
57
|
-
}
|
|
58
|
-
return {
|
|
59
|
-
'id': value['id'],
|
|
60
|
-
'version': value['version'],
|
|
61
|
-
'workflowId': value['workflowId'],
|
|
62
|
-
'name': value['name'],
|
|
63
|
-
'taskId': value['taskId'],
|
|
64
|
-
'script': value['script'],
|
|
65
|
-
};
|
|
66
|
-
}
|