@breign/client 1.0.178 → 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 +116 -1
- package/dist/apis/ScheduledTasksApi.js +286 -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/ScheduledTaskCreateUio.d.ts +1 -1
- package/dist/models/ScheduledTaskRunTriggerUio.d.ts +37 -12
- package/dist/models/ScheduledTaskRunTriggerUio.js +21 -34
- package/dist/models/ScheduledTaskUio.d.ts +8 -1
- package/dist/models/ScheduledTaskUio.js +3 -0
- package/dist/models/TaskTriggerUio.d.ts +8 -1
- package/dist/models/TaskTriggerUio.js +4 -1
- package/dist/models/WebhookEndpointUio.d.ts +82 -0
- package/dist/models/WebhookEndpointUio.js +84 -0
- package/dist/models/WebhookEndpointUpdateUio.d.ts +46 -0
- package/dist/models/WebhookEndpointUpdateUio.js +58 -0
- package/dist/models/WebhookEventListUio.d.ts +33 -0
- package/dist/models/WebhookEventListUio.js +51 -0
- package/dist/models/WebhookEventUio.d.ts +87 -0
- package/dist/models/WebhookEventUio.js +87 -0
- package/dist/models/WebhookTestRequestUio.d.ts +38 -0
- package/dist/models/WebhookTestRequestUio.js +50 -0
- package/dist/models/WebhookTestResponseUio.d.ts +32 -0
- package/dist/models/WebhookTestResponseUio.js +50 -0
- package/dist/models/index.d.ts +17 -0
- package/dist/models/index.js +17 -0
- package/dist/openapi.json +1121 -154
- package/package.json +1 -1
|
@@ -0,0 +1,33 @@
|
|
|
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 { WebhookEventUio } from './WebhookEventUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface WebhookEventListUio
|
|
17
|
+
*/
|
|
18
|
+
export interface WebhookEventListUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<WebhookEventUio>}
|
|
22
|
+
* @memberof WebhookEventListUio
|
|
23
|
+
*/
|
|
24
|
+
events: Array<WebhookEventUio>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the WebhookEventListUio interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfWebhookEventListUio(value: object): value is WebhookEventListUio;
|
|
30
|
+
export declare function WebhookEventListUioFromJSON(json: any): WebhookEventListUio;
|
|
31
|
+
export declare function WebhookEventListUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebhookEventListUio;
|
|
32
|
+
export declare function WebhookEventListUioToJSON(json: any): WebhookEventListUio;
|
|
33
|
+
export declare function WebhookEventListUioToJSONTyped(value?: WebhookEventListUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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.instanceOfWebhookEventListUio = instanceOfWebhookEventListUio;
|
|
17
|
+
exports.WebhookEventListUioFromJSON = WebhookEventListUioFromJSON;
|
|
18
|
+
exports.WebhookEventListUioFromJSONTyped = WebhookEventListUioFromJSONTyped;
|
|
19
|
+
exports.WebhookEventListUioToJSON = WebhookEventListUioToJSON;
|
|
20
|
+
exports.WebhookEventListUioToJSONTyped = WebhookEventListUioToJSONTyped;
|
|
21
|
+
const WebhookEventUio_1 = require("./WebhookEventUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the WebhookEventListUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfWebhookEventListUio(value) {
|
|
26
|
+
if (!('events' in value) || value['events'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function WebhookEventListUioFromJSON(json) {
|
|
31
|
+
return WebhookEventListUioFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function WebhookEventListUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'events': (json['events'].map(WebhookEventUio_1.WebhookEventUioFromJSON)),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function WebhookEventListUioToJSON(json) {
|
|
42
|
+
return WebhookEventListUioToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function WebhookEventListUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'events': (value['events'].map(WebhookEventUio_1.WebhookEventUioToJSON)),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
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 { ExternalEventStatusUio } from './ExternalEventStatusUio';
|
|
13
|
+
/**
|
|
14
|
+
* A call received on the webhook, and where it is in the queue.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface WebhookEventUio
|
|
17
|
+
*/
|
|
18
|
+
export interface WebhookEventUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof WebhookEventUio
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {ExternalEventStatusUio}
|
|
28
|
+
* @memberof WebhookEventUio
|
|
29
|
+
*/
|
|
30
|
+
status: ExternalEventStatusUio;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Date}
|
|
34
|
+
* @memberof WebhookEventUio
|
|
35
|
+
*/
|
|
36
|
+
receivedAt: Date;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Date}
|
|
40
|
+
* @memberof WebhookEventUio
|
|
41
|
+
*/
|
|
42
|
+
finishedAt: Date | null;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {number}
|
|
46
|
+
* @memberof WebhookEventUio
|
|
47
|
+
*/
|
|
48
|
+
attempts: number;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof WebhookEventUio
|
|
53
|
+
*/
|
|
54
|
+
lastError: string | null;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof WebhookEventUio
|
|
59
|
+
*/
|
|
60
|
+
thread: string | null;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof WebhookEventUio
|
|
65
|
+
*/
|
|
66
|
+
contentType: string;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof WebhookEventUio
|
|
71
|
+
*/
|
|
72
|
+
runId: string | null;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof WebhookEventUio
|
|
77
|
+
*/
|
|
78
|
+
conversationId: string | null;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Check if a given object implements the WebhookEventUio interface.
|
|
82
|
+
*/
|
|
83
|
+
export declare function instanceOfWebhookEventUio(value: object): value is WebhookEventUio;
|
|
84
|
+
export declare function WebhookEventUioFromJSON(json: any): WebhookEventUio;
|
|
85
|
+
export declare function WebhookEventUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebhookEventUio;
|
|
86
|
+
export declare function WebhookEventUioToJSON(json: any): WebhookEventUio;
|
|
87
|
+
export declare function WebhookEventUioToJSONTyped(value?: WebhookEventUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,87 @@
|
|
|
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.instanceOfWebhookEventUio = instanceOfWebhookEventUio;
|
|
17
|
+
exports.WebhookEventUioFromJSON = WebhookEventUioFromJSON;
|
|
18
|
+
exports.WebhookEventUioFromJSONTyped = WebhookEventUioFromJSONTyped;
|
|
19
|
+
exports.WebhookEventUioToJSON = WebhookEventUioToJSON;
|
|
20
|
+
exports.WebhookEventUioToJSONTyped = WebhookEventUioToJSONTyped;
|
|
21
|
+
const ExternalEventStatusUio_1 = require("./ExternalEventStatusUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the WebhookEventUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfWebhookEventUio(value) {
|
|
26
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('receivedAt' in value) || value['receivedAt'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('finishedAt' in value) || value['finishedAt'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('attempts' in value) || value['attempts'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('lastError' in value) || value['lastError'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('thread' in value) || value['thread'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('contentType' in value) || value['contentType'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('runId' in value) || value['runId'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('conversationId' in value) || value['conversationId'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
function WebhookEventUioFromJSON(json) {
|
|
49
|
+
return WebhookEventUioFromJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
function WebhookEventUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
52
|
+
if (json == null) {
|
|
53
|
+
return json;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'id': json['id'],
|
|
57
|
+
'status': (0, ExternalEventStatusUio_1.ExternalEventStatusUioFromJSON)(json['status']),
|
|
58
|
+
'receivedAt': (new Date(json['receivedAt'])),
|
|
59
|
+
'finishedAt': (json['finishedAt'] == null ? null : new Date(json['finishedAt'])),
|
|
60
|
+
'attempts': json['attempts'],
|
|
61
|
+
'lastError': json['lastError'],
|
|
62
|
+
'thread': json['thread'],
|
|
63
|
+
'contentType': json['contentType'],
|
|
64
|
+
'runId': json['runId'],
|
|
65
|
+
'conversationId': json['conversationId'],
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
function WebhookEventUioToJSON(json) {
|
|
69
|
+
return WebhookEventUioToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
function WebhookEventUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
72
|
+
if (value == null) {
|
|
73
|
+
return value;
|
|
74
|
+
}
|
|
75
|
+
return {
|
|
76
|
+
'id': value['id'],
|
|
77
|
+
'status': (0, ExternalEventStatusUio_1.ExternalEventStatusUioToJSON)(value['status']),
|
|
78
|
+
'receivedAt': ((value['receivedAt']).toISOString()),
|
|
79
|
+
'finishedAt': (value['finishedAt'] == null ? null : value['finishedAt'].toISOString()),
|
|
80
|
+
'attempts': value['attempts'],
|
|
81
|
+
'lastError': value['lastError'],
|
|
82
|
+
'thread': value['thread'],
|
|
83
|
+
'contentType': value['contentType'],
|
|
84
|
+
'runId': value['runId'],
|
|
85
|
+
'conversationId': value['conversationId'],
|
|
86
|
+
};
|
|
87
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface WebhookTestRequestUio
|
|
16
|
+
*/
|
|
17
|
+
export interface WebhookTestRequestUio {
|
|
18
|
+
/**
|
|
19
|
+
* The JSON body of the test call (default `{"test": true}`).
|
|
20
|
+
* @type {any}
|
|
21
|
+
* @memberof WebhookTestRequestUio
|
|
22
|
+
*/
|
|
23
|
+
body?: any | null;
|
|
24
|
+
/**
|
|
25
|
+
* Sent as `X-Breign-Thread`.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof WebhookTestRequestUio
|
|
28
|
+
*/
|
|
29
|
+
thread?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the WebhookTestRequestUio interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfWebhookTestRequestUio(value: object): value is WebhookTestRequestUio;
|
|
35
|
+
export declare function WebhookTestRequestUioFromJSON(json: any): WebhookTestRequestUio;
|
|
36
|
+
export declare function WebhookTestRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebhookTestRequestUio;
|
|
37
|
+
export declare function WebhookTestRequestUioToJSON(json: any): WebhookTestRequestUio;
|
|
38
|
+
export declare function WebhookTestRequestUioToJSONTyped(value?: WebhookTestRequestUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
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.instanceOfWebhookTestRequestUio = instanceOfWebhookTestRequestUio;
|
|
17
|
+
exports.WebhookTestRequestUioFromJSON = WebhookTestRequestUioFromJSON;
|
|
18
|
+
exports.WebhookTestRequestUioFromJSONTyped = WebhookTestRequestUioFromJSONTyped;
|
|
19
|
+
exports.WebhookTestRequestUioToJSON = WebhookTestRequestUioToJSON;
|
|
20
|
+
exports.WebhookTestRequestUioToJSONTyped = WebhookTestRequestUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the WebhookTestRequestUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfWebhookTestRequestUio(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function WebhookTestRequestUioFromJSON(json) {
|
|
28
|
+
return WebhookTestRequestUioFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function WebhookTestRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'body': json['body'] == null ? undefined : json['body'],
|
|
36
|
+
'thread': json['thread'] == null ? undefined : json['thread'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function WebhookTestRequestUioToJSON(json) {
|
|
40
|
+
return WebhookTestRequestUioToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function WebhookTestRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'body': value['body'],
|
|
48
|
+
'thread': value['thread'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface WebhookTestResponseUio
|
|
16
|
+
*/
|
|
17
|
+
export interface WebhookTestResponseUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof WebhookTestResponseUio
|
|
22
|
+
*/
|
|
23
|
+
eventId: string | null;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the WebhookTestResponseUio interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfWebhookTestResponseUio(value: object): value is WebhookTestResponseUio;
|
|
29
|
+
export declare function WebhookTestResponseUioFromJSON(json: any): WebhookTestResponseUio;
|
|
30
|
+
export declare function WebhookTestResponseUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebhookTestResponseUio;
|
|
31
|
+
export declare function WebhookTestResponseUioToJSON(json: any): WebhookTestResponseUio;
|
|
32
|
+
export declare function WebhookTestResponseUioToJSONTyped(value?: WebhookTestResponseUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
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.instanceOfWebhookTestResponseUio = instanceOfWebhookTestResponseUio;
|
|
17
|
+
exports.WebhookTestResponseUioFromJSON = WebhookTestResponseUioFromJSON;
|
|
18
|
+
exports.WebhookTestResponseUioFromJSONTyped = WebhookTestResponseUioFromJSONTyped;
|
|
19
|
+
exports.WebhookTestResponseUioToJSON = WebhookTestResponseUioToJSON;
|
|
20
|
+
exports.WebhookTestResponseUioToJSONTyped = WebhookTestResponseUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the WebhookTestResponseUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfWebhookTestResponseUio(value) {
|
|
25
|
+
if (!('eventId' in value) || value['eventId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function WebhookTestResponseUioFromJSON(json) {
|
|
30
|
+
return WebhookTestResponseUioFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function WebhookTestResponseUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'eventId': json['eventId'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function WebhookTestResponseUioToJSON(json) {
|
|
41
|
+
return WebhookTestResponseUioToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function WebhookTestResponseUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'eventId': value['eventId'],
|
|
49
|
+
};
|
|
50
|
+
}
|
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';
|
|
@@ -648,6 +659,12 @@ export * from './UserIdentifierRequestUio';
|
|
|
648
659
|
export * from './UserIdentifierUio';
|
|
649
660
|
export * from './UserLockRequestUio';
|
|
650
661
|
export * from './UserUpdateRequestUio';
|
|
662
|
+
export * from './WebhookEndpointUio';
|
|
663
|
+
export * from './WebhookEndpointUpdateUio';
|
|
664
|
+
export * from './WebhookEventListUio';
|
|
665
|
+
export * from './WebhookEventUio';
|
|
666
|
+
export * from './WebhookTestRequestUio';
|
|
667
|
+
export * from './WebhookTestResponseUio';
|
|
651
668
|
export * from './WorkspaceFileContentUio';
|
|
652
669
|
export * from './WorkspaceFileEntryUio';
|
|
653
670
|
export * from './WorkspaceFileWriteRequestUio';
|
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);
|
|
@@ -666,6 +677,12 @@ __exportStar(require("./UserIdentifierRequestUio"), exports);
|
|
|
666
677
|
__exportStar(require("./UserIdentifierUio"), exports);
|
|
667
678
|
__exportStar(require("./UserLockRequestUio"), exports);
|
|
668
679
|
__exportStar(require("./UserUpdateRequestUio"), exports);
|
|
680
|
+
__exportStar(require("./WebhookEndpointUio"), exports);
|
|
681
|
+
__exportStar(require("./WebhookEndpointUpdateUio"), exports);
|
|
682
|
+
__exportStar(require("./WebhookEventListUio"), exports);
|
|
683
|
+
__exportStar(require("./WebhookEventUio"), exports);
|
|
684
|
+
__exportStar(require("./WebhookTestRequestUio"), exports);
|
|
685
|
+
__exportStar(require("./WebhookTestResponseUio"), exports);
|
|
669
686
|
__exportStar(require("./WorkspaceFileContentUio"), exports);
|
|
670
687
|
__exportStar(require("./WorkspaceFileEntryUio"), exports);
|
|
671
688
|
__exportStar(require("./WorkspaceFileWriteRequestUio"), exports);
|