@breign/client 1.0.179 → 1.0.180
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/ScheduledTasksApi.d.ts +39 -1
- package/dist/apis/ScheduledTasksApi.js +94 -0
- package/dist/models/AutomationDayCountUio.d.ts +44 -0
- package/dist/models/AutomationDayCountUio.js +58 -0
- package/dist/models/AutomationLastRunUio.d.ts +51 -0
- package/dist/models/AutomationLastRunUio.js +63 -0
- package/dist/models/AutomationListUio.d.ts +46 -0
- package/dist/models/AutomationListUio.js +60 -0
- package/dist/models/AutomationRunDeliveryUio.d.ts +60 -0
- package/dist/models/AutomationRunDeliveryUio.js +72 -0
- package/dist/models/AutomationRunListUio.d.ts +39 -0
- package/dist/models/AutomationRunListUio.js +55 -0
- package/dist/models/AutomationRunOutcomeUio.d.ts +26 -0
- package/dist/models/AutomationRunOutcomeUio.js +52 -0
- package/dist/models/AutomationRunSourceUio.d.ts +108 -0
- package/dist/models/AutomationRunSourceUio.js +82 -0
- package/dist/models/AutomationRunUio.d.ts +126 -0
- package/dist/models/AutomationRunUio.js +114 -0
- package/dist/models/AutomationStatsUio.d.ts +62 -0
- package/dist/models/AutomationStatsUio.js +70 -0
- package/dist/models/AutomationSummaryUio.d.ts +137 -0
- package/dist/models/AutomationSummaryUio.js +126 -0
- package/dist/models/AutomationTriggerKindUio.d.ts +26 -0
- package/dist/models/AutomationTriggerKindUio.js +52 -0
- package/dist/models/index.d.ts +11 -0
- package/dist/models/index.js +11 -0
- package/dist/openapi.json +493 -0
- package/package.json +1 -1
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* brain-client
|
|
6
|
+
* Api ands models for brain-app and brain-app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfAutomationStatsUio = instanceOfAutomationStatsUio;
|
|
17
|
+
exports.AutomationStatsUioFromJSON = AutomationStatsUioFromJSON;
|
|
18
|
+
exports.AutomationStatsUioFromJSONTyped = AutomationStatsUioFromJSONTyped;
|
|
19
|
+
exports.AutomationStatsUioToJSON = AutomationStatsUioToJSON;
|
|
20
|
+
exports.AutomationStatsUioToJSONTyped = AutomationStatsUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AutomationStatsUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAutomationStatsUio(value) {
|
|
25
|
+
if (!('active' in value) || value['active'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('event' in value) || value['event'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('runs24h' in value) || value['runs24h'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('runs7d' in value) || value['runs7d'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('failures7d' in value) || value['failures7d'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('pending' in value) || value['pending'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function AutomationStatsUioFromJSON(json) {
|
|
40
|
+
return AutomationStatsUioFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function AutomationStatsUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'active': json['active'],
|
|
48
|
+
'event': json['event'],
|
|
49
|
+
'runs24h': json['runs24h'],
|
|
50
|
+
'runs7d': json['runs7d'],
|
|
51
|
+
'failures7d': json['failures7d'],
|
|
52
|
+
'pending': json['pending'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
function AutomationStatsUioToJSON(json) {
|
|
56
|
+
return AutomationStatsUioToJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
function AutomationStatsUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
59
|
+
if (value == null) {
|
|
60
|
+
return value;
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
'active': value['active'],
|
|
64
|
+
'event': value['event'],
|
|
65
|
+
'runs24h': value['runs24h'],
|
|
66
|
+
'runs7d': value['runs7d'],
|
|
67
|
+
'failures7d': value['failures7d'],
|
|
68
|
+
'pending': value['pending'],
|
|
69
|
+
};
|
|
70
|
+
}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* brain-client
|
|
3
|
+
* Api ands models for brain-app and brain-app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
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 { TaskScheduleUio } from './TaskScheduleUio';
|
|
13
|
+
import type { AutomationTriggerKindUio } from './AutomationTriggerKindUio';
|
|
14
|
+
import type { AutomationLastRunUio } from './AutomationLastRunUio';
|
|
15
|
+
import type { AutomationDayCountUio } from './AutomationDayCountUio';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AutomationSummaryUio
|
|
20
|
+
*/
|
|
21
|
+
export interface AutomationSummaryUio {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof AutomationSummaryUio
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof AutomationSummaryUio
|
|
32
|
+
*/
|
|
33
|
+
name: string | null;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof AutomationSummaryUio
|
|
38
|
+
*/
|
|
39
|
+
message: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof AutomationSummaryUio
|
|
44
|
+
*/
|
|
45
|
+
agentId: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof AutomationSummaryUio
|
|
50
|
+
*/
|
|
51
|
+
agentName: string | null;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof AutomationSummaryUio
|
|
56
|
+
*/
|
|
57
|
+
mode: AutomationSummaryUioModeEnum;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof AutomationSummaryUio
|
|
62
|
+
*/
|
|
63
|
+
status: AutomationSummaryUioStatusEnum;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {AutomationTriggerKindUio}
|
|
67
|
+
* @memberof AutomationSummaryUio
|
|
68
|
+
*/
|
|
69
|
+
trigger: AutomationTriggerKindUio;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {TaskScheduleUio}
|
|
73
|
+
* @memberof AutomationSummaryUio
|
|
74
|
+
*/
|
|
75
|
+
schedule: TaskScheduleUio | null;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {string}
|
|
79
|
+
* @memberof AutomationSummaryUio
|
|
80
|
+
*/
|
|
81
|
+
timezone: string;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {Date}
|
|
85
|
+
* @memberof AutomationSummaryUio
|
|
86
|
+
*/
|
|
87
|
+
nextRunAt: Date | null;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {string}
|
|
91
|
+
* @memberof AutomationSummaryUio
|
|
92
|
+
*/
|
|
93
|
+
callbackUrl: string | null;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @type {AutomationLastRunUio}
|
|
97
|
+
* @memberof AutomationSummaryUio
|
|
98
|
+
*/
|
|
99
|
+
lastRun: AutomationLastRunUio | null;
|
|
100
|
+
/**
|
|
101
|
+
* The last 7 UTC days, oldest first.
|
|
102
|
+
* @type {Array<AutomationDayCountUio>}
|
|
103
|
+
* @memberof AutomationSummaryUio
|
|
104
|
+
*/
|
|
105
|
+
days: Array<AutomationDayCountUio>;
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @type {number}
|
|
109
|
+
* @memberof AutomationSummaryUio
|
|
110
|
+
*/
|
|
111
|
+
runs7d: number;
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* @export
|
|
115
|
+
*/
|
|
116
|
+
export declare const AutomationSummaryUioModeEnum: {
|
|
117
|
+
readonly Once: "once";
|
|
118
|
+
readonly Recurring: "recurring";
|
|
119
|
+
};
|
|
120
|
+
export type AutomationSummaryUioModeEnum = typeof AutomationSummaryUioModeEnum[keyof typeof AutomationSummaryUioModeEnum];
|
|
121
|
+
/**
|
|
122
|
+
* @export
|
|
123
|
+
*/
|
|
124
|
+
export declare const AutomationSummaryUioStatusEnum: {
|
|
125
|
+
readonly Active: "active";
|
|
126
|
+
readonly Paused: "paused";
|
|
127
|
+
readonly Done: "done";
|
|
128
|
+
};
|
|
129
|
+
export type AutomationSummaryUioStatusEnum = typeof AutomationSummaryUioStatusEnum[keyof typeof AutomationSummaryUioStatusEnum];
|
|
130
|
+
/**
|
|
131
|
+
* Check if a given object implements the AutomationSummaryUio interface.
|
|
132
|
+
*/
|
|
133
|
+
export declare function instanceOfAutomationSummaryUio(value: object): value is AutomationSummaryUio;
|
|
134
|
+
export declare function AutomationSummaryUioFromJSON(json: any): AutomationSummaryUio;
|
|
135
|
+
export declare function AutomationSummaryUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutomationSummaryUio;
|
|
136
|
+
export declare function AutomationSummaryUioToJSON(json: any): AutomationSummaryUio;
|
|
137
|
+
export declare function AutomationSummaryUioToJSONTyped(value?: AutomationSummaryUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* brain-client
|
|
6
|
+
* Api ands models for brain-app and brain-app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.AutomationSummaryUioStatusEnum = exports.AutomationSummaryUioModeEnum = void 0;
|
|
17
|
+
exports.instanceOfAutomationSummaryUio = instanceOfAutomationSummaryUio;
|
|
18
|
+
exports.AutomationSummaryUioFromJSON = AutomationSummaryUioFromJSON;
|
|
19
|
+
exports.AutomationSummaryUioFromJSONTyped = AutomationSummaryUioFromJSONTyped;
|
|
20
|
+
exports.AutomationSummaryUioToJSON = AutomationSummaryUioToJSON;
|
|
21
|
+
exports.AutomationSummaryUioToJSONTyped = AutomationSummaryUioToJSONTyped;
|
|
22
|
+
const TaskScheduleUio_1 = require("./TaskScheduleUio");
|
|
23
|
+
const AutomationTriggerKindUio_1 = require("./AutomationTriggerKindUio");
|
|
24
|
+
const AutomationLastRunUio_1 = require("./AutomationLastRunUio");
|
|
25
|
+
const AutomationDayCountUio_1 = require("./AutomationDayCountUio");
|
|
26
|
+
/**
|
|
27
|
+
* @export
|
|
28
|
+
*/
|
|
29
|
+
exports.AutomationSummaryUioModeEnum = {
|
|
30
|
+
Once: 'once',
|
|
31
|
+
Recurring: 'recurring'
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* @export
|
|
35
|
+
*/
|
|
36
|
+
exports.AutomationSummaryUioStatusEnum = {
|
|
37
|
+
Active: 'active',
|
|
38
|
+
Paused: 'paused',
|
|
39
|
+
Done: 'done'
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Check if a given object implements the AutomationSummaryUio interface.
|
|
43
|
+
*/
|
|
44
|
+
function instanceOfAutomationSummaryUio(value) {
|
|
45
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
46
|
+
return false;
|
|
47
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
48
|
+
return false;
|
|
49
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
50
|
+
return false;
|
|
51
|
+
if (!('agentId' in value) || value['agentId'] === undefined)
|
|
52
|
+
return false;
|
|
53
|
+
if (!('agentName' in value) || value['agentName'] === undefined)
|
|
54
|
+
return false;
|
|
55
|
+
if (!('mode' in value) || value['mode'] === undefined)
|
|
56
|
+
return false;
|
|
57
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
58
|
+
return false;
|
|
59
|
+
if (!('trigger' in value) || value['trigger'] === undefined)
|
|
60
|
+
return false;
|
|
61
|
+
if (!('schedule' in value) || value['schedule'] === undefined)
|
|
62
|
+
return false;
|
|
63
|
+
if (!('timezone' in value) || value['timezone'] === undefined)
|
|
64
|
+
return false;
|
|
65
|
+
if (!('nextRunAt' in value) || value['nextRunAt'] === undefined)
|
|
66
|
+
return false;
|
|
67
|
+
if (!('callbackUrl' in value) || value['callbackUrl'] === undefined)
|
|
68
|
+
return false;
|
|
69
|
+
if (!('lastRun' in value) || value['lastRun'] === undefined)
|
|
70
|
+
return false;
|
|
71
|
+
if (!('days' in value) || value['days'] === undefined)
|
|
72
|
+
return false;
|
|
73
|
+
if (!('runs7d' in value) || value['runs7d'] === undefined)
|
|
74
|
+
return false;
|
|
75
|
+
return true;
|
|
76
|
+
}
|
|
77
|
+
function AutomationSummaryUioFromJSON(json) {
|
|
78
|
+
return AutomationSummaryUioFromJSONTyped(json, false);
|
|
79
|
+
}
|
|
80
|
+
function AutomationSummaryUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
81
|
+
if (json == null) {
|
|
82
|
+
return json;
|
|
83
|
+
}
|
|
84
|
+
return {
|
|
85
|
+
'id': json['id'],
|
|
86
|
+
'name': json['name'],
|
|
87
|
+
'message': json['message'],
|
|
88
|
+
'agentId': json['agentId'],
|
|
89
|
+
'agentName': json['agentName'],
|
|
90
|
+
'mode': json['mode'],
|
|
91
|
+
'status': json['status'],
|
|
92
|
+
'trigger': (0, AutomationTriggerKindUio_1.AutomationTriggerKindUioFromJSON)(json['trigger']),
|
|
93
|
+
'schedule': (0, TaskScheduleUio_1.TaskScheduleUioFromJSON)(json['schedule']),
|
|
94
|
+
'timezone': json['timezone'],
|
|
95
|
+
'nextRunAt': (json['nextRunAt'] == null ? null : new Date(json['nextRunAt'])),
|
|
96
|
+
'callbackUrl': json['callbackUrl'],
|
|
97
|
+
'lastRun': (0, AutomationLastRunUio_1.AutomationLastRunUioFromJSON)(json['lastRun']),
|
|
98
|
+
'days': (json['days'].map(AutomationDayCountUio_1.AutomationDayCountUioFromJSON)),
|
|
99
|
+
'runs7d': json['runs7d'],
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
function AutomationSummaryUioToJSON(json) {
|
|
103
|
+
return AutomationSummaryUioToJSONTyped(json, false);
|
|
104
|
+
}
|
|
105
|
+
function AutomationSummaryUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
106
|
+
if (value == null) {
|
|
107
|
+
return value;
|
|
108
|
+
}
|
|
109
|
+
return {
|
|
110
|
+
'id': value['id'],
|
|
111
|
+
'name': value['name'],
|
|
112
|
+
'message': value['message'],
|
|
113
|
+
'agentId': value['agentId'],
|
|
114
|
+
'agentName': value['agentName'],
|
|
115
|
+
'mode': value['mode'],
|
|
116
|
+
'status': value['status'],
|
|
117
|
+
'trigger': (0, AutomationTriggerKindUio_1.AutomationTriggerKindUioToJSON)(value['trigger']),
|
|
118
|
+
'schedule': (0, TaskScheduleUio_1.TaskScheduleUioToJSON)(value['schedule']),
|
|
119
|
+
'timezone': value['timezone'],
|
|
120
|
+
'nextRunAt': (value['nextRunAt'] == null ? null : value['nextRunAt'].toISOString()),
|
|
121
|
+
'callbackUrl': value['callbackUrl'],
|
|
122
|
+
'lastRun': (0, AutomationLastRunUio_1.AutomationLastRunUioToJSON)(value['lastRun']),
|
|
123
|
+
'days': (value['days'].map(AutomationDayCountUio_1.AutomationDayCountUioToJSON)),
|
|
124
|
+
'runs7d': value['runs7d'],
|
|
125
|
+
};
|
|
126
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* brain-client
|
|
3
|
+
* Api ands models for brain-app and brain-app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
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
|
+
* What starts the automation, as shown in lists — its schedule, a GitLab mention, or its webhook.
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const AutomationTriggerKindUio: {
|
|
17
|
+
readonly Schedule: "schedule";
|
|
18
|
+
readonly Gitlab: "gitlab";
|
|
19
|
+
readonly Webhook: "webhook";
|
|
20
|
+
};
|
|
21
|
+
export type AutomationTriggerKindUio = typeof AutomationTriggerKindUio[keyof typeof AutomationTriggerKindUio];
|
|
22
|
+
export declare function instanceOfAutomationTriggerKindUio(value: any): boolean;
|
|
23
|
+
export declare function AutomationTriggerKindUioFromJSON(json: any): AutomationTriggerKindUio;
|
|
24
|
+
export declare function AutomationTriggerKindUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutomationTriggerKindUio;
|
|
25
|
+
export declare function AutomationTriggerKindUioToJSON(value?: AutomationTriggerKindUio | null): any;
|
|
26
|
+
export declare function AutomationTriggerKindUioToJSONTyped(value: any, ignoreDiscriminator: boolean): AutomationTriggerKindUio;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* brain-client
|
|
6
|
+
* Api ands models for brain-app and brain-app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.AutomationTriggerKindUio = void 0;
|
|
17
|
+
exports.instanceOfAutomationTriggerKindUio = instanceOfAutomationTriggerKindUio;
|
|
18
|
+
exports.AutomationTriggerKindUioFromJSON = AutomationTriggerKindUioFromJSON;
|
|
19
|
+
exports.AutomationTriggerKindUioFromJSONTyped = AutomationTriggerKindUioFromJSONTyped;
|
|
20
|
+
exports.AutomationTriggerKindUioToJSON = AutomationTriggerKindUioToJSON;
|
|
21
|
+
exports.AutomationTriggerKindUioToJSONTyped = AutomationTriggerKindUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* What starts the automation, as shown in lists — its schedule, a GitLab mention, or its webhook.
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.AutomationTriggerKindUio = {
|
|
27
|
+
Schedule: 'schedule',
|
|
28
|
+
Gitlab: 'gitlab',
|
|
29
|
+
Webhook: 'webhook'
|
|
30
|
+
};
|
|
31
|
+
function instanceOfAutomationTriggerKindUio(value) {
|
|
32
|
+
for (const key in exports.AutomationTriggerKindUio) {
|
|
33
|
+
if (Object.prototype.hasOwnProperty.call(exports.AutomationTriggerKindUio, key)) {
|
|
34
|
+
if (exports.AutomationTriggerKindUio[key] === value) {
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return false;
|
|
40
|
+
}
|
|
41
|
+
function AutomationTriggerKindUioFromJSON(json) {
|
|
42
|
+
return AutomationTriggerKindUioFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function AutomationTriggerKindUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
function AutomationTriggerKindUioToJSON(value) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
function AutomationTriggerKindUioToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -181,6 +181,17 @@ export * from './AuthCodeConfirmResponseUio';
|
|
|
181
181
|
export * from './AuthCodeRequestUio';
|
|
182
182
|
export * from './AuthCodeRequestUserUio';
|
|
183
183
|
export * from './AuthCodeResponseUio';
|
|
184
|
+
export * from './AutomationDayCountUio';
|
|
185
|
+
export * from './AutomationLastRunUio';
|
|
186
|
+
export * from './AutomationListUio';
|
|
187
|
+
export * from './AutomationRunDeliveryUio';
|
|
188
|
+
export * from './AutomationRunListUio';
|
|
189
|
+
export * from './AutomationRunOutcomeUio';
|
|
190
|
+
export * from './AutomationRunSourceUio';
|
|
191
|
+
export * from './AutomationRunUio';
|
|
192
|
+
export * from './AutomationStatsUio';
|
|
193
|
+
export * from './AutomationSummaryUio';
|
|
194
|
+
export * from './AutomationTriggerKindUio';
|
|
184
195
|
export * from './AvailableCommandUio';
|
|
185
196
|
export * from './BodyWithIdUio';
|
|
186
197
|
export * from './BodyWithMessageUio';
|
package/dist/models/index.js
CHANGED
|
@@ -199,6 +199,17 @@ __exportStar(require("./AuthCodeConfirmResponseUio"), exports);
|
|
|
199
199
|
__exportStar(require("./AuthCodeRequestUio"), exports);
|
|
200
200
|
__exportStar(require("./AuthCodeRequestUserUio"), exports);
|
|
201
201
|
__exportStar(require("./AuthCodeResponseUio"), exports);
|
|
202
|
+
__exportStar(require("./AutomationDayCountUio"), exports);
|
|
203
|
+
__exportStar(require("./AutomationLastRunUio"), exports);
|
|
204
|
+
__exportStar(require("./AutomationListUio"), exports);
|
|
205
|
+
__exportStar(require("./AutomationRunDeliveryUio"), exports);
|
|
206
|
+
__exportStar(require("./AutomationRunListUio"), exports);
|
|
207
|
+
__exportStar(require("./AutomationRunOutcomeUio"), exports);
|
|
208
|
+
__exportStar(require("./AutomationRunSourceUio"), exports);
|
|
209
|
+
__exportStar(require("./AutomationRunUio"), exports);
|
|
210
|
+
__exportStar(require("./AutomationStatsUio"), exports);
|
|
211
|
+
__exportStar(require("./AutomationSummaryUio"), exports);
|
|
212
|
+
__exportStar(require("./AutomationTriggerKindUio"), exports);
|
|
202
213
|
__exportStar(require("./AvailableCommandUio"), exports);
|
|
203
214
|
__exportStar(require("./BodyWithIdUio"), exports);
|
|
204
215
|
__exportStar(require("./BodyWithMessageUio"), exports);
|